]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
drivers: power: regulator: tps65941_regulator: Add support for 3Phase buck
authorSinthu Raja <sinthu.raja@ti.com>
Wed, 9 Feb 2022 09:36:47 +0000 (15:06 +0530)
committerTom Rini <trini@konsulko.com>
Wed, 16 Feb 2022 19:19:29 +0000 (14:19 -0500)
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

index d73f8324832d35ec3e41eaeea0b5c35a2f2a6d89..89918c38fa7a9f375d60ba217d2647bb92d85ea5 100644 (file)
@@ -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 {