dt: document NXP LPC1850 DAC driver bindings
authorJoachim Eastwood <manabian@gmail.com>
Sat, 12 Mar 2016 12:30:17 +0000 (13:30 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sun, 20 Mar 2016 10:26:57 +0000 (10:26 +0000)
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/iio/dac/lpc1850-dac.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/iio/dac/lpc1850-dac.txt b/Documentation/devicetree/bindings/iio/dac/lpc1850-dac.txt
new file mode 100644 (file)
index 0000000..7d6647d
--- /dev/null
@@ -0,0 +1,20 @@
+NXP LPC1850 DAC bindings
+
+Required properties:
+- compatible: Should be "nxp,lpc1850-dac"
+- reg: Offset and length of the register set for the ADC device
+- interrupts: The interrupt number for the ADC device
+- clocks: The root clock of the ADC controller
+- vref-supply: The regulator supply ADC reference voltage
+- resets: phandle to reset controller and line specifier
+
+Example:
+dac: dac@400e1000 {
+       compatible = "nxp,lpc1850-dac";
+       reg = <0x400e1000 0x1000>;
+       interrupts = <0>;
+       clocks = <&ccu1 CLK_APB3_DAC>;
+       vref-supply = <&reg_vdda>;
+       resets = <&rgu 42>;
+       status = "disabled";
+};