aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-pxa/include/mach/pxa2xx-regs.h
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2008-11-28 13:49:22 +0800
committerEric Miao <eric.miao@marvell.com>2008-12-02 14:42:38 +0800
commitb31eca4f006c3efdd2dc501270172aa7ff8614b9 (patch)
tree8ac6d6238f23af0cb68cfe2069a4433b20a716e8 /arch/arm/mach-pxa/include/mach/pxa2xx-regs.h
parenta07efb5dac2a1c9125b9bd84d2f9ea4803d93e60 (diff)
[ARM] pxa: move pxa2xx specific PWRMODE definitions into pxa2xx-regs.h
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Diffstat (limited to 'arch/arm/mach-pxa/include/mach/pxa2xx-regs.h')
-rw-r--r--arch/arm/mach-pxa/include/mach/pxa2xx-regs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-pxa/include/mach/pxa2xx-regs.h b/arch/arm/mach-pxa/include/mach/pxa2xx-regs.h
index 806ecfea44b..2b71d87c898 100644
--- a/arch/arm/mach-pxa/include/mach/pxa2xx-regs.h
+++ b/arch/arm/mach-pxa/include/mach/pxa2xx-regs.h
@@ -243,4 +243,11 @@
#define OSCC_OON (1 << 1) /* 32.768kHz OON (write-once only bit) */
#define OSCC_OOK (1 << 0) /* 32.768kHz OOK (read-only bit) */
+/* PWRMODE register M field values */
+
+#define PWRMODE_IDLE 0x1
+#define PWRMODE_STANDBY 0x2
+#define PWRMODE_SLEEP 0x3
+#define PWRMODE_DEEPSLEEP 0x7
+
#endif