From eeac3188f3e3bc371907261a610fdb570ffaf8cd Mon Sep 17 00:00:00 2001 From: Thara Gopinath Date: Sat, 29 May 2010 22:02:25 +0530 Subject: [PATCH] --- yaml --- r: 226669 b: refs/heads/master c: 1376ee1d191b32d0be6d2956f1a6f3dd63251e2e h: refs/heads/master i: 226667: 05989c26bae8a0504abc831d99ae63316b7130ed v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-omap2/pm.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index d32809081c36..0b9c3fdd6a67 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: bd38107b565a41d994aa22db0962ffcc34ebef02 +refs/heads/master: 1376ee1d191b32d0be6d2956f1a6f3dd63251e2e diff --git a/trunk/arch/arm/mach-omap2/pm.c b/trunk/arch/arm/mach-omap2/pm.c index aac9bacf1bd1..d5a102c71989 100644 --- a/trunk/arch/arm/mach-omap2/pm.c +++ b/trunk/arch/arm/mach-omap2/pm.c @@ -227,6 +227,16 @@ static void __init omap3_init_voltages(void) omap2_set_init_voltage("core", "l3_ick", l3_dev); } +static void __init omap4_init_voltages(void) +{ + if (!cpu_is_omap44xx()) + return; + + omap2_set_init_voltage("mpu", "dpll_mpu_ck", mpu_dev); + omap2_set_init_voltage("core", "l3_div_ck", l3_dev); + omap2_set_init_voltage("iva", "dpll_iva_m5x2_ck", iva_dev); +} + static int __init omap2_common_pm_init(void) { omap2_init_processor_devices(); @@ -247,6 +257,7 @@ static int __init omap2_common_pm_late_init(void) /* Initialize the voltages */ omap3_init_voltages(); + omap4_init_voltages(); /* Smartreflex device init */ omap_devinit_smartreflex();