aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/vc.h
diff options
context:
space:
mode:
authorKevin Hilman <khilman@ti.com>2011-03-30 14:01:10 -0400
committerKevin Hilman <khilman@ti.com>2011-09-15 15:08:57 -0400
commitce8ebe0dfb1f8713337cebf82499d3dced288328 (patch)
tree3ffb4cac949459b9feda4f307d4d9b51b0da3a5c /arch/arm/mach-omap2/vc.h
parent24d3194a2c9bc4d2315117915d4d22c395c07fd5 (diff)
OMAP3+: voltage domain: move PMIC struct from vdd_info into struct voltagedomain
Move structure containing PMIC configurable settings into struct voltagedomain. In the process, rename from omap_volt_pmic_info to omap_voltdm_pmic (_info suffix is not helpful.) No functional changes. Signed-off-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-omap2/vc.h')
-rw-r--r--arch/arm/mach-omap2/vc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/vc.h b/arch/arm/mach-omap2/vc.h
index 4e1913748d2a..fd385285a3bf 100644
--- a/arch/arm/mach-omap2/vc.h
+++ b/arch/arm/mach-omap2/vc.h
@@ -36,6 +36,7 @@ struct voltagedomain;
36 * @cmd_onlp_shift: ONLP field shift in PRM_VC_CMD_VAL_* register 36 * @cmd_onlp_shift: ONLP field shift in PRM_VC_CMD_VAL_* register
37 * @cmd_ret_shift: RET field shift in PRM_VC_CMD_VAL_* register 37 * @cmd_ret_shift: RET field shift in PRM_VC_CMD_VAL_* register
38 * @cmd_off_shift: OFF field shift in PRM_VC_CMD_VAL_* register 38 * @cmd_off_shift: OFF field shift in PRM_VC_CMD_VAL_* register
39 * @cfg_channel_reg: VC channel configuration register
39 * 40 *
40 * XXX One of cmd_on_mask and cmd_on_shift are not needed 41 * XXX One of cmd_on_mask and cmd_on_shift are not needed
41 * XXX VALID should probably be a shift, not a mask 42 * XXX VALID should probably be a shift, not a mask
@@ -66,11 +67,14 @@ struct omap_vc_common {
66 * @volt_reg_addr: voltage configuration register address 67 * @volt_reg_addr: voltage configuration register address
67 * @cmd_reg_addr: command configuration register address 68 * @cmd_reg_addr: command configuration register address
68 * @setup_time: setup time (in sys_clk cycles) of regulator for this channel 69 * @setup_time: setup time (in sys_clk cycles) of regulator for this channel
70 * @cfg_channel: current value of VC channel configuration register
71 *
69 * @common: pointer to VC common data for this platform 72 * @common: pointer to VC common data for this platform
70 * @smps_sa_mask: i2c slave address bitmask in the PRM_VC_SMPS_SA register 73 * @smps_sa_mask: i2c slave address bitmask in the PRM_VC_SMPS_SA register
71 * @smps_volra_mask: VOLRA* bitmask in the PRM_VC_VOL_RA register 74 * @smps_volra_mask: VOLRA* bitmask in the PRM_VC_VOL_RA register
72 * @smps_cmdra_mask: CMDRA* bitmask in the PRM_VC_CMD_RA register 75 * @smps_cmdra_mask: CMDRA* bitmask in the PRM_VC_CMD_RA register
73 * @cmdval_reg: register for on/ret/off voltage level values for this channel 76 * @cmdval_reg: register for on/ret/off voltage level values for this channel
77 * @cfg_channel_sa_shift: bit shift for slave address cfg_channel register
74 * @flags: VC channel-specific flags (optional) 78 * @flags: VC channel-specific flags (optional)
75 */ 79 */
76struct omap_vc_channel { 80struct omap_vc_channel {