aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSinthu Raja <sinthu.raja@ti.com>2022-02-09 15:06:47 +0530
committerTom Rini <trini@konsulko.com>2022-02-16 14:19:29 -0500
commitdf1fa2718f8700ff23e77dba9e5b2fdf5f6ba562 (patch)
treea059d5987f99eada3175abfad5d6db8c55028d01
parent3d32ad4d2436b0804176c328dc7c570b38df6949 (diff)
downloadu-boot-df1fa2718f8700ff23e77dba9e5b2fdf5f6ba562.zip
u-boot-df1fa2718f8700ff23e77dba9e5b2fdf5f6ba562.tar.gz
u-boot-df1fa2718f8700ff23e77dba9e5b2fdf5f6ba562.tar.bz2
drivers: power: regulator: tps65941_regulator: Add support for 3Phase buck
Buck regulator 1, 2 and 3 of TPS6594132 on j721e-sk is in 3 Phase confguration, in-order to support this, add configuring 3 Phase buck in tps65941 while driver probing. Signed-off-by: Sinthu Raja <sinthu.raja@ti.com> Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
-rw-r--r--drivers/power/regulator/tps65941_regulator.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/power/regulator/tps65941_regulator.c b/drivers/power/regulator/tps65941_regulator.c
index d73f832..89918c3 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 {