diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-08-03 16:19:46 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-08-03 14:05:10 -0700 |
commit | aa083068c640601716c64a067667f30613c81e24 (patch) | |
tree | 4cc4ad53cfc83cb4a22b4c0d9fdd41b96e5fb095 /include | |
parent | 7462254a75095e2dc85a3c628c062d05eb266af0 (diff) |
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 <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/120890
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/regulator/tps65090-regulator.h | 7 |
1 files changed, 6 insertions, 1 deletions
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; }; |