diff options
author | Hebbar Gururaja <gururaja.hebbar@ti.com> | 2013-09-11 17:24:18 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-11 18:58:54 -0400 |
commit | 8af750e3f5ca21eaa5595a96a4cf5eaa996deed4 (patch) | |
tree | 7118ce404a069e098ab779a2d764de8c798c9c79 /Documentation | |
parent | 453b4c6db59f7f6411a0b5eb58389a1fa129cc9a (diff) |
drivers/rtc/rtc-omap.c: add rtc wakeup support to alarm events
On some platforms (like AM33xx), a special register (RTC_IRQWAKEEN) is
available to enable Alarm Wakeup feature. This register needs to be
properly handled for the rtcwake to work properly.
Platforms using such IP should set "ti,am3352-rtc" in rtc device dt
compatibility node.
Signed-off-by: Hebbar Gururaja <gururaja.hebbar@ti.com>
Acked-by: Kevin Hilman <khilman@linaro.org>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Cc: Grant Likely <grant.likely@linaro.org>
Cc: Rob Herring <rob.herring@calxeda.com>
Cc: Rob Landley <rob@landley.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/rtc/rtc-omap.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/rtc/rtc-omap.txt b/Documentation/devicetree/bindings/rtc/rtc-omap.txt index b47aa415c820..5a0f02d34d95 100644 --- a/Documentation/devicetree/bindings/rtc/rtc-omap.txt +++ b/Documentation/devicetree/bindings/rtc/rtc-omap.txt | |||
@@ -1,7 +1,11 @@ | |||
1 | TI Real Time Clock | 1 | TI Real Time Clock |
2 | 2 | ||
3 | Required properties: | 3 | Required properties: |
4 | - compatible: "ti,da830-rtc" | 4 | - compatible: |
5 | - "ti,da830-rtc" - for RTC IP used similar to that on DA8xx SoC family. | ||
6 | - "ti,am3352-rtc" - for RTC IP used similar to that on AM335x SoC family. | ||
7 | This RTC IP has special WAKE-EN Register to enable | ||
8 | Wakeup generation for event Alarm. | ||
5 | - reg: Address range of rtc register set | 9 | - reg: Address range of rtc register set |
6 | - interrupts: rtc timer, alarm interrupts in order | 10 | - interrupts: rtc timer, alarm interrupts in order |
7 | - interrupt-parent: phandle for the interrupt controller | 11 | - interrupt-parent: phandle for the interrupt controller |