All of lore.kernel.org
 help / color / mirror / Atom feed
* [rtc-linux] [PATCH] drivers/rtc/rtc-pcf85263.c: add support for devicetree
@ 2017-09-06  5:44 ying.zhang22455
  2017-09-15 23:21 ` Alexandre Belloni
  0 siblings, 1 reply; 2+ messages in thread
From: ying.zhang22455 @ 2017-09-06  5:44 UTC (permalink / raw)
  To: rtc-linux; +Cc: jiafei.pan, Zhang Ying-22455

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.

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-15 23:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-06  5:44 [rtc-linux] [PATCH] drivers/rtc/rtc-pcf85263.c: add support for devicetree ying.zhang22455
2017-09-15 23:21 ` Alexandre Belloni

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.