]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
arm64: dts: ti: k3-am62d2-evm: Fix regulator properties
authorParesh Bhagat <p-bhagat@ti.com>
Tue, 28 Oct 2025 21:01:53 +0000 (02:31 +0530)
committerVignesh Raghavendra <vigneshr@ti.com>
Thu, 30 Oct 2025 13:43:26 +0000 (19:13 +0530)
Fix missing supply for regulators TLV7103318QDSERQ1 and TPS22918DBVR.
Correct padconfig and gpio for TLV7103318QDSERQ1.

Reference Docs
Datasheet - https://www.ti.com/lit/ug/sprujd4/sprujd4.pdf
Schematics - https://www.ti.com/lit/zip/sprcal5

Fixes: 1544bca2f188e ("arm64: dts: ti: Add support for AM62D2-EVM")
Cc: stable@vger.kernel.org
Signed-off-by: Paresh Bhagat <p-bhagat@ti.com>
Reviewed-by: Shree Ramamoorthy <s-ramamoorthy@ti.com>
Link: https://patch.msgid.link/20251028210153.420473-1-p-bhagat@ti.com
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
arch/arm64/boot/dts/ti/k3-am62d2-evm.dts

index 83af889e790aebd29844956076bfbe23496c2aac..d202484eec3fb69a1eb7a1c72f538725f06cf1a7 100644 (file)
                regulator-name = "vdd_mmc1";
                regulator-min-microvolt = <3300000>;
                regulator-max-microvolt = <3300000>;
+               vin-supply = <&vcc_3v3_sys>;
                regulator-boot-on;
                enable-active-high;
                gpio = <&exp1 3 GPIO_ACTIVE_HIGH>;
        };
 
        vddshv_sdio: regulator-6 {
+               /* output of TLV7103318QDSERQ1 */
                compatible = "regulator-gpio";
                regulator-name = "vddshv_sdio";
                pinctrl-names = "default";
                pinctrl-0 = <&vddshv_sdio_pins_default>;
                regulator-min-microvolt = <1800000>;
                regulator-max-microvolt = <3300000>;
+               vin-supply = <&vcc_5v0>;
                regulator-boot-on;
-               gpios = <&main_gpio1 31 GPIO_ACTIVE_HIGH>;
+               gpios = <&main_gpio0 59 GPIO_ACTIVE_HIGH>;
                states = <1800000 0x0>,
                         <3300000 0x1>;
                bootph-all;
 
        vddshv_sdio_pins_default: vddshv-sdio-default-pins {
                pinctrl-single,pins = <
-                       AM62DX_IOPAD(0x1f4, PIN_OUTPUT, 7) /* (M19) GPMC0_CLK.GPIO1_31 */
+                       AM62DX_IOPAD(0x00f0, PIN_INPUT, 7) /* (Y21) GPIO0_59 */
                >;
                bootph-all;
        };