summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorKeerthy <j-keerthy@ti.com>2017-06-02 15:00:30 +0530
committerJaehoon Chung <jh80.chung@samsung.com>2017-06-09 20:25:16 +0900
commite395b8848ac3a432faa70b4ba3bcbcbcc91ca555 (patch)
treec5ce180567034c9aa36fda15c9892f8938fe7ab1 /drivers/power
parent75bceb22b3ed6882daa5933c3eb353364c7a7c83 (diff)
downloadu-boot-e395b8848ac3a432faa70b4ba3bcbcbcc91ca555.tar.gz
u-boot-e395b8848ac3a432faa70b4ba3bcbcbcc91ca555.tar.bz2
u-boot-e395b8848ac3a432faa70b4ba3bcbcbcc91ca555.zip
power: pmic: tps65218: Add DCDC3 configuration
Some boards like am437x-gp-evm require dcdc3 also to be configured as it feeds on to ddr. Hence add the capability as well. Signed-off-by: Keerthy <j-keerthy@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/pmic/pmic_tps65218.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/power/pmic/pmic_tps65218.c b/drivers/power/pmic/pmic_tps65218.c
index c5e768ae4b..911f63942d 100644
--- a/drivers/power/pmic/pmic_tps65218.c
+++ b/drivers/power/pmic/pmic_tps65218.c
@@ -96,7 +96,8 @@ int tps65218_reg_write(uchar prot_level, uchar dest_reg, uchar dest_val,
int tps65218_voltage_update(uchar dc_cntrl_reg, uchar volt_sel)
{
if ((dc_cntrl_reg != TPS65218_DCDC1) &&
- (dc_cntrl_reg != TPS65218_DCDC2))
+ (dc_cntrl_reg != TPS65218_DCDC2) &&
+ (dc_cntrl_reg != TPS65218_DCDC3))
return 1;
/* set voltage level */