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

Documentation: add the binding file for Freescale imx7d ADC driver

The patch adds the binding file for Freescale imx7d ADC driver.

Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

authored by

Haibo Chen and committed by
Jonathan Cameron
50672011 16846ebe

+22
+22
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 + 14 + Example: 15 + adc1: adc@30610000 { 16 + compatible = "fsl,imx7d-adc"; 17 + reg = <0x30610000 0x10000>; 18 + interrupts = <GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>; 19 + clocks = <&clks IMX7D_ADC_ROOT_CLK>; 20 + clock-names = "adc"; 21 + vref-supply = <&reg_vcc_3v3_mcu>; 22 + };