public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] OMAP4: Clock: Force a DPLL clkdm/pwrdm ON before a relock
@ 2012-01-19 19:22 Ameya Palande
  2012-01-20 19:53 ` Palande, Ameya
  0 siblings, 1 reply; 7+ messages in thread
From: Ameya Palande @ 2012-01-19 19:22 UTC (permalink / raw)
  To: linux-omap; +Cc: rnayak, ameya.palande, nm

From: Rajendra Nayak <rnayak@ti.com>

All DPLLs except USB are in ALWON powerdomain. Make sure the
clkdm/pwrdm for USB DPLL (l3init) is turned on before attempting
a DPLL relock. So, mark the database accordingly.

Without this fix, it was seen that DPLL relock fails while testing
relock in a loop of USB DPLL.

CC: Nishanth Menon <nm@ti.com>
Tested-by: Ameya Palande <ameya.palande@ti.com>
Signed-off-by: Rajendra Nayak <rnayak@ti.com>
---
 arch/arm/mach-omap2/clock44xx_data.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/arm/mach-omap2/clock44xx_data.c b/arch/arm/mach-omap2/clock44xx_data.c
index 08e86d7..9519374 100644
--- a/arch/arm/mach-omap2/clock44xx_data.c
+++ b/arch/arm/mach-omap2/clock44xx_data.c
@@ -974,6 +974,7 @@ static struct clk dpll_usb_ck = {
 	.recalc		= &omap3_dpll_recalc,
 	.round_rate	= &omap2_dpll_round_rate,
 	.set_rate	= &omap3_noncore_dpll_set_rate,
+	.clkdm_name	= "l3_init_clkdm",
 };
 
 static struct clk dpll_usb_clkdcoldo_ck = {
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-01-25 22:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-19 19:22 [PATCH] OMAP4: Clock: Force a DPLL clkdm/pwrdm ON before a relock Ameya Palande
2012-01-20 19:53 ` Palande, Ameya
2012-01-25  1:37   ` Palande, Ameya
2012-01-25 19:05     ` Paul Walmsley
2012-01-25 22:08       ` Cousson, Benoit
2012-01-25 22:46       ` Palande, Ameya
2012-01-25 22:54         ` Paul Walmsley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox