From: zoro <long17.cool@163.com>
To: alexandre.belloni@bootlin.com
Cc: a.zummo@towertech.it, mark.rutland@arm.com,
linux-rtc@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, zoro <long17.cool@163.com>
Subject: [PATCH 3/4] dt-bindings: rtc: sd3078: add device tree documentation
Date: Mon, 12 Nov 2018 13:45:14 +0800 [thread overview]
Message-ID: <1542001514-8167-3-git-send-email-long17.cool@163.com> (raw)
In-Reply-To: <1542001514-8167-1-git-send-email-long17.cool@163.com>
The devicetree documentation for the SD3078 device tree
binding is added with a short example.
Signed-off-by: zoro <long17.cool@163.com>
---
.../devicetree/bindings/rtc/rtc-sd3078.txt | 15 +++++++++++++++
MAINTAINERS | 1 +
2 files changed, 16 insertions(+)
create mode 100644 Documentation/devicetree/bindings/rtc/rtc-sd3078.txt
diff --git a/Documentation/devicetree/bindings/rtc/rtc-sd3078.txt b/Documentation/devicetree/bindings/rtc/rtc-sd3078.txt
new file mode 100644
index 0000000..9b45c8e
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/rtc-sd3078.txt
@@ -0,0 +1,15 @@
+SD3078 Real Time Clock
+============================
+
+Required properties:
+- compatible: Should contain "whwave,sd3078".
+- reg: I2C address for chip.
+
+Example:
+
+sd3078: sd3078@32 {
+ compatible = "whwave,sd3078";
+ reg = <0x32>;
+};
+
+
diff --git a/MAINTAINERS b/MAINTAINERS
index 002fcd7..50c038d 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -16130,6 +16130,7 @@ M: Zoro Li <long17.cool@163.com>
L: linux-rtc@vger.kernel.org
S: Maintained
F: drivers/rtc/rtc-sd3078.c
+F: Documentation/devicetree/bindings/rtc/rtc-sd3078.txt
WIIMOTE HID DRIVER
M: David Herrmann <dh.herrmann@googlemail.com>
--
1.7.9.5
next prev parent reply other threads:[~2018-11-12 5:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-12 5:45 [PATCH 1/4] dt-bindings: define vendor prefix for whwave, Inc zoro
2018-11-12 5:45 ` [PATCH 2/4] rtc: sd3078: new driver zoro
2018-11-12 15:46 ` Alexandre Belloni
2018-11-12 5:45 ` zoro [this message]
2018-11-12 15:49 ` [PATCH 3/4] dt-bindings: rtc: sd3078: add device tree documentation Alexandre Belloni
[not found] ` <201811130055486298716@163.com>
2018-11-12 17:40 ` Alexandre Belloni
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=1542001514-8167-3-git-send-email-long17.cool@163.com \
--to=long17.cool@163.com \
--cc=a.zummo@towertech.it \
--cc=alexandre.belloni@bootlin.com \
--cc=devicetree@vger.kernel.org \
--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).