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>
Showing
- arch/arm/mach-omap2/pm-debug.c 27 additions, 0 deletionsarch/arm/mach-omap2/pm-debug.c
- arch/arm/mach-omap2/pm.h 4 additions, 0 deletionsarch/arm/mach-omap2/pm.h
- arch/arm/mach-omap2/pm34xx.c 22 additions, 0 deletionsarch/arm/mach-omap2/pm34xx.c
- arch/arm/mach-omap2/serial.c 0 additions, 2 deletionsarch/arm/mach-omap2/serial.c
Loading
Please register or sign in to comment