Signed-off-by: Daniel Lezcano <daniel.lezc...@linaro.org>
---
 arch/arm/mach-omap2/cpuidle34xx.c |   31 ++++++++++++++++++++++++++++++-
 1 files changed, 30 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/cpuidle34xx.c 
b/arch/arm/mach-omap2/cpuidle34xx.c
index 877a7e1..34e1e34 100644
--- a/arch/arm/mach-omap2/cpuidle34xx.c
+++ b/arch/arm/mach-omap2/cpuidle34xx.c
@@ -46,7 +46,36 @@ struct omap3_idle_statedata {
 
 #define OMAP3_NUM_STATES 7
 
-struct omap3_idle_statedata omap3_idle_data[OMAP3_NUM_STATES];
+struct omap3_idle_statedata omap3_idle_data[OMAP3_NUM_STATES] = {
+       {
+               .mpu_state = PWRDM_POWER_ON,
+               .core_state = PWRDM_POWER_ON,
+       },
+       {
+               .mpu_state = PWRDM_POWER_ON,
+               .core_state = PWRDM_POWER_ON,
+       },
+       {
+               .mpu_state = PWRDM_POWER_RET,
+               .core_state = PWRDM_POWER_ON,
+       },
+       {
+               .mpu_state = PWRDM_POWER_OFF,
+               .core_state = PWRDM_POWER_ON,
+       },
+       {
+               .mpu_state = PWRDM_POWER_RET,
+               .core_state = PWRDM_POWER_RET,
+       },
+       {
+               .mpu_state = PWRDM_POWER_OFF,
+               .core_state = PWRDM_POWER_RET,
+       },
+       {
+               .mpu_state = PWRDM_POWER_OFF,
+               .core_state = PWRDM_POWER_OFF,
+       },
+};
 
 struct powerdomain *mpu_pd, *core_pd, *per_pd, *cam_pd;
 
-- 
1.7.5.4


_______________________________________________
linaro-dev mailing list
linaro-dev@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-dev

Reply via email to