Commit 53ef240f03d446e08f013b37920dc48756d9e796
Committed by
Lokesh Vutla
1 parent
edf25d94d5
Exists in
v2017.01-smarct4x
and in
2 other branches
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>
Showing 1 changed file with 2 additions and 1 deletions Side-by-side Diff
drivers/power/pmic/pmic_tps65218.c
... | ... | @@ -96,7 +96,8 @@ |
96 | 96 | int tps65218_voltage_update(uchar dc_cntrl_reg, uchar volt_sel) |
97 | 97 | { |
98 | 98 | if ((dc_cntrl_reg != TPS65218_DCDC1) && |
99 | - (dc_cntrl_reg != TPS65218_DCDC2)) | |
99 | + (dc_cntrl_reg != TPS65218_DCDC2) && | |
100 | + (dc_cntrl_reg != TPS65218_DCDC3)) | |
100 | 101 | return 1; |
101 | 102 | |
102 | 103 | /* set voltage level */ |