diff mbox series

[V3,02/16] drivers: power: regulator: tps65941_regulator: Add support for 3Phase buck

Message ID 20220209093701.16693-3-sinthu.raja@ti.com
State Accepted
Commit df1fa2718f8700ff23e77dba9e5b2fdf5f6ba562
Delegated to: Tom Rini
Headers show
Series Add support for J721E SK | expand

Commit Message

Sinthu Raja Feb. 9, 2022, 9:36 a.m. UTC
From: Sinthu Raja <sinthu.raja@ti.com>

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>
---
 drivers/power/regulator/tps65941_regulator.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Tom Rini Feb. 17, 2022, 1:31 p.m. UTC | #1
On Wed, Feb 09, 2022 at 03:06:47PM +0530, Sinthu Raja wrote:

> From: Sinthu Raja <sinthu.raja@ti.com>
> 
> 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>

Applied to u-boot/master, thanks!
diff mbox series

Patch

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 {