* [PATCH v1 1/2] regulator: qcom_smd: Add l2, l5 sub-node to mp5496 regulator
2025-02-05 7:46 [PATCH v1 0/2] Fix USB vdd info for IPQ9574 Varadarajan Narayanan
@ 2025-02-05 7:46 ` Varadarajan Narayanan
2025-02-05 7:46 ` [PATCH v1 2/2] arm64: dts: qcom: ipq9574: Fix USB vdd info Varadarajan Narayanan
2025-02-05 21:04 ` (subset) [PATCH v1 0/2] Fix USB vdd info for IPQ9574 Mark Brown
2 siblings, 0 replies; 6+ messages in thread
From: Varadarajan Narayanan @ 2025-02-05 7:46 UTC (permalink / raw)
To: lgirdwood, broonie, robh, krzk+dt, conor+dt, andersson,
konradybcio, agross, quic_varada, dmitry.baryshkov,
linux-arm-msm, linux-kernel, devicetree
Cc: stable
Adding l2, l5 sub-node entry to mp5496 regulator node.
Cc: stable@vger.kernel.org
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com>
---
.../devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml b/Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml
index f2fd2df68a9e..b7241ce975b9 100644
--- a/Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml
+++ b/Documentation/devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml
@@ -22,7 +22,7 @@ description:
Each sub-node is identified using the node's name, with valid values listed
for each of the pmics below.
- For mp5496, s1, s2
+ For mp5496, s1, s2, l2, l5
For pm2250, s1, s2, s3, s4, l1, l2, l3, l4, l5, l6, l7, l8, l9, l10, l11,
l12, l13, l14, l15, l16, l17, l18, l19, l20, l21, l22
--
2.34.1
^ permalink raw reply [flat|nested] 6+ messages in thread
* [PATCH v1 2/2] arm64: dts: qcom: ipq9574: Fix USB vdd info
2025-02-05 7:46 [PATCH v1 0/2] Fix USB vdd info for IPQ9574 Varadarajan Narayanan
2025-02-05 7:46 ` [PATCH v1 1/2] regulator: qcom_smd: Add l2, l5 sub-node to mp5496 regulator Varadarajan Narayanan
@ 2025-02-05 7:46 ` Varadarajan Narayanan
2025-02-06 19:40 ` Konrad Dybcio
2025-02-05 21:04 ` (subset) [PATCH v1 0/2] Fix USB vdd info for IPQ9574 Mark Brown
2 siblings, 1 reply; 6+ messages in thread
From: Varadarajan Narayanan @ 2025-02-05 7:46 UTC (permalink / raw)
To: lgirdwood, broonie, robh, krzk+dt, conor+dt, andersson,
konradybcio, agross, quic_varada, dmitry.baryshkov,
linux-arm-msm, linux-kernel, devicetree
Cc: stable
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, 'L2' is turned off/on
resulting in 2 issues, namely 'L5' is not turned off/on and the
network module powered by the 'L2' is turned off/on.
Cc: stable@vger.kernel.org
Fixes: ec4f047679d5 ("arm64: dts: qcom: ipq9574: Enable USB")
Signed-off-by: Varadarajan Narayanan <quic_varada@quicinc.com>
---
arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi b/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
index ae12f069f26f..b24b795873d4 100644
--- a/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
+++ b/arch/arm64/boot/dts/qcom/ipq9574-rdp-common.dtsi
@@ -111,6 +111,13 @@ mp5496_l2: l2 {
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_dwc3 {
};
&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_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.34.1
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: (subset) [PATCH v1 0/2] Fix USB vdd info for IPQ9574
2025-02-05 7:46 [PATCH v1 0/2] Fix USB vdd info for IPQ9574 Varadarajan Narayanan
2025-02-05 7:46 ` [PATCH v1 1/2] regulator: qcom_smd: Add l2, l5 sub-node to mp5496 regulator Varadarajan Narayanan
2025-02-05 7:46 ` [PATCH v1 2/2] arm64: dts: qcom: ipq9574: Fix USB vdd info Varadarajan Narayanan
@ 2025-02-05 21:04 ` Mark Brown
2 siblings, 0 replies; 6+ messages in thread
From: Mark Brown @ 2025-02-05 21:04 UTC (permalink / raw)
To: lgirdwood, robh, krzk+dt, conor+dt, andersson, konradybcio,
agross, dmitry.baryshkov, linux-arm-msm, linux-kernel,
devicetree, Varadarajan Narayanan
On Wed, 05 Feb 2025 13:16:55 +0530, Varadarajan Narayanan wrote:
> Use correct regulator for USB phy.
>
> For some reason, the dt-bindings [1] patch posted and Acked long
> time back seems to have slipped through the cracks and hasn't
> been merged. Including it along with this patch as both are
> related. dt_binding_check & dtbs_check passed.
>
> [...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next
Thanks!
[1/2] regulator: qcom_smd: Add l2, l5 sub-node to mp5496 regulator
commit: b0eddc21900fb44f8c5db95710479865e3700fbd
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 6+ messages in thread