From: Alexandre Belloni <alexandre.belloni@free-electrons.com>
To: linux-rtc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org, Rob Herring <robh+dt@kernel.org>,
devicetree@vger.kernel.org,
Alexandre Belloni <alexandre.belloni@free-electrons.com>
Subject: [PATCH v2 2/6] dt-bindings: rtc: add stericsson,coh901331 bindings
Date: Wed, 27 Sep 2017 16:03:41 +0200 [thread overview]
Message-ID: <20170927140345.5537-3-alexandre.belloni@free-electrons.com> (raw)
In-Reply-To: <20170927140345.5537-1-alexandre.belloni@free-electrons.com>
Add device tree bindings for the ST-Ericsson COH 901 331 Real Time Clock
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
---
.../devicetree/bindings/rtc/stericsson,coh901331.txt | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rtc/stericsson,coh901331.txt
diff --git a/Documentation/devicetree/bindings/rtc/stericsson,coh901331.txt b/Documentation/devicetree/bindings/rtc/stericsson,coh901331.txt
new file mode 100644
index 000000000000..3ebeb311335f
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/stericsson,coh901331.txt
@@ -0,0 +1,17 @@
+ST-Ericsson COH 901 331 Real Time Clock
+
+Required properties:
+- compatible: must be "stericsson,coh901331"
+- reg: address range of rtc register set.
+- interrupt-parent: phandle for the interrupt controller.
+- interrupts: rtc alarm interrupt.
+- clocks: phandle to the rtc clock source
+
+Example:
+ rtc: rtc@c0017000 {
+ compatible = "stericsson,coh901331";
+ reg = <0xc0017000 0x1000>;
+ interrupt-parent = <&vicb>;
+ interrupts = <10>;
+ clocks = <&rtc_clk>;
+ };
--
2.14.2
next prev parent reply other threads:[~2017-09-27 14:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-27 14:03 [PATCH v2 0/6] dt-bindings: rtc: document existing bindings Alexandre Belloni
2017-09-27 14:03 ` [PATCH v2 1/6] dt-bindings: trivial: Add RTCs Alexandre Belloni
2017-09-27 14:03 ` Alexandre Belloni [this message]
[not found] ` <20170927140345.5537-1-alexandre.belloni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>
2017-09-27 14:03 ` [PATCH v2 3/6] dt-bindings: rtc: Add sirf,prima2-sysrtc bindings Alexandre Belloni
2017-09-27 14:03 ` [PATCH v2 4/6] dt-bindings: rtc: DS1307 and compatibles are not trivial Alexandre Belloni
2017-09-27 14:03 ` [PATCH v2 5/6] dt-bindings: rtc: Add bindings for m41t80 and compatibles Alexandre Belloni
2017-09-27 14:03 ` [PATCH v2 6/6] dt-bindings: rtc: merge ds1339 in ds1307 documentation Alexandre Belloni
2017-10-05 22:27 ` [PATCH v2 0/6] dt-bindings: rtc: document existing bindings Rob Herring
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=20170927140345.5537-3-alexandre.belloni@free-electrons.com \
--to=alexandre.belloni@free-electrons.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rtc@vger.kernel.org \
--cc=robh+dt@kernel.org \
/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).