diff options
Diffstat (limited to 'include/linux/regulator/driver.h')
-rw-r--r-- | include/linux/regulator/driver.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/regulator/driver.h b/include/linux/regulator/driver.h index 9370e65348a4..bbe03a1924c0 100644 --- a/include/linux/regulator/driver.h +++ b/include/linux/regulator/driver.h | |||
@@ -228,10 +228,14 @@ enum regulator_type { | |||
228 | * output when using regulator_set_voltage_sel_regmap | 228 | * output when using regulator_set_voltage_sel_regmap |
229 | * @enable_reg: Register for control when using regmap enable/disable ops | 229 | * @enable_reg: Register for control when using regmap enable/disable ops |
230 | * @enable_mask: Mask for control when using regmap enable/disable ops | 230 | * @enable_mask: Mask for control when using regmap enable/disable ops |
231 | * @enable_val: Enabling value for control when using regmap enable/disable ops | ||
232 | * @disable_val: Disabling value for control when using regmap enable/disable ops | ||
231 | * @enable_is_inverted: A flag to indicate set enable_mask bits to disable | 233 | * @enable_is_inverted: A flag to indicate set enable_mask bits to disable |
232 | * when using regulator_enable_regmap and friends APIs. | 234 | * when using regulator_enable_regmap and friends APIs. |
233 | * @bypass_reg: Register for control when using regmap set_bypass | 235 | * @bypass_reg: Register for control when using regmap set_bypass |
234 | * @bypass_mask: Mask for control when using regmap set_bypass | 236 | * @bypass_mask: Mask for control when using regmap set_bypass |
237 | * @bypass_val_on: Enabling value for control when using regmap set_bypass | ||
238 | * @bypass_val_off: Disabling value for control when using regmap set_bypass | ||
235 | * | 239 | * |
236 | * @enable_time: Time taken for initial enable of regulator (in uS). | 240 | * @enable_time: Time taken for initial enable of regulator (in uS). |
237 | */ | 241 | */ |
@@ -263,9 +267,13 @@ struct regulator_desc { | |||
263 | unsigned int apply_bit; | 267 | unsigned int apply_bit; |
264 | unsigned int enable_reg; | 268 | unsigned int enable_reg; |
265 | unsigned int enable_mask; | 269 | unsigned int enable_mask; |
270 | unsigned int enable_val; | ||
271 | unsigned int disable_val; | ||
266 | bool enable_is_inverted; | 272 | bool enable_is_inverted; |
267 | unsigned int bypass_reg; | 273 | unsigned int bypass_reg; |
268 | unsigned int bypass_mask; | 274 | unsigned int bypass_mask; |
275 | unsigned int bypass_val_on; | ||
276 | unsigned int bypass_val_off; | ||
269 | 277 | ||
270 | unsigned int enable_time; | 278 | unsigned int enable_time; |
271 | }; | 279 | }; |