Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752383AbbGWL43 (ORCPT ); Thu, 23 Jul 2015 07:56:29 -0400 Received: from foss.arm.com ([217.140.101.70]:40089 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751325AbbGWL4V (ORCPT ); Thu, 23 Jul 2015 07:56:21 -0400 Date: Thu, 23 Jul 2015 12:55:55 +0100 From: Mark Rutland To: Suneel Garapati Cc: "rtc-linux@googlegroups.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , Alessandro Zummo , "michals@xilinx.com" , "sorenb@xilinx.com" Subject: Re: [PATCH 1/2] devicetree: bindings: rtc: add bindings for xilinx zynqmp rtc Message-ID: <20150723115555.GC12330@leverpostej> References: <1437648710-6857-1-git-send-email-suneel.garapati@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1437648710-6857-1-git-send-email-suneel.garapati@xilinx.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2056 Lines: 63 On Thu, Jul 23, 2015 at 11:51:49AM +0100, Suneel Garapati wrote: > adds file for description on device node bindings for RTC > found on Xilinx Zynq Ultrascale+ MPSoC. > > Signed-off-by: Suneel Garapati > --- > Documentation/devicetree/bindings/rtc/xlnx-rtc.txt | 25 ++++++++++++++++++++++ > 1 file changed, 25 insertions(+) > create mode 100644 Documentation/devicetree/bindings/rtc/xlnx-rtc.txt > > diff --git a/Documentation/devicetree/bindings/rtc/xlnx-rtc.txt b/Documentation/devicetree/bindings/rtc/xlnx-rtc.txt > new file mode 100644 > index 0000000..2b05243 > --- /dev/null > +++ b/Documentation/devicetree/bindings/rtc/xlnx-rtc.txt > @@ -0,0 +1,25 @@ > +* Xilinx Zynq Ultrascale+ MPSoC Real Time Clock > + > +RTC controller for the Xilinx Zynq MPSoC Real Time Clock > +Separate IRQ lines for seconds and alarm > + > +Required properties: > +- compatible: Should be "xlnx,zynqmp-rtc" > +- reg: Physical base address of the controller and length > + of memory mapped region. > +- interrupts: IRQ lines for the RTC. > +- interrupt names: Names for interrupt lines interrupt-names has a '-', and you need to state which names are expected. > + > +Optional: > +- calibration: calibration value for 1 sec period which will > + be programmed directly to calibration register When and why would I set this? Mark. > + > +Example: > +rtc: rtc@ffa60000 { > + compatible = "xlnx,zynqmp-rtc"; > + reg = <0x0 0xffa60000 0x100>; > + interrupt-parent = <&gic>; > + interrupts = <0 26 4>, <0 27 4>; > + interrupt-names = "alm", "sec"; > + calibration = <0x198233>; > +}; > -- > 2.1.2 > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel > -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/