summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/pm.h
diff options
context:
space:
mode:
authorTero Kristo2008-11-26 11:26:24 +0100
committerKevin Hilman2009-09-03 00:08:25 +0200
commit68d4778c701b7e22ddfd64e3afb6628c92718ad2 (patch)
treec61556bd625a4c62f4429d00088f7abbae2d5a52 /arch/arm/mach-omap2/pm.h
parentOMAP: PM debug: Add PRCM register dump support (diff)
downloadkernel-qcow2-linux-68d4778c701b7e22ddfd64e3afb6628c92718ad2.tar.gz
kernel-qcow2-linux-68d4778c701b7e22ddfd64e3afb6628c92718ad2.tar.xz
kernel-qcow2-linux-68d4778c701b7e22ddfd64e3afb6628c92718ad2.zip
OMAP: PM: Added suspend target state control to debugfs for OMAP3
Target state can be read / programmed via files under: [debugfs]/pm_debug/[pwrdm]/suspend Signed-off-by: Tero Kristo <tero.kristo@nokia.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2/pm.h')
-rw-r--r--arch/arm/mach-omap2/pm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/pm.h b/arch/arm/mach-omap2/pm.h
index 8fa856770188..8400f5768923 100644
--- a/arch/arm/mach-omap2/pm.h
+++ b/arch/arm/mach-omap2/pm.h
@@ -13,6 +13,9 @@
#include <mach/powerdomain.h>
+extern int omap3_pm_get_suspend_state(struct powerdomain *pwrdm);
+extern int omap3_pm_set_suspend_state(struct powerdomain *pwrdm, int state);
+
#ifdef CONFIG_PM_DEBUG
extern void omap2_pm_dump(int mode, int resume, unsigned int us);
extern int omap2_pm_debug;