gpio: rcar: Fix runtime PM imbalance on error
[linux/fpc-iii.git] / Documentation / devicetree / bindings / iio / adc / nuvoton,npcm-adc.txt
blobef8eeec1a997f109db7bbea545aefbe181ccfc7d
1 Nuvoton NPCM Analog to Digital Converter (ADC)
3 The NPCM ADC is a 10-bit converter for eight channel inputs.
5 Required 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.
9 - resets : phandle to the reset control for this device.
11 Optional 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.
18 Example:
20 adc: 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>;
25         resets = <&rstc NPCM7XX_RESET_IPSRST1 NPCM7XX_RESET_ADC>;