summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2011-09-08 16:25:15 +0530
committerVarun Colbert <vcolbert@nvidia.com>2011-09-09 14:36:57 -0700
commit2aae0d2db5959b16ca73d53b4543e62ebc5c3c88 (patch)
treeb9637393f566d3e857d58cd386069e6a12f7101d /include
parent6b39c9f51b3c09c6aa0b1cd7e7a3fdb122200d14 (diff)
regulator: tps6591x: Take care of voltage slew rate
Adding delays in set_voltage to stablize the voltage as per voltage slew rate when changing the voltage. bug 872382 Change-Id: I2e0d68a5b83b906912ca9e31db6b845ed8fd213e Reviewed-on: http://git-master/r/51324 Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com> Tested-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-by: Peter De Schrijver <pdeschrijver@nvidia.com> Reviewed-by: Bitan Biswas <bbiswas@nvidia.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/regulator/tps6591x-regulator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/regulator/tps6591x-regulator.h b/include/linux/regulator/tps6591x-regulator.h
index 150d17707fcb..2f3566d3497b 100644
--- a/include/linux/regulator/tps6591x-regulator.h
+++ b/include/linux/regulator/tps6591x-regulator.h
@@ -57,6 +57,7 @@ enum tps6591x_ext_control {
* @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.
+ * @slew_rate_uV_per_us: Slew rate microvolt per microsec.
*/
struct tps6591x_regulator_platform_data {
@@ -65,6 +66,7 @@ struct tps6591x_regulator_platform_data {
unsigned init_enable:1;
unsigned init_apply:1;
enum tps6591x_ext_control ectrl;
+ int slew_rate_uV_per_us;
};
#endif /* __REGULATOR_TPS6591X_H */