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