[PATCH] AT91rm9200 RTC can issue system wakeup events
authorDavid Brownell <david-b@pacbell.net>
Sun, 1 Oct 2006 06:28:17 +0000 (23:28 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 1 Oct 2006 07:39:25 +0000 (00:39 -0700)
commit90b4d648f02a653b192be7f0feb0a933b7525e6a
treeb3a99a94f4b5f494776cd0d341040f20d55faeb0
parentff8371ac9a5a55c956991fed8e5f58640c7a32f3
[PATCH] AT91rm9200 RTC can issue system wakeup events

This lets the at91rm9200 RTC alarm be a system wakeup irq, according to the
setting of /sys/devices/platform/at91_rtc/power/wakeup.  User code can set the
alarm, put the system into a low power mode, and then rely on it waking up no
later than the specified moment.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/rtc/rtc-at91.c