Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226669
b: refs/heads/master
c: 1376ee1
h: refs/heads/master
i:
  226667: 05989c2
v: v3
  • Loading branch information
Thara Gopinath authored and Kevin Hilman committed Dec 22, 2010
1 parent b6a5c47 commit eeac318
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bd38107b565a41d994aa22db0962ffcc34ebef02
refs/heads/master: 1376ee1d191b32d0be6d2956f1a6f3dd63251e2e
11 changes: 11 additions & 0 deletions trunk/arch/arm/mach-omap2/pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand All @@ -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();
Expand Down

0 comments on commit eeac318

Please sign in to comment.