Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 1 | #include <linux/kernel.h> |
| 2 | #include <linux/init.h> |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 3 | |
Tony Lindgren | 4e65331 | 2011-11-10 22:45:17 +0100 | [diff] [blame] | 4 | #include "common.h" |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 5 | |
| 6 | #include "voltage.h" |
| 7 | #include "vp.h" |
| 8 | #include "prm-regbits-34xx.h" |
| 9 | #include "prm-regbits-44xx.h" |
| 10 | #include "prm44xx.h" |
| 11 | |
Kevin Hilman | b666b47 | 2011-07-15 17:05:48 -0700 | [diff] [blame] | 12 | static u32 _vp_set_init_voltage(struct voltagedomain *voltdm, u32 volt) |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 13 | { |
Kevin Hilman | b7ea803 | 2011-04-04 15:25:07 -0700 | [diff] [blame] | 14 | struct omap_vp_instance *vp = voltdm->vp; |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 15 | u32 vpconfig; |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 16 | char vsel; |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 17 | |
Kevin Hilman | b666b47 | 2011-07-15 17:05:48 -0700 | [diff] [blame] | 18 | vsel = voltdm->pmic->uv_to_vsel(volt); |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 19 | |
Kevin Hilman | 4bcc475 | 2011-03-28 10:40:15 -0700 | [diff] [blame] | 20 | vpconfig = voltdm->read(vp->vpconfig); |
Kevin Hilman | b7ea803 | 2011-04-04 15:25:07 -0700 | [diff] [blame] | 21 | vpconfig &= ~(vp->common->vpconfig_initvoltage_mask | |
Kevin Hilman | b666b47 | 2011-07-15 17:05:48 -0700 | [diff] [blame] | 22 | vp->common->vpconfig_forceupdate | |
| 23 | vp->common->vpconfig_initvdd); |
Kevin Hilman | 0ec3041 | 2011-04-04 16:02:28 -0700 | [diff] [blame] | 24 | vpconfig |= vsel << __ffs(vp->common->vpconfig_initvoltage_mask); |
Kevin Hilman | 4bcc475 | 2011-03-28 10:40:15 -0700 | [diff] [blame] | 25 | voltdm->write(vpconfig, vp->vpconfig); |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 26 | |
| 27 | /* Trigger initVDD value copy to voltage processor */ |
Kevin Hilman | b7ea803 | 2011-04-04 15:25:07 -0700 | [diff] [blame] | 28 | voltdm->write((vpconfig | vp->common->vpconfig_initvdd), |
Kevin Hilman | 4bcc475 | 2011-03-28 10:40:15 -0700 | [diff] [blame] | 29 | vp->vpconfig); |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 30 | |
| 31 | /* Clear initVDD copy trigger bit */ |
Kevin Hilman | 4bcc475 | 2011-03-28 10:40:15 -0700 | [diff] [blame] | 32 | voltdm->write(vpconfig, vp->vpconfig); |
Kevin Hilman | b666b47 | 2011-07-15 17:05:48 -0700 | [diff] [blame] | 33 | |
| 34 | return vpconfig; |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 35 | } |
| 36 | |
| 37 | /* Generic voltage init functions */ |
| 38 | void __init omap_vp_init(struct voltagedomain *voltdm) |
| 39 | { |
Kevin Hilman | b7ea803 | 2011-04-04 15:25:07 -0700 | [diff] [blame] | 40 | struct omap_vp_instance *vp = voltdm->vp; |
Kevin Hilman | 667216d | 2011-04-04 17:58:21 -0700 | [diff] [blame] | 41 | u32 val, sys_clk_rate, timeout, waittime; |
| 42 | u32 vddmin, vddmax, vstepmin, vstepmax; |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 43 | |
Russell King | d980e0f | 2012-02-07 09:42:11 +0000 | [diff] [blame] | 44 | if (!voltdm->pmic || !voltdm->pmic->uv_to_vsel) { |
| 45 | pr_err("%s: No PMIC info for vdd_%s\n", __func__, voltdm->name); |
| 46 | return; |
| 47 | } |
| 48 | |
Kevin Hilman | 4bcc475 | 2011-03-28 10:40:15 -0700 | [diff] [blame] | 49 | if (!voltdm->read || !voltdm->write) { |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 50 | pr_err("%s: No read/write API for accessing vdd_%s regs\n", |
| 51 | __func__, voltdm->name); |
| 52 | return; |
| 53 | } |
| 54 | |
Kevin Hilman | 6f56727 | 2011-07-14 11:10:27 -0700 | [diff] [blame] | 55 | vp->enabled = false; |
| 56 | |
| 57 | /* Divide to avoid overflow */ |
| 58 | sys_clk_rate = voltdm->sys_clk.rate / 1000; |
| 59 | |
Kevin Hilman | 667216d | 2011-04-04 17:58:21 -0700 | [diff] [blame] | 60 | timeout = (sys_clk_rate * voltdm->pmic->vp_timeout_us) / 1000; |
Tero Kristo | 085b302 | 2012-09-25 19:33:40 +0300 | [diff] [blame] | 61 | vddmin = max(voltdm->vp_param->vddmin, voltdm->pmic->vddmin); |
| 62 | vddmax = min(voltdm->vp_param->vddmax, voltdm->pmic->vddmax); |
| 63 | vddmin = voltdm->pmic->uv_to_vsel(vddmin); |
| 64 | vddmax = voltdm->pmic->uv_to_vsel(vddmax); |
Kevin Hilman | 6f56727 | 2011-07-14 11:10:27 -0700 | [diff] [blame] | 65 | |
Yuan Jiangli | 3223d00 | 2012-03-06 12:51:12 -0600 | [diff] [blame] | 66 | waittime = DIV_ROUND_UP(voltdm->pmic->step_size * sys_clk_rate, |
| 67 | 1000 * voltdm->pmic->slew_rate); |
Kevin Hilman | 667216d | 2011-04-04 17:58:21 -0700 | [diff] [blame] | 68 | vstepmin = voltdm->pmic->vp_vstepmin; |
| 69 | vstepmax = voltdm->pmic->vp_vstepmax; |
Kevin Hilman | 6f56727 | 2011-07-14 11:10:27 -0700 | [diff] [blame] | 70 | |
Kevin Hilman | 667216d | 2011-04-04 17:58:21 -0700 | [diff] [blame] | 71 | /* |
| 72 | * VP_CONFIG: error gain is not set here, it will be updated |
| 73 | * on each scale, based on OPP. |
| 74 | */ |
| 75 | val = (voltdm->pmic->vp_erroroffset << |
| 76 | __ffs(voltdm->vp->common->vpconfig_erroroffset_mask)) | |
Kevin Hilman | b7ea803 | 2011-04-04 15:25:07 -0700 | [diff] [blame] | 77 | vp->common->vpconfig_timeouten; |
Kevin Hilman | 667216d | 2011-04-04 17:58:21 -0700 | [diff] [blame] | 78 | voltdm->write(val, vp->vpconfig); |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 79 | |
Kevin Hilman | 667216d | 2011-04-04 17:58:21 -0700 | [diff] [blame] | 80 | /* VSTEPMIN */ |
| 81 | val = (waittime << vp->common->vstepmin_smpswaittimemin_shift) | |
| 82 | (vstepmin << vp->common->vstepmin_stepmin_shift); |
| 83 | voltdm->write(val, vp->vstepmin); |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 84 | |
Kevin Hilman | 667216d | 2011-04-04 17:58:21 -0700 | [diff] [blame] | 85 | /* VSTEPMAX */ |
| 86 | val = (vstepmax << vp->common->vstepmax_stepmax_shift) | |
| 87 | (waittime << vp->common->vstepmax_smpswaittimemax_shift); |
| 88 | voltdm->write(val, vp->vstepmax); |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 89 | |
Kevin Hilman | 667216d | 2011-04-04 17:58:21 -0700 | [diff] [blame] | 90 | /* VLIMITTO */ |
| 91 | val = (vddmax << vp->common->vlimitto_vddmax_shift) | |
| 92 | (vddmin << vp->common->vlimitto_vddmin_shift) | |
| 93 | (timeout << vp->common->vlimitto_timeout_shift); |
| 94 | voltdm->write(val, vp->vlimitto); |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 95 | } |
| 96 | |
Kevin Hilman | 76ea742 | 2011-04-05 15:15:31 -0700 | [diff] [blame] | 97 | int omap_vp_update_errorgain(struct voltagedomain *voltdm, |
| 98 | unsigned long target_volt) |
| 99 | { |
| 100 | struct omap_volt_data *volt_data; |
| 101 | |
Kevin Hilman | 8798c4a | 2011-07-18 15:31:43 -0700 | [diff] [blame] | 102 | if (!voltdm->vp) |
| 103 | return -EINVAL; |
| 104 | |
Kevin Hilman | 76ea742 | 2011-04-05 15:15:31 -0700 | [diff] [blame] | 105 | /* Get volt_data corresponding to target_volt */ |
| 106 | volt_data = omap_voltage_get_voltdata(voltdm, target_volt); |
| 107 | if (IS_ERR(volt_data)) |
| 108 | return -EINVAL; |
| 109 | |
| 110 | /* Setting vp errorgain based on the voltage */ |
| 111 | voltdm->rmw(voltdm->vp->common->vpconfig_errorgain_mask, |
| 112 | volt_data->vp_errgain << |
| 113 | __ffs(voltdm->vp->common->vpconfig_errorgain_mask), |
| 114 | voltdm->vp->vpconfig); |
| 115 | |
| 116 | return 0; |
| 117 | } |
| 118 | |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 119 | /* VP force update method of voltage scaling */ |
| 120 | int omap_vp_forceupdate_scale(struct voltagedomain *voltdm, |
| 121 | unsigned long target_volt) |
| 122 | { |
Kevin Hilman | b7ea803 | 2011-04-04 15:25:07 -0700 | [diff] [blame] | 123 | struct omap_vp_instance *vp = voltdm->vp; |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 124 | u32 vpconfig; |
| 125 | u8 target_vsel, current_vsel; |
| 126 | int ret, timeout = 0; |
| 127 | |
| 128 | ret = omap_vc_pre_scale(voltdm, target_volt, &target_vsel, ¤t_vsel); |
| 129 | if (ret) |
| 130 | return ret; |
| 131 | |
| 132 | /* |
| 133 | * Clear all pending TransactionDone interrupt/status. Typical latency |
| 134 | * is <3us |
| 135 | */ |
| 136 | while (timeout++ < VP_TRANXDONE_TIMEOUT) { |
Kevin Hilman | b7ea803 | 2011-04-04 15:25:07 -0700 | [diff] [blame] | 137 | vp->common->ops->clear_txdone(vp->id); |
| 138 | if (!vp->common->ops->check_txdone(vp->id)) |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 139 | break; |
| 140 | udelay(1); |
| 141 | } |
| 142 | if (timeout >= VP_TRANXDONE_TIMEOUT) { |
Nishanth Menon | 9bb0537 | 2012-10-25 13:37:16 -0500 | [diff] [blame] | 143 | pr_warn("%s: vdd_%s TRANXDONE timeout exceeded. Voltage change aborted\n", |
Paul Walmsley | 7852ec0 | 2012-07-26 00:54:26 -0600 | [diff] [blame] | 144 | __func__, voltdm->name); |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 145 | return -ETIMEDOUT; |
| 146 | } |
| 147 | |
Kevin Hilman | b666b47 | 2011-07-15 17:05:48 -0700 | [diff] [blame] | 148 | vpconfig = _vp_set_init_voltage(voltdm, target_volt); |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 149 | |
| 150 | /* Force update of voltage */ |
Kevin Hilman | b666b47 | 2011-07-15 17:05:48 -0700 | [diff] [blame] | 151 | voltdm->write(vpconfig | vp->common->vpconfig_forceupdate, |
| 152 | voltdm->vp->vpconfig); |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 153 | |
| 154 | /* |
| 155 | * Wait for TransactionDone. Typical latency is <200us. |
| 156 | * Depends on SMPSWAITTIMEMIN/MAX and voltage change |
| 157 | */ |
| 158 | timeout = 0; |
Kevin Hilman | b7ea803 | 2011-04-04 15:25:07 -0700 | [diff] [blame] | 159 | omap_test_timeout(vp->common->ops->check_txdone(vp->id), |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 160 | VP_TRANXDONE_TIMEOUT, timeout); |
| 161 | if (timeout >= VP_TRANXDONE_TIMEOUT) |
Paul Walmsley | 7852ec0 | 2012-07-26 00:54:26 -0600 | [diff] [blame] | 162 | pr_err("%s: vdd_%s TRANXDONE timeout exceeded. TRANXDONE never got set after the voltage update\n", |
| 163 | __func__, voltdm->name); |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 164 | |
| 165 | omap_vc_post_scale(voltdm, target_volt, target_vsel, current_vsel); |
| 166 | |
| 167 | /* |
| 168 | * Disable TransactionDone interrupt , clear all status, clear |
| 169 | * control registers |
| 170 | */ |
| 171 | timeout = 0; |
| 172 | while (timeout++ < VP_TRANXDONE_TIMEOUT) { |
Kevin Hilman | b7ea803 | 2011-04-04 15:25:07 -0700 | [diff] [blame] | 173 | vp->common->ops->clear_txdone(vp->id); |
| 174 | if (!vp->common->ops->check_txdone(vp->id)) |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 175 | break; |
| 176 | udelay(1); |
| 177 | } |
| 178 | |
| 179 | if (timeout >= VP_TRANXDONE_TIMEOUT) |
Paul Walmsley | 7852ec0 | 2012-07-26 00:54:26 -0600 | [diff] [blame] | 180 | pr_warn("%s: vdd_%s TRANXDONE timeout exceeded while trying to clear the TRANXDONE status\n", |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 181 | __func__, voltdm->name); |
| 182 | |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 183 | /* Clear force bit */ |
Kevin Hilman | 4bcc475 | 2011-03-28 10:40:15 -0700 | [diff] [blame] | 184 | voltdm->write(vpconfig, vp->vpconfig); |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 185 | |
| 186 | return 0; |
| 187 | } |
| 188 | |
| 189 | /** |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 190 | * omap_vp_enable() - API to enable a particular VP |
| 191 | * @voltdm: pointer to the VDD whose VP is to be enabled. |
| 192 | * |
| 193 | * This API enables a particular voltage processor. Needed by the smartreflex |
| 194 | * class drivers. |
| 195 | */ |
| 196 | void omap_vp_enable(struct voltagedomain *voltdm) |
| 197 | { |
Kevin Hilman | b7ea803 | 2011-04-04 15:25:07 -0700 | [diff] [blame] | 198 | struct omap_vp_instance *vp; |
Kevin Hilman | b666b47 | 2011-07-15 17:05:48 -0700 | [diff] [blame] | 199 | u32 vpconfig, volt; |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 200 | |
| 201 | if (!voltdm || IS_ERR(voltdm)) { |
Nishanth Menon | 9bb0537 | 2012-10-25 13:37:16 -0500 | [diff] [blame] | 202 | pr_warn("%s: VDD specified does not exist!\n", __func__); |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 203 | return; |
| 204 | } |
| 205 | |
Kevin Hilman | b7ea803 | 2011-04-04 15:25:07 -0700 | [diff] [blame] | 206 | vp = voltdm->vp; |
Kevin Hilman | 4bcc475 | 2011-03-28 10:40:15 -0700 | [diff] [blame] | 207 | if (!voltdm->read || !voltdm->write) { |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 208 | pr_err("%s: No read/write API for accessing vdd_%s regs\n", |
| 209 | __func__, voltdm->name); |
| 210 | return; |
| 211 | } |
| 212 | |
| 213 | /* If VP is already enabled, do nothing. Return */ |
Kevin Hilman | b7ea803 | 2011-04-04 15:25:07 -0700 | [diff] [blame] | 214 | if (vp->enabled) |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 215 | return; |
| 216 | |
Kevin Hilman | b666b47 | 2011-07-15 17:05:48 -0700 | [diff] [blame] | 217 | volt = voltdm_get_voltage(voltdm); |
| 218 | if (!volt) { |
Nishanth Menon | 9bb0537 | 2012-10-25 13:37:16 -0500 | [diff] [blame] | 219 | pr_warn("%s: unable to find current voltage for %s\n", |
| 220 | __func__, voltdm->name); |
Kevin Hilman | b666b47 | 2011-07-15 17:05:48 -0700 | [diff] [blame] | 221 | return; |
| 222 | } |
| 223 | |
| 224 | vpconfig = _vp_set_init_voltage(voltdm, volt); |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 225 | |
| 226 | /* Enable VP */ |
Kevin Hilman | b7ea803 | 2011-04-04 15:25:07 -0700 | [diff] [blame] | 227 | vpconfig |= vp->common->vpconfig_vpenable; |
Kevin Hilman | 4bcc475 | 2011-03-28 10:40:15 -0700 | [diff] [blame] | 228 | voltdm->write(vpconfig, vp->vpconfig); |
Kevin Hilman | b666b47 | 2011-07-15 17:05:48 -0700 | [diff] [blame] | 229 | |
Kevin Hilman | b7ea803 | 2011-04-04 15:25:07 -0700 | [diff] [blame] | 230 | vp->enabled = true; |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 231 | } |
| 232 | |
| 233 | /** |
| 234 | * omap_vp_disable() - API to disable a particular VP |
| 235 | * @voltdm: pointer to the VDD whose VP is to be disabled. |
| 236 | * |
| 237 | * This API disables a particular voltage processor. Needed by the smartreflex |
| 238 | * class drivers. |
| 239 | */ |
| 240 | void omap_vp_disable(struct voltagedomain *voltdm) |
| 241 | { |
Kevin Hilman | b7ea803 | 2011-04-04 15:25:07 -0700 | [diff] [blame] | 242 | struct omap_vp_instance *vp; |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 243 | u32 vpconfig; |
| 244 | int timeout; |
| 245 | |
| 246 | if (!voltdm || IS_ERR(voltdm)) { |
Nishanth Menon | 9bb0537 | 2012-10-25 13:37:16 -0500 | [diff] [blame] | 247 | pr_warn("%s: VDD specified does not exist!\n", __func__); |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 248 | return; |
| 249 | } |
| 250 | |
Kevin Hilman | b7ea803 | 2011-04-04 15:25:07 -0700 | [diff] [blame] | 251 | vp = voltdm->vp; |
Kevin Hilman | 4bcc475 | 2011-03-28 10:40:15 -0700 | [diff] [blame] | 252 | if (!voltdm->read || !voltdm->write) { |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 253 | pr_err("%s: No read/write API for accessing vdd_%s regs\n", |
| 254 | __func__, voltdm->name); |
| 255 | return; |
| 256 | } |
| 257 | |
| 258 | /* If VP is already disabled, do nothing. Return */ |
Kevin Hilman | b7ea803 | 2011-04-04 15:25:07 -0700 | [diff] [blame] | 259 | if (!vp->enabled) { |
Paul Walmsley | 7852ec0 | 2012-07-26 00:54:26 -0600 | [diff] [blame] | 260 | pr_warn("%s: Trying to disable VP for vdd_%s when it is already disabled\n", |
| 261 | __func__, voltdm->name); |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 262 | return; |
| 263 | } |
| 264 | |
| 265 | /* Disable VP */ |
Kevin Hilman | 4bcc475 | 2011-03-28 10:40:15 -0700 | [diff] [blame] | 266 | vpconfig = voltdm->read(vp->vpconfig); |
Kevin Hilman | b7ea803 | 2011-04-04 15:25:07 -0700 | [diff] [blame] | 267 | vpconfig &= ~vp->common->vpconfig_vpenable; |
Kevin Hilman | 4bcc475 | 2011-03-28 10:40:15 -0700 | [diff] [blame] | 268 | voltdm->write(vpconfig, vp->vpconfig); |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 269 | |
| 270 | /* |
| 271 | * Wait for VP idle Typical latency is <2us. Maximum latency is ~100us |
| 272 | */ |
Kevin Hilman | 4bcc475 | 2011-03-28 10:40:15 -0700 | [diff] [blame] | 273 | omap_test_timeout((voltdm->read(vp->vstatus)), |
| 274 | VP_IDLE_TIMEOUT, timeout); |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 275 | |
| 276 | if (timeout >= VP_IDLE_TIMEOUT) |
Nishanth Menon | 9bb0537 | 2012-10-25 13:37:16 -0500 | [diff] [blame] | 277 | pr_warn("%s: vdd_%s idle timedout\n", __func__, voltdm->name); |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 278 | |
Kevin Hilman | b7ea803 | 2011-04-04 15:25:07 -0700 | [diff] [blame] | 279 | vp->enabled = false; |
Kevin Hilman | 01f48d3 | 2011-03-21 14:29:13 -0700 | [diff] [blame] | 280 | |
| 281 | return; |
| 282 | } |