diff options
-rw-r--r-- | drivers/regulator/tps65090-regulator.c | 5 | ||||
-rw-r--r-- | include/linux/mfd/tps65090.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/drivers/regulator/tps65090-regulator.c b/drivers/regulator/tps65090-regulator.c index 584a185f89e1..0732d9ba3f40 100644 --- a/drivers/regulator/tps65090-regulator.c +++ b/drivers/regulator/tps65090-regulator.c | |||
@@ -37,6 +37,9 @@ static struct regulator_ops tps65090_ops = { | |||
37 | .is_enabled = regulator_is_enabled_regmap, | 37 | .is_enabled = regulator_is_enabled_regmap, |
38 | }; | 38 | }; |
39 | 39 | ||
40 | static struct regulator_ops tps65090_ldo_ops = { | ||
41 | }; | ||
42 | |||
40 | #define tps65090_REG_DESC(_id, _sname, _en_reg, _ops) \ | 43 | #define tps65090_REG_DESC(_id, _sname, _en_reg, _ops) \ |
41 | { \ | 44 | { \ |
42 | .name = "TPS65090_RAILS"#_id, \ | 45 | .name = "TPS65090_RAILS"#_id, \ |
@@ -60,6 +63,8 @@ static struct regulator_desc tps65090_regulator_desc[] = { | |||
60 | tps65090_REG_DESC(FET5, "infet5", 0x13, tps65090_ops), | 63 | tps65090_REG_DESC(FET5, "infet5", 0x13, tps65090_ops), |
61 | tps65090_REG_DESC(FET6, "infet6", 0x14, tps65090_ops), | 64 | tps65090_REG_DESC(FET6, "infet6", 0x14, tps65090_ops), |
62 | tps65090_REG_DESC(FET7, "infet7", 0x15, tps65090_ops), | 65 | tps65090_REG_DESC(FET7, "infet7", 0x15, tps65090_ops), |
66 | tps65090_REG_DESC(LDO1, "vsys_l1", 0, tps65090_ldo_ops), | ||
67 | tps65090_REG_DESC(LDO2, "vsys_l2", 0, tps65090_ldo_ops), | ||
63 | }; | 68 | }; |
64 | 69 | ||
65 | static inline bool is_dcdc(int id) | 70 | static inline bool is_dcdc(int id) |
diff --git a/include/linux/mfd/tps65090.h b/include/linux/mfd/tps65090.h index 958bf155097c..598921221ff0 100644 --- a/include/linux/mfd/tps65090.h +++ b/include/linux/mfd/tps65090.h | |||
@@ -36,6 +36,8 @@ enum { | |||
36 | TPS65090_REGULATOR_FET5, | 36 | TPS65090_REGULATOR_FET5, |
37 | TPS65090_REGULATOR_FET6, | 37 | TPS65090_REGULATOR_FET6, |
38 | TPS65090_REGULATOR_FET7, | 38 | TPS65090_REGULATOR_FET7, |
39 | TPS65090_REGULATOR_LDO1, | ||
40 | TPS65090_REGULATOR_LDO2, | ||
39 | 41 | ||
40 | /* Last entry for maximum ID */ | 42 | /* Last entry for maximum ID */ |
41 | TPS65090_REGULATOR_MAX, | 43 | TPS65090_REGULATOR_MAX, |