diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2012-08-03 14:55:27 +0530 |
---|---|---|
committer | Simone Willett <swillett@nvidia.com> | 2012-08-03 14:04:54 -0700 |
commit | 7462254a75095e2dc85a3c628c062d05eb266af0 (patch) | |
tree | 07ee7da8e83bdd66737852859050d88a51f4d3b2 /drivers/regulator | |
parent | e926e7fd710e726bc5db4783f076decb8de0b9b6 (diff) |
regulator: tps65090: support for LDO1 and LDO2
The LDO1 and LDO2 are always-on regulator from device.
Add support for these rails.
Change-Id: I9636029a1ba293b4a48f596a8e6a91112f2d2299
Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-on: http://git-master/r/120889
Reviewed-by: Automatic_Commit_Validation_User
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/tps65090-regulator.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/regulator/tps65090-regulator.c b/drivers/regulator/tps65090-regulator.c index 4ec3401af6a5..f633897f051c 100644 --- a/drivers/regulator/tps65090-regulator.c +++ b/drivers/regulator/tps65090-regulator.c @@ -99,6 +99,9 @@ static struct regulator_ops tps65090_ops = { .is_enabled = tps65090_reg_is_enabled, }; +static struct regulator_ops tps65090_ldo_ops = { +}; + #define tps65090_REG(_id, _en_reg, _en_bit, _ops) \ { \ .reg_en_reg = _en_reg, \ @@ -117,6 +120,8 @@ static struct tps65090_regulator_info TPS65090_regulator_info[] = { tps65090_REG(DCDC1, 12, 0, tps65090_ops), tps65090_REG(DCDC2, 13, 0, tps65090_ops), tps65090_REG(DCDC3, 14, 0, tps65090_ops), + tps65090_REG(LDO1, 0, 0, tps65090_ldo_ops), + tps65090_REG(LDO2, 0, 0, tps65090_ldo_ops), tps65090_REG(FET1, 15, 0, tps65090_ops), tps65090_REG(FET2, 16, 0, tps65090_ops), tps65090_REG(FET3, 17, 0, tps65090_ops), |