aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/iio/adc/lpc32xx-adc.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/devicetree/bindings/iio/adc/lpc32xx-adc.txt')
-rw-r--r--Documentation/devicetree/bindings/iio/adc/lpc32xx-adc.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/lpc32xx-adc.txt b/Documentation/devicetree/bindings/iio/adc/lpc32xx-adc.txt
new file mode 100644
index 000000000000..3a1bc669bd51
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/adc/lpc32xx-adc.txt
@@ -0,0 +1,21 @@
+* NXP LPC32xx SoC ADC controller
+
+Required properties:
+- compatible: must be "nxp,lpc3220-adc"
+- reg: physical base address of the controller and length of memory mapped
+ region.
+- interrupts: The ADC interrupt
+
+Optional:
+ - vref-supply: The regulator supply ADC reference voltage, optional
+ for legacy reason, but highly encouraging to us in new device tree
+
+Example:
+
+ adc@40048000 {
+ compatible = "nxp,lpc3220-adc";
+ reg = <0x40048000 0x1000>;
+ interrupt-parent = <&mic>;
+ interrupts = <39 0>;
+ vref-supply = <&vcc>;
+ };