Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt: document NXP LPC1850 ADC driver bindings

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

authored by

Joachim Eastwood and committed by
Jonathan Cameron
edcb2d26 a583c24d

+21
+21
Documentation/devicetree/bindings/iio/adc/lpc1850-adc.txt
··· 1 + NXP LPC1850 ADC bindings 2 + 3 + Required properties: 4 + - compatible: Should be "nxp,lpc1850-adc" 5 + - reg: Offset and length of the register set for the ADC device 6 + - interrupts: The interrupt number for the ADC device 7 + - clocks: The root clock of the ADC controller 8 + - vref-supply: The regulator supply ADC reference voltage 9 + - resets: phandle to reset controller and line specifier 10 + 11 + Example: 12 + 13 + adc0: adc@400e3000 { 14 + compatible = "nxp,lpc1850-adc"; 15 + reg = <0x400e3000 0x1000>; 16 + interrupts = <17>; 17 + clocks = <&ccu1 CLK_APB3_ADC0>; 18 + vref-supply = <&reg_vdda>; 19 + resets = <&rgu 40>; 20 + status = "disabled"; 21 + };