forked from Openwrt-EcoNet/openwrt
Add dts fixes from linux-next. Two patches from the NSSCC series are still in -next did not yet land in mainline, as well as misc other DTS changes. Add them here. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com> Link: https://github.com/openwrt/openwrt/pull/18796 Signed-off-by: Robert Marko <robimarko@gmail.com>
56 lines
1.8 KiB
Diff
56 lines
1.8 KiB
Diff
From 3857f7cf650fa4ae0047b9b6fea6f7cd242de29c Mon Sep 17 00:00:00 2001
|
|
From: Varadarajan Narayanan <quic_varada@quicinc.com>
|
|
Date: Fri, 7 Feb 2025 13:05:45 +0530
|
|
Subject: [PATCH] arm64: dts: qcom: ipq9574: Fix USB vdd info
|
|
|
|
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 | 11 +++++++++--
|
|
1 file changed, 9 insertions(+), 2 deletions(-)
|
|
|
|
--- a/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
|
|
+++ b/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
|
|
@@ -111,6 +111,13 @@
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
};
|
|
+
|
|
+ mp5496_l5: l5 {
|
|
+ regulator-min-microvolt = <1800000>;
|
|
+ regulator-max-microvolt = <1800000>;
|
|
+ regulator-always-on;
|
|
+ regulator-boot-on;
|
|
+ };
|
|
};
|
|
};
|
|
|
|
@@ -146,7 +153,7 @@
|
|
};
|
|
|
|
&usb_0_qmpphy {
|
|
- vdda-pll-supply = <&mp5496_l2>;
|
|
+ vdda-pll-supply = <&mp5496_l5>;
|
|
vdda-phy-supply = <®ulator_fixed_0p925>;
|
|
|
|
status = "okay";
|
|
@@ -154,7 +161,7 @@
|
|
|
|
&usb_0_qusbphy {
|
|
vdd-supply = <®ulator_fixed_0p925>;
|
|
- vdda-pll-supply = <&mp5496_l2>;
|
|
+ vdda-pll-supply = <&mp5496_l5>;
|
|
vdda-phy-dpdm-supply = <®ulator_fixed_3p3>;
|
|
|
|
status = "okay";
|