diff options
author | Daniel Lezcano <daniel.lezcano@linaro.org> | 2012-02-28 16:46:09 -0500 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-03-06 12:46:56 -0500 |
commit | 34fe6f107eab096ac2f70a51763e9978b4abbeb6 (patch) | |
tree | 481a045f80276c3a0e0d512fefe1eeabb058588d /drivers/mfd/dbx500-prcmu-regs.h | |
parent | 9ab492e12d588af7b05892c3744e8bdc2eace6d0 (diff) |
mfd : Check if the other db8500 core is in WFI
This patch allows to check if the other core is in WFI
mode. It is the last check the idle routine has to do before
entering into the retention state.
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/mfd/dbx500-prcmu-regs.h')
-rw-r--r-- | drivers/mfd/dbx500-prcmu-regs.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/dbx500-prcmu-regs.h b/drivers/mfd/dbx500-prcmu-regs.h index b9ab4ce62654..3a0bf91d7780 100644 --- a/drivers/mfd/dbx500-prcmu-regs.h +++ b/drivers/mfd/dbx500-prcmu-regs.h | |||
@@ -79,6 +79,8 @@ | |||
79 | 79 | ||
80 | /* ARM WFI Standby signal register */ | 80 | /* ARM WFI Standby signal register */ |
81 | #define PRCM_ARM_WFI_STANDBY (_PRCMU_BASE + 0x130) | 81 | #define PRCM_ARM_WFI_STANDBY (_PRCMU_BASE + 0x130) |
82 | #define PRCM_ARM_WFI_STANDBY_WFI0 0x08 | ||
83 | #define PRCM_ARM_WFI_STANDBY_WFI1 0x10 | ||
82 | #define PRCM_IOCR (_PRCMU_BASE + 0x310) | 84 | #define PRCM_IOCR (_PRCMU_BASE + 0x310) |
83 | #define PRCM_IOCR_IOFORCE 0x1 | 85 | #define PRCM_IOCR_IOFORCE 0x1 |
84 | 86 | ||