mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-07 03:29:36 +00:00
qualcommbe: ipq95xx: Add patch fixing USB regulator
Add patch fixing USB regulator as the LDO needs to use ID 5 instead of ID 2. Link: https://github.com/openwrt/openwrt/pull/17725 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
parent
a181fc8b31
commit
e8824ab0cc
@ -0,0 +1,31 @@
|
||||
From ad663ce6780477177e301756ade6cf236f36ae4c Mon Sep 17 00:00:00 2001
|
||||
From: Varadarajan Narayanan <quic_varada@quicinc.com>
|
||||
Date: Thu, 14 Dec 2023 16:10:52 +0530
|
||||
Subject: [PATCH] regulator: qcom_smd: Add LDO5 MP5496 regulator
|
||||
|
||||
Add support for LDO5 regulator. This is used by IPQ9574 USB.
|
||||
|
||||
Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com>
|
||||
Rule: <add>
|
||||
Link: https://lore.kernel.org/stable/20231214104052.3267039-1-quic_varada%40quicinc.com
|
||||
Link: https://msgid.link/r/20231214104052.3267039-1-quic_varada@quicinc.com
|
||||
Signed-off-by: Mark Brown <broonie@kernel.org>
|
||||
---
|
||||
drivers/regulator/qcom_smd-regulator.c | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/drivers/regulator/qcom_smd-regulator.c b/drivers/regulator/qcom_smd-regulator.c
|
||||
index 09c471a0ba2e..d1be9568025e 100644
|
||||
--- a/drivers/regulator/qcom_smd-regulator.c
|
||||
+++ b/drivers/regulator/qcom_smd-regulator.c
|
||||
@@ -796,6 +796,7 @@ static const struct rpm_regulator_data rpm_mp5496_regulators[] = {
|
||||
{ "s1", QCOM_SMD_RPM_SMPA, 1, &mp5496_smps, "s1" },
|
||||
{ "s2", QCOM_SMD_RPM_SMPA, 2, &mp5496_smps, "s2" },
|
||||
{ "l2", QCOM_SMD_RPM_LDOA, 2, &mp5496_ldoa2, "l2" },
|
||||
+ { "l5", QCOM_SMD_RPM_LDOA, 5, &mp5496_ldoa2, "l5" },
|
||||
{}
|
||||
};
|
||||
|
||||
--
|
||||
2.45.2
|
||||
|
@ -0,0 +1,49 @@
|
||||
From 2a7892782bf2cb84f204702ef47ae2d97be0d46b Mon Sep 17 00:00:00 2001
|
||||
From: Christian Marangi <ansuelsmth@gmail.com>
|
||||
Date: Mon, 9 Dec 2024 18:04:00 +0100
|
||||
Subject: [PATCH 2/2] arm64: dts: qcom: fix USB vdda-pll supply for ipq9574 rdp
|
||||
common
|
||||
|
||||
Fix USB vdda-pll for IPQ9574 SoC common for every RDP board. The correct
|
||||
regulator is the l5 one instead of l2 now supported in the smd regulator
|
||||
driver.
|
||||
|
||||
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
|
||||
---
|
||||
arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi b/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
|
||||
index 13b623603d37..68b71437c2b9 100644
|
||||
--- a/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
|
||||
+++ b/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
|
||||
@@ -249,7 +249,7 @@ ipq9574_s1: s1 {
|
||||
regulator-max-microvolt = <1075000>;
|
||||
};
|
||||
|
||||
- mp5496_l2: l2 {
|
||||
+ mp5496_l5: l5 {
|
||||
regulator-min-microvolt = <1800000>;
|
||||
regulator-max-microvolt = <1800000>;
|
||||
regulator-always-on;
|
||||
@@ -290,7 +290,7 @@ &usb_0_dwc3 {
|
||||
};
|
||||
|
||||
&usb_0_qmpphy {
|
||||
- vdda-pll-supply = <&mp5496_l2>;
|
||||
+ vdda-pll-supply = <&mp5496_l5>;
|
||||
vdda-phy-supply = <®ulator_fixed_0p925>;
|
||||
|
||||
status = "okay";
|
||||
@@ -298,7 +298,7 @@ &usb_0_qmpphy {
|
||||
|
||||
&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";
|
||||
--
|
||||
2.45.2
|
||||
|
Loading…
x
Reference in New Issue
Block a user