aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/db8500-prcmu.h
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@linaro.org>2012-02-28 22:46:09 +0100
committerSamuel Ortiz <sameo@linux.intel.com>2012-03-06 18:46:56 +0100
commit34fe6f107eab096ac2f70a51763e9978b4abbeb6 (patch)
tree481a045f80276c3a0e0d512fefe1eeabb058588d /include/linux/mfd/db8500-prcmu.h
parentmfd : Check if the db8500 prcmu has pending irq (diff)
downloadlinux-dev-34fe6f107eab096ac2f70a51763e9978b4abbeb6.tar.xz
linux-dev-34fe6f107eab096ac2f70a51763e9978b4abbeb6.zip
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 'include/linux/mfd/db8500-prcmu.h')
-rw-r--r--include/linux/mfd/db8500-prcmu.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mfd/db8500-prcmu.h b/include/linux/mfd/db8500-prcmu.h
index 926bdb3adc0f..048a534fde38 100644
--- a/include/linux/mfd/db8500-prcmu.h
+++ b/include/linux/mfd/db8500-prcmu.h
@@ -585,6 +585,7 @@ int db8500_prcmu_gic_recouple(void);
int db8500_prcmu_copy_gic_settings(void);
bool db8500_prcmu_gic_pending_irq(void);
bool db8500_prcmu_pending_irq(void);
+bool db8500_prcmu_is_cpu_in_wfi(int cpu);
void db8500_prcmu_enable_wakeups(u32 wakeups);
int db8500_prcmu_set_epod(u16 epod_id, u8 epod_state);
int db8500_prcmu_request_clock(u8 clock, bool enable);