From: Keerthy Date: Fri, 2 Jun 2017 09:30:30 +0000 (+0530) Subject: power: pmic: tps65218: Add DCDC3 configuration X-Git-Tag: v2017.07-rc2~57^2~7 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e395b8848ac3a432faa70b4ba3bcbcbcc91ca555;p=u-boot 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 Reviewed-by: Tom Rini Reviewed-by: Lokesh Vutla --- 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 */