arm64: dts: ti: k3-am62a7-sk: Split vcc_3v3 regulators
authorJai Luthra <j-luthra@ti.com>
Tue, 3 Oct 2023 09:11:31 +0000 (14:41 +0530)
committerVignesh Raghavendra <vigneshr@ti.com>
Thu, 5 Oct 2023 15:26:09 +0000 (20:56 +0530)
VCC_3V3_MAIN is the output of LM5141-Q1, and it serves as an input to
TPS22965DSGT which produces VCC_3V3_SYS. [1]

Link: https://www.ti.com/lit/zip/sprr459
Signed-off-by: Jai Luthra <j-luthra@ti.com>
Reviewed-by: Devarsh Thakkar <devarsht@ti.com>
Link: https://lore.kernel.org/r/20231003-mcasp_am62a-v3-2-2b631ff319ca@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-am62a7-sk.dts

index cff283c75f8ecd78e03910a54f8df04908d0f912..c689d3da2def3302cbe6f093692c03f2fb2c51cf 100644 (file)
                regulator-boot-on;
        };
 
-       vcc_3v3_sys: regulator-2 {
+       vcc_3v3_main: regulator-2 {
                /* output of LM5141-Q1 */
                compatible = "regulator-fixed";
-               regulator-name = "vcc_3v3_sys";
+               regulator-name = "vcc_3v3_main";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
                vin-supply = <&vmain_pd>;
                gpio = <&exp1 3 GPIO_ACTIVE_HIGH>;
        };
 
+       vcc_3v3_sys: regulator-4 {
+               /* output of TPS222965DSGT */
+               compatible = "regulator-fixed";
+               regulator-name = "vcc_3v3_sys";
+               regulator-min-microvolt = <3300000>;
+               regulator-max-microvolt = <3300000>;
+               vin-supply = <&vcc_3v3_main>;
+               regulator-always-on;
+               regulator-boot-on;
+       };
+
        leds {
                compatible = "gpio-leds";
                pinctrl-names = "default";