OMAP3: PM debug: allow runtime toggle of PM features
authorKevin Hilman <khilman@deeprootsystems.com>
Tue, 6 Oct 2009 21:25:09 +0000 (14:25 -0700)
committerKevin Hilman <khilman@deeprootsystems.com>
Wed, 11 Nov 2009 22:42:27 +0000 (14:42 -0800)
commitc40552bc82166adb21a1a7fcb1dc4e76352b1b79
tree3625838f286478e88ccc3a3be09b1c330149106c
parent89139dce8a0060d97a46cebde570a8f55c314712
OMAP3: PM debug: allow runtime toggle of PM features

Allow enable/disable of low-power states during idle.  To
enable low-power idle:

   echo 1 > /debug/pm_debug/sleep_while_idle

 to disable:

   echo 0 > /debug/pm_debug/sleep_while_idle

Also allow enable/disable of OFF-mode.  To enable:

   echo 1 > /debug/pm_debug/enable_off_mode

 to disable:

   echo 0 > /debug/pm_debug/enable_off_mode

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/serial.c