From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Cooper Subject: Re: [PATCH 2/2] rtc: rtc-mv: Add the device tree binding documentation Date: Mon, 10 Dec 2012 08:39:14 -0500 Message-ID: <20121210133914.GH21694@titan.lakedaemon.net> References: <1355136122-30729-1-git-send-email-gregory.clement@free-electrons.com> <1355136122-30729-3-git-send-email-gregory.clement@free-electrons.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1355136122-30729-3-git-send-email-gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Gregory CLEMENT Cc: Lior Amsalem , Andrew Lunn , Ike Pan , David Marlin , Yehuda Yitschak , Jani Monoses , rtc-linux-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org, Tawfik Bayouk , Dan Frazier , Eran Ben-Avi , Leif Lindholm , Sebastian Hesselbarth , Chris Van Hoof , Jon Masters , devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Rob Herring , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Thomas Petazzoni , Alessandro Zummo , Maen Suleiman , Nadav Haklai , Shadi Ammouri List-Id: devicetree@vger.kernel.org On Mon, Dec 10, 2012 at 11:42:02AM +0100, Gregory CLEMENT wrote: > The support was already written, but the binding documentation was > lacking. Thanks for doing this, Gregory. I missed this the first time around when we added the DT bindings to the rtc driver. thx, Jason. > > Signed-off-by: Gregory CLEMENT > --- > .../devicetree/bindings/rtc/orion-rtc.txt | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > create mode 100644 Documentation/devicetree/bindings/rtc/orion-rtc.txt > > diff --git a/Documentation/devicetree/bindings/rtc/orion-rtc.txt b/Documentation/devicetree/bindings/rtc/orion-rtc.txt > new file mode 100644 > index 0000000..3bf63ff > --- /dev/null > +++ b/Documentation/devicetree/bindings/rtc/orion-rtc.txt > @@ -0,0 +1,18 @@ > +* Mvebu Real Time Clock > + > +RTC controller for the Kirkwood, the Dove, the Armada 370 and the > +Armada XP SoCs > + > +Required properties: > +- compatible : Should be "marvell,orion-rtc" > +- reg: physical base address of the controller and length of memory mapped > + region. > +- interrupts: IRQ line for the RTC. > + > +Example: > + > +rtc@10300 { > + compatible = "marvell,orion-rtc"; > + reg = <0xd0010300 0x20>; > + interrupts = <50>; > +}; > -- > 1.7.9.5 >