[ARM] pxa: better MFP low power state support for pxa25x/pxa27x
authorEric Miao <eric.miao@marvell.com>
Wed, 3 Sep 2008 10:06:34 +0000 (18:06 +0800)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 26 Sep 2008 22:43:20 +0000 (23:43 +0100)
commit5a3d96519040f9736b9f8089e2a1e33a81a6eafe
treebe92df6b14ba6c9e420bc45d13a76b812991bb0c
parent4fa7c24e94b3f5bfb367bb847af3c3abd8cca3c0
[ARM] pxa: better MFP low power state support for pxa25x/pxa27x

When configured as a specific low power state: MFP_LPM_DRIVE_LOW,
MFP_LPM_DRIVE_HIGH, the corresponding GPDR register bit during
low power mode shall be re-configured as output (if they are not
configured so), thus the PGSRx bits can output.

Create an additional low power values GPDR registers, and properly
save/restore the GAFR + GPDR registers when doing suspend/resume.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/generic.h
arch/arm/mach-pxa/include/mach/mfp.h
arch/arm/mach-pxa/mfp-pxa2xx.c
arch/arm/mach-pxa/pxa25x.c
arch/arm/mach-pxa/pxa27x.c