]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: ti: k3-am68-sk: Fix regulator hierarchy
authorYemike Abhilash Chandra <y-abhilashchandra@ti.com>
Tue, 15 Apr 2025 11:13:23 +0000 (16:43 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 4 Jun 2025 12:45:08 +0000 (14:45 +0200)
commit 7edf0a4d3bb7f5cd84f172b76c380c4259bb4ef8 upstream.

Update the vin-supply of the TLV71033 regulator from LM5141 (vsys_3v3)
to LM61460 (vsys_5v0) to match the schematics. Add a fixed regulator
node for the LM61460 5V supply to support this change.

AM68-SK schematics: https://www.ti.com/lit/zip/sprr463

Fixes: a266c180b398 ("arm64: dts: ti: k3-am68-sk: Add support for AM68 SK base board")
Cc: stable@vger.kernel.org
Signed-off-by: Yemike Abhilash Chandra <y-abhilashchandra@ti.com>
Reviewed-by: Neha Malcom Francis <n-francis@ti.com>
Reviewed-by: Udit Kumar <u-kumar1@ti.com>
Link: https://lore.kernel.org/r/20250415111328.3847502-3-y-abhilashchandra@ti.com
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm64/boot/dts/ti/k3-am68-sk-base-board.dts

index 11522b36e0cece248571b27819c8a87e0ffe06e2..5fa70a874d7b4dcd07be9ae46fa0af7f9837d006 100644 (file)
                regulator-boot-on;
        };
 
+       vsys_5v0: regulator-vsys5v0 {
+               /* Output of LM61460 */
+               compatible = "regulator-fixed";
+               regulator-name = "vsys_5v0";
+               regulator-min-microvolt = <5000000>;
+               regulator-max-microvolt = <5000000>;
+               vin-supply = <&vusb_main>;
+               regulator-always-on;
+               regulator-boot-on;
+       };
+
        vsys_3v3: regulator-vsys3v3 {
                /* Output of LM5141 */
                compatible = "regulator-fixed";
@@ -76,7 +87,7 @@
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <3300000>;
                regulator-boot-on;
-               vin-supply = <&vsys_3v3>;
+               vin-supply = <&vsys_5v0>;
                gpios = <&main_gpio0 49 GPIO_ACTIVE_HIGH>;
                states = <1800000 0x0>,
                         <3300000 0x1>;