linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
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/3] dt-bindings: rtc: sd3078: add device tree documentation
Date: Wed, 14 Nov 2018 17:17:57 +0800	[thread overview]
Message-ID: <1542187077-9488-3-git-send-email-long17.cool@163.com> (raw)
In-Reply-To: <1542187077-9488-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         |   13 +++++++++++++
 1 file changed, 13 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..676cee8
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/rtc-sd3078.txt
@@ -0,0 +1,13 @@
+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>;
+};
-- 
1.7.9.5



  parent reply	other threads:[~2018-11-14  9:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-14  9:17 [PATCH 1/3] dt-bindings: define vendor prefix for whwave, Inc zoro
2018-11-14  9:17 ` [PATCH 2/3] rtc: sd3078: new driver zoro
2018-11-14  9:17 ` zoro [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-11-23 10:14 [PATCH 1/3] dt-bindings: define vendor prefix for whwave, Inc zoro
2018-11-23 10:14 ` [PATCH 3/3] dt-bindings: rtc: sd3078: add device tree documentation zoro
2018-12-11 21:40   ` Rob Herring
2018-11-12 18:03 [PATCH 1/3] dt-bindings: define vendor prefix for whwave, Inc zoro
2018-11-12 18:03 ` [PATCH 3/3] dt-bindings: rtc: sd3078: add device tree documentation zoro
2018-11-10  8:43 [PATCH 1/3] dt-bindings: define vendor prefix for whwave, Inc zoro
2018-11-10  8:43 ` [PATCH 3/3] dt-bindings: rtc: sd3078: add device tree documentation zoro

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=1542187077-9488-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 \
    --subject='Re: [PATCH 3/3] dt-bindings: rtc: sd3078: add device tree documentation' \
    /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

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).