diff options
author | Kevin Hilman <khilman@ti.com> | 2011-03-16 16:35:22 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@ti.com> | 2011-09-15 14:39:09 -0400 |
commit | a7460daf15239563b3e7bb862580f90da78541bd (patch) | |
tree | 42faec056fe7dde136dadc6d7ed96861f5431325 /arch/arm/mach-omap2/vp.h | |
parent | fa17f20f686a90004a8af403e24cc8443e8144f3 (diff) |
OMAP2+: voltage: move PRCM mod offets into VC/VP structures
Eliminate need for global variables for the various PRM module offsets by
making them part of the VP/VC common structures
Eventually, these will likely be moved again, or more likely removed
when VP/VC code is isolated, but for now just getting rid of them as
global variabes so that the voltage domain initialization can be
cleaned up.
Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/vp.h')
-rw-r--r-- | arch/arm/mach-omap2/vp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/vp.h b/arch/arm/mach-omap2/vp.h index 7ce134f7de79..d277da6c0378 100644 --- a/arch/arm/mach-omap2/vp.h +++ b/arch/arm/mach-omap2/vp.h | |||
@@ -42,6 +42,7 @@ | |||
42 | * @vpconfig_vlimitto_vddmin_shift: VDDMIN field shift in PRM_VP*_VLIMITTO reg | 42 | * @vpconfig_vlimitto_vddmin_shift: VDDMIN field shift in PRM_VP*_VLIMITTO reg |
43 | * @vpconfig_vlimitto_vddmax_shift: VDDMAX field shift in PRM_VP*_VLIMITTO reg | 43 | * @vpconfig_vlimitto_vddmax_shift: VDDMAX field shift in PRM_VP*_VLIMITTO reg |
44 | * @vpconfig_vlimitto_timeout_shift: TIMEOUT field shift in PRM_VP*_VLIMITTO reg | 44 | * @vpconfig_vlimitto_timeout_shift: TIMEOUT field shift in PRM_VP*_VLIMITTO reg |
45 | * @prm_mod: PRM module id used for PRM register access | ||
45 | * | 46 | * |
46 | * XXX It it not necessary to have both a mask and a shift for the same | 47 | * XXX It it not necessary to have both a mask and a shift for the same |
47 | * bitfield - remove one | 48 | * bitfield - remove one |
@@ -54,6 +55,7 @@ struct omap_vp_common_data { | |||
54 | u32 vpconfig_initvdd; | 55 | u32 vpconfig_initvdd; |
55 | u32 vpconfig_forceupdate; | 56 | u32 vpconfig_forceupdate; |
56 | u32 vpconfig_vpenable; | 57 | u32 vpconfig_vpenable; |
58 | s16 prm_mod; | ||
57 | u8 vpconfig_erroroffset_shift; | 59 | u8 vpconfig_erroroffset_shift; |
58 | u8 vpconfig_errorgain_shift; | 60 | u8 vpconfig_errorgain_shift; |
59 | u8 vpconfig_initvoltage_shift; | 61 | u8 vpconfig_initvoltage_shift; |