Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / iio / adc / imx7d-adc.txt
1 Freescale imx7d ADC bindings
2
3 The devicetree bindings are for the ADC driver written for
4 imx7d SoC.
5
6 Required properties:
7 - compatible: Should be "fsl,imx7d-adc"
8 - reg: Offset and length of the register set for the ADC device
9 - interrupts: The interrupt number for the ADC device
10 - clocks: The root clock of the ADC controller
11 - clock-names: Must contain "adc", matching entry in the clocks property
12 - vref-supply: The regulator supply ADC reference voltage
13 - #io-channel-cells: Must be 1 as per ../iio-bindings.txt
14
15 Example:
16 adc1: adc@30610000 {
17         compatible = "fsl,imx7d-adc";
18         reg = <0x30610000 0x10000>;
19         interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>;
20         clocks = <&clks IMX7D_ADC_ROOT_CLK>;
21         clock-names = "adc";
22         vref-supply = <&reg_vcc_3v3_mcu>;
23         #io-channel-cells = <1>;
24 };