aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-ux500/include/mach/prcmu-regs.h
diff options
context:
space:
mode:
authorSundar R Iyer <sundar.iyer@stericsson.com>2010-04-19 11:53:12 +0530
committerJohn Rigby <john.rigby@linaro.org>2010-09-02 22:45:25 -0600
commit5d3f6b387faafb9690a891f99d5ea050963eb3d7 (patch)
tree9b972a3b26814e8fc1018dc753a066aaa93271c9 /arch/arm/mach-ux500/include/mach/prcmu-regs.h
parentc82a2e5b581f3adf7539aaacea8bf9ccc854f69d (diff)
downloadlinux-2.6.34-ux500-5d3f6b387faafb9690a891f99d5ea050963eb3d7.tar.gz
ux500-pm: "ApDeepSleep" low power state support
This patch adds the "ApDeepSleep" low power state for the U8500 platform. The ApDeepSleep is the lowest power state, both the core/ape turned off. This low power mode can now be entered/exited through the standard linux PM framework echo mem > /sys/power/state will put the core into the deep sleep state. The system can be woken up from USB insertion, console, RTC events back to the execute mode. This patch - cleans existing non-working deepsleep code from PRCMU f/w file - cleans redundant code for cpu hotplug - re-orgs the platform pm.c file for supporting uart2/gic/icn/prcc peripheral contexts - fixes FIDO_IR_ER: 258539, make UART2 console as a wakeup event - incorporates review comments from gerrit The "ApSleep" power state can now be entered through the echo standby > /sys/power/state command. FIDO_IR_ER: 258539, add deep sleep support FIDO_IR_ER: 258539, make UART2 console as a wakeup event Signed-off-by: Sundar R Iyer <sundar.iyer@stericsson.com> Acked-By: Biju C Das <biju.das@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I1ebb7fc193ec7dcea765c300277042464868493c Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2355 Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
Diffstat (limited to 'arch/arm/mach-ux500/include/mach/prcmu-regs.h')
-rwxr-xr-xarch/arm/mach-ux500/include/mach/prcmu-regs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/include/mach/prcmu-regs.h b/arch/arm/mach-ux500/include/mach/prcmu-regs.h
index 1b1c2287b63..b852663a270 100755
--- a/arch/arm/mach-ux500/include/mach/prcmu-regs.h
+++ b/arch/arm/mach-ux500/include/mach/prcmu-regs.h
@@ -40,7 +40,8 @@
#define PRCM_ARMITMSK31TO0 (_PRCMU_BASE + 0x11c)
#define PRCM_ARMITMSK63TO32 (_PRCMU_BASE + 0x120)
#define PRCM_ARMITMSK95TO64 (_PRCMU_BASE + 0x124)
-#define PRCM_ARMITMSK127TO96 (_PRCMU_BASE + 0x128)
+#define PRCM_ARMITMSK127TO96 (_PRCMU_BASE + 0x128)
+#define PRCM_POWER_STATE_VAL (_PRCMU_BASE + 0x25C)
#define PRCM_ARMITVAL31TO0 (_PRCMU_BASE + 0x260)
#define PRCM_ARMITVAL63TO32 (_PRCMU_BASE + 0x264)
#define PRCM_ARMITVAL95TO64 (_PRCMU_BASE + 0x268)