Hello Jouni,

On Wed, 25 Jun 2008, Jouni Hogander wrote:

> +     /* XXX Set all plls to autoidle. This is needed until autoidle is
> +      * enabled by clockfw */
> +     cm_write_mod_reg(1 << OMAP3430_CLKTRCTRL_IVA2_SHIFT,
> +                      OMAP3430_IVA2_MOD,
> +                      CM_AUTOIDLE2);
> +     cm_write_mod_reg(1 << OMAP3430_AUTO_MPU_DPLL_SHIFT,
> +                      MPU_MOD,
> +                      CM_AUTOIDLE2);
> +     cm_write_mod_reg((1 << OMAP3430_AUTO_PERIPH_DPLL_SHIFT) |
> +                      (1 << OMAP3430_AUTO_CORE_DPLL_SHIFT),
> +                      PLL_MOD,
> +                      CM_AUTOIDLE);
> +     cm_write_mod_reg(1 << OMAP3430ES2_AUTO_PERIPH2_DPLL_SHIFT,
> +                      PLL_MOD,
> +                      CM_AUTOIDLE2);

for the DPLLs, there is code to do this already in the clock framework - 
see omap3_dpll_allow_idle() in arch/arm/mach-omap2/clock34xx.c


- Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to