1 * Ingenic JZ47xx ADC controller IIO bindings
5 - compatible: Should be one of:
9 - reg: ADC controller registers location and length.
10 - clocks: phandle to the SoC's ADC clock.
11 - clock-names: Must be set to "adc".
12 - #io-channel-cells: Must be set to <1> to indicate channels are selected
15 ADC clients must use the format described in iio-bindings.txt, giving
16 a phandle and IIO specifier pair ("io-channels") to the ADC controller.
20 #include <dt-bindings/iio/adc/ingenic,adc.h>
23 compatible = "ingenic,jz4740-adc";
24 #io-channel-cells = <1>;
26 reg = <0x10070000 0x30>;
28 clocks = <&cgu JZ4740_CLK_ADC>;
31 interrupt-parent = <&intc>;
37 compatible = "adc-keys";
38 io-channels = <&adc INGENIC_ADC_AUX>;
39 io-channel-names = "buttons";
45 compatible = "ingenic,jz4740-battery";
46 io-channels = <&adc INGENIC_ADC_BATTERY>;
47 io-channel-names = "battery";