diff options
author | Joachim Eastwood <manabian@gmail.com> | 2016-03-12 13:30:15 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-03-12 19:11:52 +0100 |
commit | edcb2d26c10206b35a5736139f5dce02fc4bbdc9 (patch) | |
tree | feae76e1dbd4c1c167cbdbbbd9af2b2f3f529066 /Documentation | |
parent | iio: adc: add NXP LPC18xx ADC driver (diff) | |
download | linux-edcb2d26c10206b35a5736139f5dce02fc4bbdc9.tar.xz linux-edcb2d26c10206b35a5736139f5dce02fc4bbdc9.zip |
dt: document NXP LPC1850 ADC driver bindings
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/iio/adc/lpc1850-adc.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/adc/lpc1850-adc.txt b/Documentation/devicetree/bindings/iio/adc/lpc1850-adc.txt new file mode 100644 index 000000000000..0bcae5140bc5 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/lpc1850-adc.txt @@ -0,0 +1,21 @@ +NXP LPC1850 ADC bindings + +Required properties: +- compatible: Should be "nxp,lpc1850-adc" +- 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: + +adc0: adc@400e3000 { + compatible = "nxp,lpc1850-adc"; + reg = <0x400e3000 0x1000>; + interrupts = <17>; + clocks = <&ccu1 CLK_APB3_ADC0>; + vref-supply = <®_vdda>; + resets = <&rgu 40>; + status = "disabled"; +}; |