Commit 3238fb15 authored by ext Peter 'p2' De Schrijver's avatar ext Peter 'p2' De Schrijver Committed by Tony Lindgren

Add early init for voltage controller configuration and off mode polarity.

Signed-off-by: default avatarPeter 'p2' De Schrijver <peter.de-schrijver@nokia.com>
Signed-off-by: default avatarKalle Jokiniemi <ext-kalle.jokiniemi@nokia.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 07667f11
...@@ -484,3 +484,15 @@ static void __init configure_vc(void) ...@@ -484,3 +484,15 @@ static void __init configure_vc(void)
#endif #endif
} }
static int __init omap3_pm_early_init(void)
{
prm_clear_mod_reg_bits(OMAP3430_OFFMODE_POL, OMAP3430_GR_MOD,
OMAP3_PRM_POLCTRL_OFFSET);
configure_vc();
return 0;
}
arch_initcall(omap3_pm_early_init);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment