On Tue, Dec 05, 2017 at 03:06:42PM +0100, linux-kernel-...@beckhoff.com wrote: > From: Patrick Bruenn <p.bru...@beckhoff.com> > > Document the binding for i.MX53 SRTC implemented by rtc-mxc_v2 > > Signed-off-by: Patrick Bruenn <p.bru...@beckhoff.com><Paste> > > --- > > To: Alessandro Zummo <a.zu...@towertech.it> > To: Alexandre Belloni <alexandre.bell...@free-electrons.com> > > Cc: Rob Herring <robh...@kernel.org> > Cc: Mark Rutland <mark.rutl...@arm.com> (maintainer:OPEN FIRMWARE AND > FLATTENED DEVICE TREE BINDINGS) > Cc: linux-...@vger.kernel.org (open list:REAL TIME CLOCK (RTC) SUBSYSTEM) > Cc: devicet...@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE > TREE BINDINGS) > Cc: linux-kernel@vger.kernel.org (open list) > Cc: Fabio Estevam <fabio.este...@nxp.com> > Cc: Juergen Borleis <j...@pengutronix.de> > Cc: Noel Vellemans <noel.vellem...@visionbms.com> > Cc: Shawn Guo <shawn...@kernel.org> > Cc: Sascha Hauer <ker...@pengutronix.de> (maintainer:ARM/FREESCALE IMX / MXC > ARM ARCHITECTURE) > Cc: Russell King <li...@armlinux.org.uk> (maintainer:ARM PORT) > Cc: linux-arm-ker...@lists.infradead.org (moderated list:ARM/FREESCALE IMX / > MXC ARM ARCHITECTURE) > > Cc: Philippe Ombredanne <pombreda...@nexb.com> > Cc: Lothar Waßmann <l...@karo-electronics.de> > --- > Documentation/devicetree/bindings/rtc/rtc-mxc_v2.txt | 17 +++++++++++++++++ > 1 file changed, 17 insertions(+) > create mode 100644 Documentation/devicetree/bindings/rtc/rtc-mxc_v2.txt > > diff --git a/Documentation/devicetree/bindings/rtc/rtc-mxc_v2.txt > b/Documentation/devicetree/bindings/rtc/rtc-mxc_v2.txt > new file mode 100644 > index 000000000000..796e7f4995db > --- /dev/null > +++ b/Documentation/devicetree/bindings/rtc/rtc-mxc_v2.txt > @@ -0,0 +1,17 @@ > +* i.MX53 Real Time Clock controller > + > +Required properties: > +- compatible: should be: "fsl,imx53-rtc" > +- reg: physical base address of the controller and length of memory mapped > + region. > +- clocks: should contain the phandle for the rtc clock
Shouldn't there be more than 1 here. From what I remember, the ipg clock and the 32k clock? > +- interrupts: rtc alarm interrupt > + > +Example: > + > +srtc@53fa4000 { rtc@... > + compatible = "fsl,imx53-rtc"; > + reg = <0x53fa4000 0x4000>; > + interrupts = <24>; > + clocks = <&clks IMX5_CLK_SRTC_GATE>; > +}; > -- > 2.11.0