[ARM] pxa: add ability to set suspend mode
authorMike Rapoport <mike@compulab.co.il>
Tue, 26 May 2009 06:10:18 +0000 (09:10 +0300)
committerEric Miao <eric.y.miao@gmail.com>
Fri, 5 Jun 2009 02:32:48 +0000 (10:32 +0800)
commitd082d36ea82aff6f25e8380770713e6fd0c7290a
tree7e91b06429cead8907da244ecb71aae7cdea05bb
parent94c35a6b5129bc370893d74085c13607f260ef39
[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>
arch/arm/mach-pxa/include/mach/pxa27x.h
arch/arm/mach-pxa/pxa27x.c