diff options
author | Tero Kristo <t-kristo@ti.com> | 2012-09-25 16:33:35 (GMT) |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2012-11-05 23:08:22 (GMT) |
commit | 8b5d8c0d718379ce29dad74b4bda8b669fc1f1c2 (patch) | |
tree | ac3240218ab68158c92edfdc35e2e22a8b4e8dba /arch/arm/mach-omap2/voltagedomains44xx_data.c | |
parent | b254012b21e3f0dec798de8d12e3ce009d1c09e0 (diff) | |
download | linux-8b5d8c0d718379ce29dad74b4bda8b669fc1f1c2.tar.xz |
ARM: OMAP3+: voltage: introduce omap vc / vp params for voltagedomains
These new structs will hold the sleep voltage levels (omap_vc_params)
and voltage processor min / max voltages (omap_vp_params.) Previously
these were part of the PMIC struct, but they do not really belong there,
as they are OMAP chip specific, not PMIC specific parameters. voltdm
code is also changed to use the new structs.
Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/voltagedomains44xx_data.c')
-rw-r--r-- | arch/arm/mach-omap2/voltagedomains44xx_data.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/voltagedomains44xx_data.c b/arch/arm/mach-omap2/voltagedomains44xx_data.c index c3115f6..a2d7d9c 100644 --- a/arch/arm/mach-omap2/voltagedomains44xx_data.c +++ b/arch/arm/mach-omap2/voltagedomains44xx_data.c @@ -106,6 +106,14 @@ void __init omap44xx_voltagedomains_init(void) omap4_voltdm_core.volt_data = omap44xx_vdd_core_volt_data; #endif + omap4_voltdm_mpu.vp_param = &omap4_mpu_vp_data; + omap4_voltdm_iva.vp_param = &omap4_iva_vp_data; + omap4_voltdm_core.vp_param = &omap4_core_vp_data; + + omap4_voltdm_mpu.vc_param = &omap4_mpu_vc_data; + omap4_voltdm_iva.vc_param = &omap4_iva_vc_data; + omap4_voltdm_core.vc_param = &omap4_core_vc_data; + for (i = 0; voltdm = voltagedomains_omap4[i], voltdm; i++) voltdm->sys_clk.name = sys_clk_name; |