Skip to content

Commit 1a5b7d4

Browse files
Boris BREZILLONjic23
authored andcommitted
iio: at91: document ADC clock properties
Document the clock properties required by the at91 ADC driver. Signed-off-by: Boris Brezillon <b.brezillon@overkiz.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
1 parent 4a2bbdb commit 1a5b7d4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Documentation/devicetree/bindings/arm/atmel-adc.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ Required properties:
55
<chip> can be "at91sam9260", "at91sam9g45" or "at91sam9x5"
66
- reg: Should contain ADC registers location and length
77
- interrupts: Should contain the IRQ line for the ADC
8+
- clock-names: tuple listing input clock names.
9+
Required elements: "adc_clk", "adc_op_clk".
10+
- clocks: phandles to input clocks.
811
- atmel,adc-channels-used: Bitmask of the channels muxed and enable for this
912
device
1013
- atmel,adc-startup-time: Startup Time of the ADC in microseconds as
@@ -44,6 +47,8 @@ adc0: adc@fffb0000 {
4447
compatible = "atmel,at91sam9260-adc";
4548
reg = <0xfffb0000 0x100>;
4649
interrupts = <20 4>;
50+
clocks = <&adc_clk>, <&adc_op_clk>;
51+
clock-names = "adc_clk", "adc_op_clk";
4752
atmel,adc-channel-base = <0x30>;
4853
atmel,adc-channels-used = <0xff>;
4954
atmel,adc-drdy-mask = <0x10000>;

0 commit comments

Comments
 (0)