[ARM] pxa: add pxa2xx_mfp_set_lpm() to facilitate low power state change
authorEric Miao <eric.miao@marvell.com>
Mon, 16 Jun 2008 01:47:47 +0000 (09:47 +0800)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 9 Jul 2008 20:38:32 +0000 (21:38 +0100)
commit566b450c33ea43f339d54d445f4ea1ab2e021909
tree32ea26a4ce45161b2ce8a4017edb2048e3a70b4f
parent0fedb0cad6ebc00af01013b5bbe52dd596853c63
[ARM] pxa: add pxa2xx_mfp_set_lpm() to facilitate low power state change

Some boards want to change low power state of pins on-the-fly, this
function helps to facilitate that operation instead of switching
back-n-forth between two configurations with pxa2xx_mfp_config().

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Tested-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/mfp-pxa2xx.c
include/asm-arm/arch-pxa/mfp-pxa2xx.h