devicetree: da9062: Add device tree bindings for DA9062 RTC
authorS Twiss <stwiss.opensource@diasemi.com>
Tue, 21 Jul 2015 10:29:06 +0000 (11:29 +0100)
committerLee Jones <lee.jones@linaro.org>
Tue, 11 Aug 2015 14:08:58 +0000 (15:08 +0100)
Add device tree bindings for the DA9062 RTC driver component

Signed-off-by: Steve Twiss <stwiss.opensource@diasemi.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Documentation/devicetree/bindings/mfd/da9062.txt

index 5765ed9915378a234244e7401f9643cdde351120..38802b54d48a4aef15a33c632050549fb9eb3707 100644 (file)
@@ -5,6 +5,7 @@ DA9062 consists of a large and varied group of sub-devices:
 Device                   Supply Names    Description
 ------                   ------------    -----------
 da9062-regulator        :               : LDOs & BUCKs
+da9062-rtc              :               : Real-Time Clock
 da9062-watchdog         :               : Watchdog Timer
 
 ======
@@ -41,6 +42,10 @@ Sub-nodes:
   Documentation/devicetree/bindings/regulator/regulator.txt
 
 
+- rtc : This node defines settings required for the Real-Time Clock associated
+  with the DA9062. There are currently no entries in this binding, however
+  compatible = "dlg,da9062-rtc" should be added if a node is created.
+
 - watchdog: This node defines the settings for the watchdog driver associated
   with the DA9062 PMIC. The compatible = "dlg,da9062-watchdog" should be added
   if a node is created.
@@ -55,6 +60,10 @@ Example:
                interrupts = <11 IRQ_TYPE_LEVEL_LOW>;
                interrupt-controller;
 
+               rtc {
+                       compatible = "dlg,da9062-rtc";
+               };
+
                watchdog {
                        compatible = "dlg,da9062-watchdog";
                };