panda: clocks: Disable slimbus and pad_clks
authorRicardo Salveti de Araujo <ricardo.salveti@canonical.com>
Mon, 23 May 2011 11:19:33 +0000 (16:49 +0530)
committerAnand Gadiyar <gadiyar@ti.com>
Mon, 23 May 2011 11:19:33 +0000 (16:49 +0530)
The slimbus and pad_clks if left enabled in x-loader
would gate abe power domain from transitioning to RET.

These should be enabled by the audio driver (if present)
in the kernel.

Patch based on the SDP one from dev.omapzoom.org (8876b861) by
Rajendra Nayak <rnayak@ti.com>

Signed-off-by: Ricardo Salveti de Araujo <ricardo.salveti@canonical.com>
Signed-off-by: Anand Gadiyar <gadiyar@ti.com>
board/omap4430panda/clock.c

index 27f7d92..d9a925f 100644 (file)
@@ -322,9 +322,6 @@ static void configure_abe_dpll(u32 clk_index)
        /* Select sys_clk as ref clk for ABE dpll */
        sr32(CM_ABE_PLL_REF_CLKSEL, 0, 32, 0x0);
 
-       /* Enable slimbus and pad clocks */
-       sr32(CM_CLKSEL_ABE, 0, 32, 0x500);
-
        /* Unlock the ABE dpll */
        sr32(CM_CLKMODE_DPLL_ABE, 0, 3, PLL_MN_POWER_BYPASS);
        wait_on_value(BIT0, 0, CM_IDLEST_DPLL_ABE, LDELAY);