PM debug: allow configurable wakeup from suspend on OMAP GPtimer
authorKevin Hilman <khilman@deeprootsystems.com>
Tue, 6 Oct 2009 21:30:23 +0000 (14:30 -0700)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 11 Nov 2009 22:42:28 +0000 (14:42 -0800)
commitd7814e4df6e9c54680a30de3f439c66a2a55ce94
treed516729e2ec5203adf9325ca77a4a00672adfd85
parentc40552bc82166adb21a1a7fcb1dc4e76352b1b79
PM debug: allow configurable wakeup from suspend on OMAP GPtimer

Using debugfs, export a configurable wakeup timer to be used to
wakeup system from suspend.

If a non-zero value is written to
/debug/pm_debug/wakeup_timer_seconds, A timer wakeup event will wake
the system and resume after the configured number of seconds.

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
arch/arm/mach-omap2/pm-debug.c
arch/arm/mach-omap2/pm.h
arch/arm/mach-omap2/pm34xx.c
arch/arm/mach-omap2/timer-gp.c