mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-17 22:49:02 +00:00
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>
This commit is contained in:
parent
75bceb22b3
commit
e395b8848a
1 changed files with 2 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue