From: Ivan Mikhaylov <i.mikhaylov@yadro.com>
To: Alessandro Zummo <a.zummo@towertech.it>,
Alexandre Belloni <alexandre.belloni@bootlin.com>
Cc: Ivan Mikhaylov <i.mikhaylov@yadro.com>,
openbmc@lists.ozlabs.org, linux-kernel@vger.kernel.org
Subject: [PATCH 2/2] dt-bindings: rtc: provide RTC PCH device tree binding doc
Date: Tue, 10 Aug 2021 18:44:36 +0300 [thread overview]
Message-ID: <20210810154436.125678-3-i.mikhaylov@yadro.com> (raw)
In-Reply-To: <20210810154436.125678-1-i.mikhaylov@yadro.com>
Add I2C Intel Series PCH built-in read-only RTC driver documentation.
Signed-off-by: Ivan Mikhaylov <i.mikhaylov@yadro.com>
---
.../bindings/rtc/intel,pch-rtc.yaml | 39 +++++++++++++++++++
1 file changed, 39 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rtc/intel,pch-rtc.yaml
diff --git a/Documentation/devicetree/bindings/rtc/intel,pch-rtc.yaml b/Documentation/devicetree/bindings/rtc/intel,pch-rtc.yaml
new file mode 100644
index 000000000000..f49867257f93
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/intel,pch-rtc.yaml
@@ -0,0 +1,39 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/rtc/intel,pch-rtc.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Intel Series PCH built-in read-only RTC
+
+maintainers:
+ - Ivan Mikhaylov <i.mikhaylov@yadro.com>
+
+allOf:
+ - $ref: rtc.yaml#
+
+properties:
+ compatible:
+ enum:
+ - intel,pch-rtc
+
+ reg:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+
+additionalProperties: false
+
+examples:
+ - |
+ i2c {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ rtc@0 {
+ compatible = "intel,pch-rtc";
+ reg = <0x44>;
+ };
+ };
--
2.31.1
next prev parent reply other threads:[~2021-08-10 15:36 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-10 15:44 [PATCH 0/2] rtc: pch-rtc: add Intel Series PCH built-in read-only RTC Ivan Mikhaylov
2021-08-10 15:44 ` [PATCH 1/2] rtc: pch-rtc: add RTC driver for Intel Series PCH Ivan Mikhaylov
2021-08-14 22:52 ` Paul Fertser
2021-08-20 12:34 ` Ivan Mikhaylov
2021-09-25 22:24 ` Alexandre Belloni
2021-08-10 15:44 ` Ivan Mikhaylov [this message]
2021-08-14 22:42 ` [PATCH 0/2] rtc: pch-rtc: add Intel Series PCH built-in read-only RTC Paul Fertser
2021-08-14 23:22 ` Alexandre Belloni
2021-08-17 18:04 ` Milton Miller II
2021-08-17 20:05 ` Alexandre Belloni
2021-08-30 11:56 ` Ivan Mikhaylov
2021-09-14 23:52 ` Ivan Mikhaylov
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=20210810154436.125678-3-i.mikhaylov@yadro.com \
--to=i.mikhaylov@yadro.com \
--cc=a.zummo@towertech.it \
--cc=alexandre.belloni@bootlin.com \
--cc=linux-kernel@vger.kernel.org \
--cc=openbmc@lists.ozlabs.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).