Commit 816abe42 authored by Tomer Maimon's avatar Tomer Maimon Committed by Jonathan Cameron

dt-binding: iio: add NPCM ADC reset support

Add NPCM ADC reset binding documentation.
Signed-off-by: default avatarTomer Maimon <tmaimon77@gmail.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarJonathan Cameron <Jonathan.Cameron@huawei.com>
parent 5e00708d
...@@ -6,6 +6,7 @@ Required properties: ...@@ -6,6 +6,7 @@ Required properties:
- compatible: "nuvoton,npcm750-adc" for the NPCM7XX BMC. - compatible: "nuvoton,npcm750-adc" for the NPCM7XX BMC.
- reg: specifies physical base address and size of the registers. - reg: specifies physical base address and size of the registers.
- interrupts: Contain the ADC interrupt with flags for falling edge. - interrupts: Contain the ADC interrupt with flags for falling edge.
- resets : phandle to the reset control for this device.
Optional properties: Optional properties:
- clocks: phandle of ADC reference clock, in case the clock is not - clocks: phandle of ADC reference clock, in case the clock is not
...@@ -21,4 +22,5 @@ adc: adc@f000c000 { ...@@ -21,4 +22,5 @@ adc: adc@f000c000 {
reg = <0xf000c000 0x8>; reg = <0xf000c000 0x8>;
interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&clk NPCM7XX_CLK_ADC>; clocks = <&clk NPCM7XX_CLK_ADC>;
resets = <&rstc NPCM7XX_RESET_IPSRST1 NPCM7XX_RESET_ADC>;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment