From: Rob Herring <robh@kernel.org>
To: Jan Kotas <jank@cadence.com>
Cc: a.zummo@towertech.it, alexandre.belloni@bootlin.com,
mark.rutland@arm.com, linux-rtc@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 1/2] dt-bindings: rtc: Add bindings for Cadence RTC
Date: Wed, 16 Jan 2019 15:08:06 -0600 [thread overview]
Message-ID: <20190116210806.GA21535@bogus> (raw)
In-Reply-To: <20190111151401.25047-2-jank@cadence.com>
On Fri, Jan 11, 2019 at 03:14:00PM +0000, Jan Kotas wrote:
> This patch adds a DT binding documentation for
> Cadence RTC controller.
>
> Signed-off-by: Jan Kotas <jank@cadence.com>
> ---
> Documentation/devicetree/bindings/rtc/cdns,rtc.txt | 25 ++++++++++++++++++++++
> 1 file changed, 25 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/rtc/cdns,rtc.txt
>
> diff --git a/Documentation/devicetree/bindings/rtc/cdns,rtc.txt b/Documentation/devicetree/bindings/rtc/cdns,rtc.txt
> new file mode 100644
> index 000000000..40713bbbe
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/rtc/cdns,rtc.txt
> @@ -0,0 +1,25 @@
> +Cadence Real Time Clock
> +
> +The Cadence RTC controller with date, time and alarm capabilities.
> +The alarm may wake the system from low-power state.
> +
> +Required properties:
> +- compatible: Should be "cdns,rtc-r109v3"
> +- reg: Specifies base physical address and size of the register area.
> +- interrupts: A single interrupt specifier.
> +- clocks: Must contain two entries:
> + - pclk: APB registers clock
> + - ref_clk: reference 1Hz of 100Hz clock, depending on IP configuration
1Hz OR 100Hz?
> + See ../clocks/clock-bindings.txt for details.
> +
> +Example:
> + rtc0: rtc@fd080000 {
> + compatible = "cdns,rtc-r109v3";
> + reg = <0xfd080000 0x1000>;
> +
> + clock-names = "pclk", "ref_clk";
> + clocks = <&sysclock>, <&refclock>;
> +
> + interrupt-parent = <&gic>;
> + interrupts = <0 6 IRQ_TYPE_LEVEL_HIGH>;
> + };
> --
> 2.15.0
>
next prev parent reply other threads:[~2019-01-16 21:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-11 15:13 [PATCH v2 0/2] rtc: Add a driver for Cadence RTC Jan Kotas
2019-01-11 15:14 ` [PATCH v2 1/2] dt-bindings: rtc: Add bindings " Jan Kotas
2019-01-16 21:08 ` Rob Herring [this message]
2019-01-17 10:46 ` Jan Kotas
2019-01-17 12:08 ` Alexandre Belloni
2019-01-11 15:14 ` [PATCH v2 2/2] rtc: Add Cadence RTC driver Jan Kotas
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=20190116210806.GA21535@bogus \
--to=robh@kernel.org \
--cc=a.zummo@towertech.it \
--cc=alexandre.belloni@bootlin.com \
--cc=devicetree@vger.kernel.org \
--cc=jank@cadence.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=mark.rutland@arm.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;
as well as URLs for NNTP newsgroup(s).