diff options
author | Tero Kristo <t-kristo@ti.com> | 2012-09-25 12:33:35 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2012-11-05 18:08:22 -0500 |
commit | 8b5d8c0d718379ce29dad74b4bda8b669fc1f1c2 (patch) | |
tree | ac3240218ab68158c92edfdc35e2e22a8b4e8dba /arch/arm/mach-omap2/vp3xxx_data.c | |
parent | b254012b21e3f0dec798de8d12e3ce009d1c09e0 (diff) |
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/vp3xxx_data.c')
-rw-r--r-- | arch/arm/mach-omap2/vp3xxx_data.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/vp3xxx_data.c b/arch/arm/mach-omap2/vp3xxx_data.c index bd89f80089f5..1914e026245e 100644 --- a/arch/arm/mach-omap2/vp3xxx_data.c +++ b/arch/arm/mach-omap2/vp3xxx_data.c | |||
@@ -77,3 +77,13 @@ struct omap_vp_instance omap3_vp_core = { | |||
77 | .vstatus = OMAP3_PRM_VP2_STATUS_OFFSET, | 77 | .vstatus = OMAP3_PRM_VP2_STATUS_OFFSET, |
78 | .voltage = OMAP3_PRM_VP2_VOLTAGE_OFFSET, | 78 | .voltage = OMAP3_PRM_VP2_VOLTAGE_OFFSET, |
79 | }; | 79 | }; |
80 | |||
81 | struct omap_vp_param omap3_mpu_vp_data = { | ||
82 | .vddmin = OMAP3430_VP1_VLIMITTO_VDDMIN, | ||
83 | .vddmax = OMAP3430_VP1_VLIMITTO_VDDMAX, | ||
84 | }; | ||
85 | |||
86 | struct omap_vp_param omap3_core_vp_data = { | ||
87 | .vddmin = OMAP3430_VP2_VLIMITTO_VDDMIN, | ||
88 | .vddmax = OMAP3430_VP2_VLIMITTO_VDDMAX, | ||
89 | }; | ||