]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Add early init for voltage controller configuration and off mode polarity.
authorext Peter 'p2' De Schrijver <peter.de-schrijver@nokia.com>
Wed, 6 Aug 2008 08:41:08 +0000 (11:41 +0300)
committerTony Lindgren <tony@atomide.com>
Wed, 6 Aug 2008 08:56:15 +0000 (11:56 +0300)
Signed-off-by: Peter 'p2' De Schrijver <peter.de-schrijver@nokia.com>
Signed-off-by: Kalle Jokiniemi <ext-kalle.jokiniemi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/pm34xx.c

index a6cfc464e07ed34cb737597b159ba47b95d7df3d..fc72c11e5828ad8c882136fc6a5c3d41cbe0ee53 100644 (file)
@@ -484,3 +484,15 @@ static void __init configure_vc(void)
 #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);