diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/tps65090.h | 5 | ||||
| -rw-r--r-- | include/linux/mfd/tps65217.h | 1 | ||||
| -rw-r--r-- | include/linux/regulator/consumer.h | 6 |
3 files changed, 11 insertions, 1 deletions
diff --git a/include/linux/mfd/tps65090.h b/include/linux/mfd/tps65090.h index 45f0f9d2ed25..0bf2708df150 100644 --- a/include/linux/mfd/tps65090.h +++ b/include/linux/mfd/tps65090.h | |||
| @@ -92,11 +92,16 @@ struct tps65090 { | |||
| 92 | * DCDC1, DCDC2 and DCDC3. | 92 | * DCDC1, DCDC2 and DCDC3. |
| 93 | * @gpio: Gpio number if external control is enabled and controlled through | 93 | * @gpio: Gpio number if external control is enabled and controlled through |
| 94 | * gpio. | 94 | * gpio. |
| 95 | * @overcurrent_wait_valid: True if the overcurrent_wait should be applied. | ||
| 96 | * @overcurrent_wait: Value to set as the overcurrent wait time. This is the | ||
| 97 | * actual bitfield value, not a time in ms (valid value are 0 - 3). | ||
| 95 | */ | 98 | */ |
| 96 | struct tps65090_regulator_plat_data { | 99 | struct tps65090_regulator_plat_data { |
| 97 | struct regulator_init_data *reg_init_data; | 100 | struct regulator_init_data *reg_init_data; |
| 98 | bool enable_ext_control; | 101 | bool enable_ext_control; |
| 99 | int gpio; | 102 | int gpio; |
| 103 | bool overcurrent_wait_valid; | ||
| 104 | int overcurrent_wait; | ||
| 100 | }; | 105 | }; |
| 101 | 106 | ||
| 102 | struct tps65090_platform_data { | 107 | struct tps65090_platform_data { |
diff --git a/include/linux/mfd/tps65217.h b/include/linux/mfd/tps65217.h index 54b5458ec084..95d6938737fd 100644 --- a/include/linux/mfd/tps65217.h +++ b/include/linux/mfd/tps65217.h | |||
| @@ -254,7 +254,6 @@ struct tps65217 { | |||
| 254 | struct tps65217_board *pdata; | 254 | struct tps65217_board *pdata; |
| 255 | unsigned long id; | 255 | unsigned long id; |
| 256 | struct regulator_desc desc[TPS65217_NUM_REGULATOR]; | 256 | struct regulator_desc desc[TPS65217_NUM_REGULATOR]; |
| 257 | struct regulator_dev *rdev[TPS65217_NUM_REGULATOR]; | ||
| 258 | struct regmap *regmap; | 257 | struct regmap *regmap; |
| 259 | }; | 258 | }; |
| 260 | 259 | ||
diff --git a/include/linux/regulator/consumer.h b/include/linux/regulator/consumer.h index ccd3d777ee03..a2d9d81038d1 100644 --- a/include/linux/regulator/consumer.h +++ b/include/linux/regulator/consumer.h | |||
| @@ -401,6 +401,12 @@ static inline int regulator_set_voltage(struct regulator *regulator, | |||
| 401 | return 0; | 401 | return 0; |
| 402 | } | 402 | } |
| 403 | 403 | ||
| 404 | static inline int regulator_set_voltage_time(struct regulator *regulator, | ||
| 405 | int old_uV, int new_uV) | ||
| 406 | { | ||
| 407 | return 0; | ||
| 408 | } | ||
| 409 | |||
| 404 | static inline int regulator_get_voltage(struct regulator *regulator) | 410 | static inline int regulator_get_voltage(struct regulator *regulator) |
| 405 | { | 411 | { |
| 406 | return -EINVAL; | 412 | return -EINVAL; |
