[PATCH 03/17] drivers: power: regulator: tps65941_regulator: Add support for 3Phase buck

Jaehoon Chung jh80.chung at samsung.com
Mon Jun 28 00:00:16 CEST 2021


On 6/26/21 11:55 PM, Sinthu Raja wrote:
> From: Amarnath MB <amarnath.mb at ti.com>
> 
> Buck regulator 1, 2 and 3 of TPS6594132 on j721e-eaik is in 3 Phase
> confguration, in-order to support this, add configuring 3 Phase buck
> in tps65941 while driver probing.
> 
> Signed-off-by: Amarnath MB <amarnath.mb at ti.com>
> Signed-off-by: Sinthu Raja <sinthu.raja at ti.com>


Acked-by: Jaehoon Chung <jh80.chung at samsung.com>

Best Regards,
Jaehoon Chung

> ---
>  drivers/power/regulator/tps65941_regulator.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/power/regulator/tps65941_regulator.c b/drivers/power/regulator/tps65941_regulator.c
> index d73f832483..89918c38fa 100644
> --- a/drivers/power/regulator/tps65941_regulator.c
> +++ b/drivers/power/regulator/tps65941_regulator.c
> @@ -299,6 +299,8 @@ static int tps65941_buck_probe(struct udevice *dev)
>  		idx = 1;
>  	} else if (idx == 34) {
>  		idx = 3;
> +	} else if (idx == 123) {
> +		idx = 1;
>  	} else if (idx == 1234) {
>  		idx = 1;
>  	} else {
> 



More information about the U-Boot mailing list