From aa083068c640601716c64a067667f30613c81e24 Mon Sep 17 00:00:00 2001 From: Laxman Dewangan Date: Fri, 3 Aug 2012 16:19:46 +0530 Subject: regulator: tps65090: Support for external control of DCDC The DCDC regulators can support of control through extrenal signal. Add support of this feature. Change-Id: I9564d09cbab4d8903e8ea2fddc6739bbeb1573e2 Signed-off-by: Laxman Dewangan Reviewed-on: http://git-master/r/120890 --- include/linux/regulator/tps65090-regulator.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/linux/regulator/tps65090-regulator.h b/include/linux/regulator/tps65090-regulator.h index d0f6623e6c35..785ca84efa8b 100644 --- a/include/linux/regulator/tps65090-regulator.h +++ b/include/linux/regulator/tps65090-regulator.h @@ -43,11 +43,16 @@ enum { * * @reg_init_data: The regulator init data. * @id: Regulator ID. - * @slew_rate_uV_per_us: Slew rate microvolt per microsec. + * @enable_ext_control: Enable extrenal control or not. Only available for + * DCDC1, DCDC2 and DCDC3. + * @gpio: Gpio number if external control is enabled and controlled through + * gpio. */ struct tps65090_regulator_platform_data { int id; + bool enable_ext_control; + int gpio; struct regulator_init_data *reg_init_data; }; -- cgit v1.2.3