Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752616AbdLFVyl (ORCPT ); Wed, 6 Dec 2017 16:54:41 -0500 Received: from mail-oi0-f68.google.com ([209.85.218.68]:34114 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751827AbdLFVyi (ORCPT ); Wed, 6 Dec 2017 16:54:38 -0500 X-Google-Smtp-Source: AGs4zMbl1+w/PA5n1EMym3UiwSSAtjVnX2Mjytoap7XY5MYnru4GJHvVYDs0AgsF2ft2B0hVp6mnPw== Date: Wed, 6 Dec 2017 15:54:36 -0600 From: Rob Herring To: linux-kernel-dev@beckhoff.com Cc: Shawn Guo , Sascha Hauer , Alessandro Zummo , Alexandre Belloni , Patrick Bruenn , Patrick Bruenn , Mark Rutland , "open list:REAL TIME CLOCK (RTC) SUBSYSTEM" , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , open list , Fabio Estevam , Juergen Borleis , Noel Vellemans , Russell King , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , Philippe Ombredanne , Lothar =?iso-8859-1?Q?Wa=DFmann?= Subject: Re: [PATCH v2 1/5] dt-bindings: rtc: add bindings for i.MX53 SRTC Message-ID: <20171206215436.lwttn445wjilh3wo@rob-hp-laptop> References: <20171205140646.30367-1-linux-kernel-dev@beckhoff.com> <20171205140646.30367-2-linux-kernel-dev@beckhoff.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171205140646.30367-2-linux-kernel-dev@beckhoff.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2348 Lines: 64 On Tue, Dec 05, 2017 at 03:06:42PM +0100, linux-kernel-dev@beckhoff.com wrote: > From: Patrick Bruenn > > Document the binding for i.MX53 SRTC implemented by rtc-mxc_v2 > > Signed-off-by: Patrick Bruenn > > --- > > To: Alessandro Zummo > To: Alexandre Belloni > > Cc: Rob Herring > Cc: Mark Rutland (maintainer:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) > Cc: linux-rtc@vger.kernel.org (open list:REAL TIME CLOCK (RTC) SUBSYSTEM) > Cc: devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS) > Cc: linux-kernel@vger.kernel.org (open list) > Cc: Fabio Estevam > Cc: Juergen Borleis > Cc: Noel Vellemans > Cc: Shawn Guo > Cc: Sascha Hauer (maintainer:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE) > Cc: Russell King (maintainer:ARM PORT) > Cc: linux-arm-kernel@lists.infradead.org (moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE) > > Cc: Philippe Ombredanne > Cc: Lothar Wa?mann > --- > 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