summaryrefslogtreecommitdiff
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorLaxman Dewangan <ldewangan@nvidia.com>2011-11-16 17:01:05 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2011-11-30 21:50:13 -0800
commitdd39062c182bf99df2549c3de65e8c04a1623118 (patch)
tree06f7eb160d2ee51225a7967db11a57251d8a7dd9 /include/linux/regulator
parent1b033e7882422714d4afe8bd621a8628aa05db40 (diff)
regulator: tps62361x: support for output discharge
Supporting the discharge of output capacitor via a typ. 300Ohm path. bug 871944 Reviewed-on: http://git-master/r/65107 (cherry picked from commit a969b5c5e024c1ef6e29ef9d3603dd6bbe292567) Change-Id: I1a8b605f486ab5978feb3a711c9c4e57ea737278 Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com> Reviewed-on: http://git-master/r/65804 Rebase-Id: R7d45dc727b03fa8b55470cc5507052eedecc8f76
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 d2c57cf50d00..7e8a37529665 100644
--- a/include/linux/regulator/tps6236x-regulator.h
+++ b/include/linux/regulator/tps6236x-regulator.h
@@ -37,6 +37,8 @@
* @init_apply: Init parameter applied or not.
* @is_force_pwm: Enable force pwm or not. If not then PFM mode configuration
* will be used.
+ * @enable_discharge: Enable discharge the output capacitor via a typ. 300Ohm
+ * path
*/
struct tps6236x_regulator_platform_data {
@@ -46,6 +48,7 @@ struct tps6236x_regulator_platform_data {
int init_uV;
unsigned init_apply:1;
bool is_force_pwm;
+ bool enable_discharge;
};
#endif /* __REGULATOR_TPS6236X_H */