[ARM] pxa: add preliminary suspend/resume code for pxa3xx
authoreric miao <[email protected]>
Mon, 28 Jan 2008 23:00:02 +0000 (23:00 +0000)
committerRussell King <[email protected]>
Mon, 4 Feb 2008 13:17:33 +0000 (13:17 +0000)
commitc4d1fb627ff307256d792280efcb09e1235affea
tree260ed71dd94883353de1e9256d3d7337d0a7b81a
parent16dfdbf038706c12c56f327d14c6b901edc376a3
[ARM] pxa: add preliminary suspend/resume code for pxa3xx

1. clear RDH bit after resuming back from D3, otherwise, the multi function
   pins will retain the low power state

2. save/restore essential system registers

Signed-off-by: eric miao <[email protected]>
Signed-off-by: Russell King <[email protected]>
arch/arm/mach-pxa/mfp.c
arch/arm/mach-pxa/pxa3xx.c
arch/arm/mach-pxa/sleep.S
include/asm-arm/arch-pxa/pxa3xx-regs.h