summaryrefslogtreecommitdiff
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2011-10-24 14:38:14 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:49:50 -0800
commit242381c4986c7afe609f38bb398b3b36cc113b16 (patch)
treeb7735fa50207971aef8a16fb74384189cdffc63a /include/linux/regulator
parentfd3237e589268b87c7bffa362472632fdae4c449 (diff)
regulator: tps6236x: Support to configure in force PWM mode
Added the platform data to configure the pmu in force pwm mode. Reviewed-on: http://git-master/r/61896 (cherry picked from commit 6488995a7ead950e3ab585e71528f86f3208b0da) Change-Id: I1a828013abdbdf132d77207c7c294e526d9bb825 Reviewed-on: http://git-master/r/62593 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com> Rebase-Id: Rd5da6f04a8941a13a3437988dcaaafed2fe6aa8d
Diffstat (limited to 'include/linux/regulator')
-rw-r--r--include/linux/regulator/tps6236x-regulator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/regulator/tps6236x-regulator.h b/include/linux/regulator/tps6236x-regulator.h
index d06ace99ce1f..d2c57cf50d00 100644
--- a/include/linux/regulator/tps6236x-regulator.h
+++ b/include/linux/regulator/tps6236x-regulator.h
@@ -35,6 +35,8 @@
* @init_uV: initial micro volts which need to be set.
* @init_enable: Enable or do not enable the rails during initialization.
* @init_apply: Init parameter applied or not.
+ * @is_force_pwm: Enable force pwm or not. If not then PFM mode configuration
+ * will be used.
*/
struct tps6236x_regulator_platform_data {
@@ -43,6 +45,7 @@ struct tps6236x_regulator_platform_data {
int vsel;
int init_uV;
unsigned init_apply:1;
+ bool is_force_pwm;
};
#endif /* __REGULATOR_TPS6236X_H */