From: ext Peter 'p2' De Schrijver Date: Wed, 6 Aug 2008 08:41:08 +0000 (+0300) Subject: Add early init for voltage controller configuration and off mode polarity. X-Git-Tag: v2.6.26-omap1~12 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=3238fb156cf77b537b2df8d897fe62a7feab4939;p=linux-2.6-omap-h63xx.git Add early init for voltage controller configuration and off mode polarity. Signed-off-by: Peter 'p2' De Schrijver Signed-off-by: Kalle Jokiniemi Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index a6cfc464e07..fc72c11e582 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@ -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);