diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-05-14 08:16:51 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-05-14 13:03:04 -0400 |
commit | 9a00630c3db8ca064a8904dbcd9632fb81244bc0 (patch) | |
tree | ecd498e18ba5353096d8d24bbd8e78dc5a2068c3 /include/linux/regulator | |
parent | 70e5f6456cf561de8842be537b066a1bab1f1fee (diff) |
regulator: tps62360: support force PWM mode via regulator mode
Change the mechanism of enabling the force PWM mode through
regulator set mode. This can be dynamically configured now.
In the REGULATOR_MODE_FAST the force PWM is enabled and in
REGULATOR_MODE_NORMAL the force PWM is disabled.
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/regulator')
-rw-r--r-- | include/linux/regulator/tps62360.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/regulator/tps62360.h b/include/linux/regulator/tps62360.h index 5e11d5055643..a4c49394c497 100644 --- a/include/linux/regulator/tps62360.h +++ b/include/linux/regulator/tps62360.h | |||
@@ -30,7 +30,6 @@ | |||
30 | * struct tps62360_regulator_platform_data - tps62360 regulator platform data. | 30 | * struct tps62360_regulator_platform_data - tps62360 regulator platform data. |
31 | * | 31 | * |
32 | * @reg_init_data: The regulator init data. | 32 | * @reg_init_data: The regulator init data. |
33 | * @en_force_pwm: Enable force pwm or not. | ||
34 | * @en_discharge: Enable discharge the output capacitor via internal | 33 | * @en_discharge: Enable discharge the output capacitor via internal |
35 | * register. | 34 | * register. |
36 | * @en_internal_pulldn: internal pull down enable or not. | 35 | * @en_internal_pulldn: internal pull down enable or not. |
@@ -43,7 +42,6 @@ | |||
43 | */ | 42 | */ |
44 | struct tps62360_regulator_platform_data { | 43 | struct tps62360_regulator_platform_data { |
45 | struct regulator_init_data *reg_init_data; | 44 | struct regulator_init_data *reg_init_data; |
46 | bool en_force_pwm; | ||
47 | bool en_discharge; | 45 | bool en_discharge; |
48 | bool en_internal_pulldn; | 46 | bool en_internal_pulldn; |
49 | int vsel0_gpio; | 47 | int vsel0_gpio; |