PM debug: allow configurable wakeup from suspend on OMAP GPtimer
commit1c172b9280fbf6c0a6434df8787fda02c8fce006
authorKevin Hilman <khilman@deeprootsystems.com>
Tue, 6 Oct 2009 21:30:23 +0000 (6 14:30 -0700)
committerKevin Hilman <khilman@deeprootsystems.com>
Fri, 23 Oct 2009 18:19:19 +0000 (23 11:19 -0700)
treea676db36a4c92d6614467c38aef6c002892f6039
parent28f895661d789553b957d41b9879395613efefdf
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