Merge branch 'core-objtool-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[linux-block.git] / Documentation / devicetree / bindings / iio / adc / nuvoton,npcm-adc.txt
CommitLineData
1e1ab0b9
TM
1Nuvoton NPCM Analog to Digital Converter (ADC)
2
3The NPCM ADC is a 10-bit converter for eight channel inputs.
4
5Required properties:
6- compatible: "nuvoton,npcm750-adc" for the NPCM7XX BMC.
7- reg: specifies physical base address and size of the registers.
8- interrupts: Contain the ADC interrupt with flags for falling edge.
816abe42 9- resets : phandle to the reset control for this device.
1e1ab0b9
TM
10
11Optional properties:
12- clocks: phandle of ADC reference clock, in case the clock is not
13 added the ADC will use the default ADC sample rate.
14- vref-supply: The regulator supply ADC reference voltage, in case the
15 vref-supply is not added the ADC will use internal voltage
16 reference.
17
1e1ab0b9
TM
18Example:
19
20adc: adc@f000c000 {
21 compatible = "nuvoton,npcm750-adc";
22 reg = <0xf000c000 0x8>;
23 interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
24 clocks = <&clk NPCM7XX_CLK_ADC>;
816abe42 25 resets = <&rstc NPCM7XX_RESET_IPSRST1 NPCM7XX_RESET_ADC>;
1e1ab0b9 26};