All of lore.kernel.org
 help / color / mirror / Atom feed
From: <ying.zhang22455@nxp.com>
To: <rtc-linux@googlegroups.com>
Cc: <jiafei.pan@nxp.com>, Zhang Ying-22455 <ying.zhang22455@nxp.com>
Subject: [rtc-linux] [PATCH] drivers/rtc/rtc-pcf85263.c: add support for devicetree
Date: Wed, 6 Sep 2017 13:44:03 +0800	[thread overview]
Message-ID: <20170906054403.18567-1-ying.zhang22455@nxp.com> (raw)

From: Zhang Ying-22455 <ying.zhang22455@nxp.com>

Add compatible string "nxp,rtc-pcf85263"
Document the binding

Signed-off-by: Zhang Ying-22455 <ying.zhang22455@nxp.com>
---
 Documentation/devicetree/bindings/rtc/nxp,rtc-85263.txt | 15 +++++++++++++++
 1 file changed, 15 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/nxp,rtc-85263.txt

diff --git a/Documentation/devicetree/bindings/rtc/nxp,rtc-85263.txt b/Documentation/devicetree/bindings/rtc/nxp,rtc-85263.txt
new file mode 100644
index 000000000000..d2ffd3626f5c
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/nxp,rtc-85263.txt
@@ -0,0 +1,15 @@
+NXP PCF85263 SPI Real Time Clock
+
+Required properties:
+- compatible: should be: "nxp,rtc-pcf85263"
+- reg: should be the SPI slave chipselect address
+
+Optional properties:
+- spi-cs-high: PCF85263 needs chipselect high
+
+Example:
+
+rtc: nxp,rtc-pcf85263@51 {
+	compatible = "nxp,rtc-pcf85263"
+	reg = <51>
+};
-- 
2.14.1

-- 
You received this message because you are subscribed to "rtc-linux".
Membership options at http://groups.google.com/group/rtc-linux .
Please read http://groups.google.com/group/rtc-linux/web/checklist
before submitting a driver.
--- 
You received this message because you are subscribed to the Google Groups "rtc-linux" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtc-linux+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

             reply	other threads:[~2017-09-06  6:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-06  5:44 ying.zhang22455 [this message]
2017-09-15 23:21 ` [rtc-linux] [PATCH] drivers/rtc/rtc-pcf85263.c: add support for devicetree 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=20170906054403.18567-1-ying.zhang22455@nxp.com \
    --to=ying.zhang22455@nxp.com \
    --cc=jiafei.pan@nxp.com \
    --cc=rtc-linux@googlegroups.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.