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>
/* 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);