* [PATCH] OMAP3 PM: Prevent Core off when DPLL3 autoidle is disabled
@ 2010-05-28 14:34 Vishwanath BS
0 siblings, 0 replies; only message in thread
From: Vishwanath BS @ 2010-05-28 14:34 UTC (permalink / raw)
To: linux-omap; +Cc: Vishwanath BS
As per errata i580, Core should not attempt to goto OSWR/OFF state if
DPLL3 is in manual lock mode (CM_AUTOIDLE_PLL[AUTO_CORE_DPLL] = 0).
This WA is applicable only if WA for errata i581 is applied since DPLL3
is put in manual lock mode as part of the i581 errata.
This patch has been developed on top of i581 errata WA available@
https://patchwork.kernel.org/patch/102673/
Tested on OMAP3630 ZOOM3.
Signed-off-by: Vishwanath BS <vishwanath.bs@ti.com>
---
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index b0a5d09..5b48b6c
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -461,6 +461,9 @@ void omap_sram_idle(void)
}
cm_rmw_mod_reg_bits(OMAP3430_AUTO_CORE_DPLL_MASK,
0x1, PLL_MOD, CM_AUTOIDLE);
+ } else if (core_next_state > PWRDM_POWER_RET) {
+ pwrdm_set_next_pwrst(core_pwrdm, PWRDM_POWER_RET);
+ core_next_state = PWRDM_POWER_RET;
}
}
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-05-28 14:33 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-28 14:34 [PATCH] OMAP3 PM: Prevent Core off when DPLL3 autoidle is disabled Vishwanath BS
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).