rtc: omap: add support for pmic_power_en
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / rtc / rtc-omap.txt
index 5a0f02d34d9578a549fbf8ff05474a2abd96b9f3..750efd40c72e5f1bc0e5d52d5e2178e7c6a31138 100644 (file)
@@ -5,11 +5,17 @@ Required properties:
        - "ti,da830-rtc"  - for RTC IP used similar to that on DA8xx SoC family.
        - "ti,am3352-rtc" - for RTC IP used similar to that on AM335x SoC family.
                            This RTC IP has special WAKE-EN Register to enable
-                           Wakeup generation for event Alarm.
+                           Wakeup generation for event Alarm. It can also be
+                           used to control an external PMIC via the
+                           pmic_power_en pin.
 - reg: Address range of rtc register set
 - interrupts: rtc timer, alarm interrupts in order
 - interrupt-parent: phandle for the interrupt controller
 
+Optional properties:
+- ti,system-power-controller: whether the rtc is controlling the system power
+  through pmic_power_en
+
 Example:
 
 rtc@1c23000 {
@@ -18,4 +24,5 @@ rtc@1c23000 {
        interrupts = <19
                      19>;
        interrupt-parent = <&intc>;
+       ti,system-power-controller;
 };