Thread (1 message) 1 message, 1 author, 2016-06-21
STALE3706d

[PATCH v2 03/17] RTC: ds1307: Add devicetree bindings for DS1341

From: Andrey Smirnov <hidden>
Date: 2016-06-21 07:26:05
Also in: linux-rtc, lkml
Subsystem: open firmware and flattened device tree bindings, real time clock (rtc) subsystem, the rest · Maintainers: Rob Herring, Krzysztof Kozlowski, Conor Dooley, Alexandre Belloni, Linus Torvalds

Add devicetree bindings for DS1341 that allow to control settings
affecting power consumption of the chip.

Signed-off-by: Andrey Smirnov <redacted>
---
 .../devicetree/bindings/rtc/dallas,ds1341.txt      | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/rtc/dallas,ds1341.txt
diff --git a/Documentation/devicetree/bindings/rtc/dallas,ds1341.txt b/Documentation/devicetree/bindings/rtc/dallas,ds1341.txt
new file mode 100644
index 0000000..7942dd0
--- /dev/null
+++ b/Documentation/devicetree/bindings/rtc/dallas,ds1341.txt
@@ -0,0 +1,23 @@
+* Dallas DS1341		I2C Serial Real-Time Clock
+
+Required properties:
+
+- compatible: Should contain "dallas,ds1341".
+
+- reg: I2C address for chip
+
+Optional properties:
+
+- dallas,disable-oscillator-stop-flag : Boolean. Configure chip to disable oscillator
+  fault detection circuitry. Setting this flag is beneficial for power saving.
+
+- dallas,enable-glitch-filter : Boolean. Configure chip to enable crystal oscillator
+  output glitch filtering. Setting this flag will increase power consumption.
+
+Example:
+	ds1341: rtc@68 {
+		compatible = "dallas,ds1341";
+		dallas,disable-oscillator-stop-flag;
+		dallas,enable-glitch-filter;
+		reg = <0x68>;
+	};
-- 
2.5.5

-- 
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/d/optout.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help