]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drivers/rtc/rtc-omap.c: add rtc wakeup support to alarm events
authorHebbar Gururaja <gururaja.hebbar@ti.com>
Wed, 11 Sep 2013 21:24:18 +0000 (14:24 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Sep 2013 22:58:54 +0000 (15:58 -0700)
commit8af750e3f5ca21eaa5595a96a4cf5eaa996deed4
tree7118ce404a069e098ab779a2d764de8c798c9c79
parent453b4c6db59f7f6411a0b5eb58389a1fa129cc9a
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>
Documentation/devicetree/bindings/rtc/rtc-omap.txt
drivers/rtc/rtc-omap.c