[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1466493770-11895-2-git-send-email-andrew.smirnov@gmail.com>
Date: Tue, 21 Jun 2016 00:22:36 -0700
From: Andrey Smirnov <andrew.smirnov@...il.com>
To: rtc-linux@...glegroups.com
Cc: Andrey Smirnov <andrew.smirnov@...il.com>,
Alessandro Zummo <a.zummo@...ertech.it>,
Alexandre Belloni <alexandre.belloni@...e-electrons.com>,
linux-kernel@...r.kernel.org, Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>, devicetree@...r.kernel.org,
cphealy@...il.com
Subject: [PATCH v2 03/17] RTC: ds1307: Add devicetree bindings for DS1341
Add devicetree bindings for DS1341 that allow to control settings
affecting power consumption of the chip.
Signed-off-by: Andrey Smirnov <andrew.smirnov@...il.com>
---
.../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
Powered by blists - more mailing lists