summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-pxa/include
diff options
context:
space:
mode:
authorMike Rapoport <mike@compulab.co.il>2009-05-26 09:10:18 +0300
committerEric Miao <eric.y.miao@gmail.com>2009-06-05 10:32:48 +0800
commitd082d36ea82aff6f25e8380770713e6fd0c7290a (patch)
tree7e91b06429cead8907da244ecb71aae7cdea05bb /arch/arm/mach-pxa/include
parent94c35a6b5129bc370893d74085c13607f260ef39 (diff)
downloadblackbird-op-linux-d082d36ea82aff6f25e8380770713e6fd0c7290a.tar.gz
blackbird-op-linux-d082d36ea82aff6f25e8380770713e6fd0c7290a.zip
[ARM] pxa: add ability to set suspend mode
PXA processors have several low-power modes. Currently kernel supports only one of these modes for PM_SUSPEND_MEM. This patch adds ability to set desired suspend mode for PXA27x based machines. Signed-off-by: Mike Rapoport <mike@compulab.co.il> Reviewed-by: Russell King <linux@arm.linux.org.uk> Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/mach-pxa/include')
-rw-r--r--arch/arm/mach-pxa/include/mach/pxa27x.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/pxa27x.h b/arch/arm/mach-pxa/include/mach/pxa27x.h
index 6876e16c2970..0b702693f458 100644
--- a/arch/arm/mach-pxa/include/mach/pxa27x.h
+++ b/arch/arm/mach-pxa/include/mach/pxa27x.h
@@ -16,4 +16,7 @@
#define ARB_DMA_PARK (1<<25) /* Be parked with DMA when idle */
#define ARB_CORE_PARK (1<<24) /* Be parked with core when idle */
#define ARB_LOCK_FLAG (1<<23) /* Only Locking masters gain access to the bus */
+
+extern int __init pxa27x_set_pwrmode(unsigned int mode);
+
#endif /* __MACH_PXA27x_H */
OpenPOWER on IntegriCloud