From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jonathan Cameron Subject: Re: [PATCH] iio: at91: document ADC clock properties Date: Sun, 22 Dec 2013 18:05:49 +0000 Message-ID: <52B729FD.7020507@kernel.org> References: <1387296973-7779-1-git-send-email-b.brezillon@overkiz.com> <52B316A9.1060407@atmel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <52B316A9.1060407-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> Sender: linux-iio-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Nicolas Ferre , Boris BREZILLON , Rob Landley Cc: Arnd Bergmann , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: devicetree@vger.kernel.org On 12/19/13 15:54, Nicolas Ferre wrote: > On 17/12/2013 17:16, Boris BREZILLON : >> Document the clock properties required by the at91 ADC driver. >> >> Signed-off-by: Boris BREZILLON > > Acked-by: Nicolas Ferre Looks fine to me. I'm just waiting on an ack from a device tree maintainer (or the 3 weeks to pass so I can pick it up anyway ;) > >> --- >> .../devicetree/bindings/arm/atmel-adc.txt | 5 +++++ >> 1 file changed, 5 insertions(+) >> >> diff --git a/Documentation/devicetree/bindings/arm/atmel-adc.txt b/Documentation/devicetree/bindings/arm/atmel-adc.txt >> index d106146..9a1175b 100644 >> --- a/Documentation/devicetree/bindings/arm/atmel-adc.txt >> +++ b/Documentation/devicetree/bindings/arm/atmel-adc.txt >> @@ -5,6 +5,9 @@ Required properties: >> can be "at91sam9260", "at91sam9g45" or "at91sam9x5" >> - reg: Should contain ADC registers location and length >> - interrupts: Should contain the IRQ line for the ADC >> + - clock-names: tuple listing input clock names. >> + Required elements: "adc_clk", "adc_op_clk". >> + - clocks: phandles to input clocks. >> - atmel,adc-channels-used: Bitmask of the channels muxed and enable for this >> device >> - atmel,adc-startup-time: Startup Time of the ADC in microseconds as >> @@ -44,6 +47,8 @@ adc0: adc@fffb0000 { >> compatible = "atmel,at91sam9260-adc"; >> reg = <0xfffb0000 0x100>; >> interrupts = <20 4>; >> + clocks = <&adc_clk>, <&adc_op_clk>; >> + clock-names = "adc_clk", "adc_op_clk"; >> atmel,adc-channel-base = <0x30>; >> atmel,adc-channels-used = <0xff>; >> atmel,adc-drdy-mask = <0x10000>; >> > >