|
@@ -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();
|