Skip to content
Snippets Groups Projects
Commit e395b884 authored by Keerthy's avatar Keerthy Committed by Jaehoon Chung
Browse files

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: default avatarKeerthy <j-keerthy@ti.com>
Reviewed-by: default avatarTom Rini <trini@konsulko.com>
Reviewed-by: default avatarLokesh Vutla <lokeshvutla@ti.com>
parent 75bceb22
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,8 @@ int tps65218_reg_write(uchar prot_level, uchar dest_reg, uchar dest_val, ...@@ -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) int tps65218_voltage_update(uchar dc_cntrl_reg, uchar volt_sel)
{ {
if ((dc_cntrl_reg != TPS65218_DCDC1) && if ((dc_cntrl_reg != TPS65218_DCDC1) &&
(dc_cntrl_reg != TPS65218_DCDC2)) (dc_cntrl_reg != TPS65218_DCDC2) &&
(dc_cntrl_reg != TPS65218_DCDC3))
return 1; return 1;
/* set voltage level */ /* set voltage level */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment