]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: qcom: ipq9574: Fix USB vdd info
authorVaradarajan Narayanan <quic_varada@quicinc.com>
Fri, 7 Feb 2025 07:35:45 +0000 (13:05 +0530)
committerBjorn Andersson <andersson@kernel.org>
Sat, 15 Mar 2025 03:11:30 +0000 (22:11 -0500)
USB phys in ipq9574 use the 'L5' regulator. The commit ec4f047679d5
("arm64: dts: qcom: ipq9574: Enable USB") incorrectly specified it as
'L2'. Because of this when the phy module turns off/on its regulators,
the wrong regulator is turned off/on resulting in 2 issues, namely the
correct regulator related to the USB phy is not turned off/on and the
module powered by the incorrect regulator is affected.

Fixes: ec4f047679d5 ("arm64: dts: qcom: ipq9574: Enable USB")
Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250207073545.1768990-2-quic_varada@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi

index 140e989712b21115e20dd93703c197074c24884f..bdb396afb9922a4369b4e96a09d0789cef21c046 100644 (file)
                        regulator-always-on;
                        regulator-boot-on;
                };
+
+               mp5496_l5: l5 {
+                       regulator-min-microvolt = <1800000>;
+                       regulator-max-microvolt = <1800000>;
+                       regulator-always-on;
+                       regulator-boot-on;
+               };
        };
 };
 
 };
 
 &usb_0_qmpphy {
-       vdda-pll-supply = <&mp5496_l2>;
+       vdda-pll-supply = <&mp5496_l5>;
        vdda-phy-supply = <&regulator_fixed_0p925>;
 
        status = "okay";
 
 &usb_0_qusbphy {
        vdd-supply = <&regulator_fixed_0p925>;
-       vdda-pll-supply = <&mp5496_l2>;
+       vdda-pll-supply = <&mp5496_l5>;
        vdda-phy-dpdm-supply = <&regulator_fixed_3p3>;
 
        status = "okay";