public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Mark Rutland <mark.rutland@arm.com>
To: Suneel Garapati <suneel.garapati@xilinx.com>
Cc: "rtc-linux@googlegroups.com" <rtc-linux@googlegroups.com>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Alessandro Zummo <a.zummo@towertech.it>,
	"michals@xilinx.com" <michals@xilinx.com>,
	"sorenb@xilinx.com" <sorenb@xilinx.com>
Subject: Re: [PATCH 1/2] devicetree: bindings: rtc: add bindings for xilinx zynqmp rtc
Date: Thu, 23 Jul 2015 12:55:55 +0100	[thread overview]
Message-ID: <20150723115555.GC12330@leverpostej> (raw)
In-Reply-To: <1437648710-6857-1-git-send-email-suneel.garapati@xilinx.com>

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 <suneel.garapati@xilinx.com>
> ---
>  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
> 

      parent reply	other threads:[~2015-07-23 11:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-23 10:51 [PATCH 1/2] devicetree: bindings: rtc: add bindings for xilinx zynqmp rtc Suneel Garapati
2015-07-23 10:51 ` [PATCH 2/2] drivers: rtc: add xilinx zynqmp rtc driver Suneel Garapati
2015-07-23 11:55 ` Mark Rutland [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150723115555.GC12330@leverpostej \
    --to=mark.rutland@arm.com \
    --cc=a.zummo@towertech.it \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=michals@xilinx.com \
    --cc=rtc-linux@googlegroups.com \
    --cc=sorenb@xilinx.com \
    --cc=suneel.garapati@xilinx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox