devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] arm64: dts: qcom: x1e80100: Fix the supplies to the USB1 SS[0-2] PHYs
@ 2024-05-30 16:35 Abel Vesa
  2024-05-30 16:35 ` [PATCH 1/2] arm64: dts: qcom: x1e80100-crd: Fix USB PHYs regulators Abel Vesa
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Abel Vesa @ 2024-05-30 16:35 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Rajendra Nayak, Sibi Sankar
  Cc: linux-arm-msm, devicetree, linux-kernel, Abel Vesa

According to documentation, the current supplies for the USB1 SS0,
SS1 and SS2 both QMP combo PHYS and eUSB2 PHYs are all wrong. Fix
them accordingly.

Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
---
Abel Vesa (2):
      arm64: dts: qcom: x1e80100-crd: Fix USB PHYs regulators
      arm64: dts: qcom: x1e80100-qcp: Fix USB PHYs regulators

 arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 15 ++++++++++++---
 arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 15 ++++++++++++---
 2 files changed, 24 insertions(+), 6 deletions(-)
---
base-commit: 9d99040b1bc8dbf385a8aa535e9efcdf94466e19
change-id: 20240530-x1e80100-dts-fix-usb-phy-supplies-c3cbc578a2f6

Best regards,
-- 
Abel Vesa <abel.vesa@linaro.org>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* [PATCH 1/2] arm64: dts: qcom: x1e80100-crd: Fix USB PHYs regulators
  2024-05-30 16:35 [PATCH 0/2] arm64: dts: qcom: x1e80100: Fix the supplies to the USB1 SS[0-2] PHYs Abel Vesa
@ 2024-05-30 16:35 ` Abel Vesa
  2024-05-30 17:04   ` Dmitry Baryshkov
  2024-05-31  7:42   ` Johan Hovold
  2024-05-30 16:35 ` [PATCH 2/2] arm64: dts: qcom: x1e80100-qcp: " Abel Vesa
  2024-06-02  3:53 ` [PATCH 0/2] arm64: dts: qcom: x1e80100: Fix the supplies to the USB1 SS[0-2] PHYs Bjorn Andersson
  2 siblings, 2 replies; 9+ messages in thread
From: Abel Vesa @ 2024-05-30 16:35 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Rajendra Nayak, Sibi Sankar
  Cc: linux-arm-msm, devicetree, linux-kernel, Abel Vesa

The 1.2v HS PHY shared regulator is actually LDO2 from PM8550ve id J.
Also add the missing supplies to QMP PHYs.

Fixes: d7e03cce0400 ("arm64: dts: qcom: x1e80100-crd: Enable more support")
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
---
 arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts
index ed8b80627534..173a88b6b8b8 100644
--- a/arch/arm64/boot/dts/qcom/x1e80100-crd.dts
+++ b/arch/arm64/boot/dts/qcom/x1e80100-crd.dts
@@ -841,7 +841,7 @@ &uart21 {
 
 &usb_1_ss0_hsphy {
 	vdd-supply = <&vreg_l2e_0p8>;
-	vdda12-supply = <&vreg_l3e_1p2>;
+	vdda12-supply = <&vreg_l2j_1p2>;
 
 	phys = <&smb2360_0_eusb2_repeater>;
 
@@ -849,6 +849,9 @@ &usb_1_ss0_hsphy {
 };
 
 &usb_1_ss0_qmpphy {
+	vdda-phy-supply = <&vreg_l3e_1p2>;
+	vdda-pll-supply = <&vreg_l1j_0p8>;
+
 	status = "okay";
 };
 
@@ -862,7 +865,7 @@ &usb_1_ss0_dwc3 {
 
 &usb_1_ss1_hsphy {
 	vdd-supply = <&vreg_l2e_0p8>;
-	vdda12-supply = <&vreg_l3e_1p2>;
+	vdda12-supply = <&vreg_l2j_1p2>;
 
 	phys = <&smb2360_1_eusb2_repeater>;
 
@@ -870,6 +873,9 @@ &usb_1_ss1_hsphy {
 };
 
 &usb_1_ss1_qmpphy {
+	vdda-phy-supply = <&vreg_l3e_1p2>;
+	vdda-pll-supply = <&vreg_l2d_0p9>;
+
 	status = "okay";
 };
 
@@ -883,7 +889,7 @@ &usb_1_ss1_dwc3 {
 
 &usb_1_ss2_hsphy {
 	vdd-supply = <&vreg_l2e_0p8>;
-	vdda12-supply = <&vreg_l3e_1p2>;
+	vdda12-supply = <&vreg_l2j_1p2>;
 
 	phys = <&smb2360_2_eusb2_repeater>;
 
@@ -891,6 +897,9 @@ &usb_1_ss2_hsphy {
 };
 
 &usb_1_ss2_qmpphy {
+	vdda-phy-supply = <&vreg_l3e_1p2>;
+	vdda-pll-supply = <&vreg_l2d_0p9>;
+
 	status = "okay";
 };
 

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [PATCH 2/2] arm64: dts: qcom: x1e80100-qcp: Fix USB PHYs regulators
  2024-05-30 16:35 [PATCH 0/2] arm64: dts: qcom: x1e80100: Fix the supplies to the USB1 SS[0-2] PHYs Abel Vesa
  2024-05-30 16:35 ` [PATCH 1/2] arm64: dts: qcom: x1e80100-crd: Fix USB PHYs regulators Abel Vesa
@ 2024-05-30 16:35 ` Abel Vesa
  2024-05-30 17:05   ` Dmitry Baryshkov
  2024-06-01 22:58   ` Bjorn Andersson
  2024-06-02  3:53 ` [PATCH 0/2] arm64: dts: qcom: x1e80100: Fix the supplies to the USB1 SS[0-2] PHYs Bjorn Andersson
  2 siblings, 2 replies; 9+ messages in thread
From: Abel Vesa @ 2024-05-30 16:35 UTC (permalink / raw)
  To: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Rajendra Nayak, Sibi Sankar
  Cc: linux-arm-msm, devicetree, linux-kernel, Abel Vesa

The 1.2v HS PHY shared regulator is actually LDO2 from PM8550ve id J.
Also add the missing supplies to QMP PHYs.

Fixes: 22b82135c02d ("arm64: dts: qcom: x1e80100-qcp: Enable more support")
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
---
 arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 15 ++++++++++++---
 1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts
index 3de7565dda19..f4b47e6b3a2f 100644
--- a/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts
+++ b/arch/arm64/boot/dts/qcom/x1e80100-qcp.dts
@@ -537,7 +537,7 @@ &uart21 {
 
 &usb_1_ss0_hsphy {
 	vdd-supply = <&vreg_l2e_0p8>;
-	vdda12-supply = <&vreg_l3e_1p2>;
+	vdda12-supply = <&vreg_l2j_1p2>;
 
 	phys = <&smb2360_0_eusb2_repeater>;
 
@@ -545,6 +545,9 @@ &usb_1_ss0_hsphy {
 };
 
 &usb_1_ss0_qmpphy {
+	vdda-phy-supply = <&vreg_l3e_1p2>;
+	vdda-pll-supply = <&vreg_l1j_0p8>;
+
 	status = "okay";
 };
 
@@ -558,7 +561,7 @@ &usb_1_ss0_dwc3 {
 
 &usb_1_ss1_hsphy {
 	vdd-supply = <&vreg_l2e_0p8>;
-	vdda12-supply = <&vreg_l3e_1p2>;
+	vdda12-supply = <&vreg_l2j_1p2>;
 
 	phys = <&smb2360_1_eusb2_repeater>;
 
@@ -566,6 +569,9 @@ &usb_1_ss1_hsphy {
 };
 
 &usb_1_ss1_qmpphy {
+	vdda-phy-supply = <&vreg_l3e_1p2>;
+	vdda-pll-supply = <&vreg_l2d_0p9>;
+
 	status = "okay";
 };
 
@@ -579,7 +585,7 @@ &usb_1_ss1_dwc3 {
 
 &usb_1_ss2_hsphy {
 	vdd-supply = <&vreg_l2e_0p8>;
-	vdda12-supply = <&vreg_l3e_1p2>;
+	vdda12-supply = <&vreg_l2j_1p2>;
 
 	phys = <&smb2360_2_eusb2_repeater>;
 
@@ -587,6 +593,9 @@ &usb_1_ss2_hsphy {
 };
 
 &usb_1_ss2_qmpphy {
+	vdda-phy-supply = <&vreg_l3e_1p2>;
+	vdda-pll-supply = <&vreg_l2d_0p9>;
+
 	status = "okay";
 };
 

-- 
2.34.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: x1e80100-crd: Fix USB PHYs regulators
  2024-05-30 16:35 ` [PATCH 1/2] arm64: dts: qcom: x1e80100-crd: Fix USB PHYs regulators Abel Vesa
@ 2024-05-30 17:04   ` Dmitry Baryshkov
  2024-05-31  7:42   ` Johan Hovold
  1 sibling, 0 replies; 9+ messages in thread
From: Dmitry Baryshkov @ 2024-05-30 17:04 UTC (permalink / raw)
  To: Abel Vesa
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Rajendra Nayak, Sibi Sankar, linux-arm-msm,
	devicetree, linux-kernel

On Thu, May 30, 2024 at 07:35:45PM +0300, Abel Vesa wrote:
> The 1.2v HS PHY shared regulator is actually LDO2 from PM8550ve id J.
> Also add the missing supplies to QMP PHYs.
> 
> Fixes: d7e03cce0400 ("arm64: dts: qcom: x1e80100-crd: Enable more support")
> Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
> ---
>  arch/arm64/boot/dts/qcom/x1e80100-crd.dts | 15 ++++++++++++---
>  1 file changed, 12 insertions(+), 3 deletions(-)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>


-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] arm64: dts: qcom: x1e80100-qcp: Fix USB PHYs regulators
  2024-05-30 16:35 ` [PATCH 2/2] arm64: dts: qcom: x1e80100-qcp: " Abel Vesa
@ 2024-05-30 17:05   ` Dmitry Baryshkov
  2024-06-01 22:58   ` Bjorn Andersson
  1 sibling, 0 replies; 9+ messages in thread
From: Dmitry Baryshkov @ 2024-05-30 17:05 UTC (permalink / raw)
  To: Abel Vesa
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Rajendra Nayak, Sibi Sankar, linux-arm-msm,
	devicetree, linux-kernel

On Thu, May 30, 2024 at 07:35:46PM +0300, Abel Vesa wrote:
> The 1.2v HS PHY shared regulator is actually LDO2 from PM8550ve id J.
> Also add the missing supplies to QMP PHYs.
> 
> Fixes: 22b82135c02d ("arm64: dts: qcom: x1e80100-qcp: Enable more support")
> Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
> ---
>  arch/arm64/boot/dts/qcom/x1e80100-qcp.dts | 15 ++++++++++++---
>  1 file changed, 12 insertions(+), 3 deletions(-)
> 

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>


-- 
With best wishes
Dmitry

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 1/2] arm64: dts: qcom: x1e80100-crd: Fix USB PHYs regulators
  2024-05-30 16:35 ` [PATCH 1/2] arm64: dts: qcom: x1e80100-crd: Fix USB PHYs regulators Abel Vesa
  2024-05-30 17:04   ` Dmitry Baryshkov
@ 2024-05-31  7:42   ` Johan Hovold
  1 sibling, 0 replies; 9+ messages in thread
From: Johan Hovold @ 2024-05-31  7:42 UTC (permalink / raw)
  To: Abel Vesa
  Cc: Bjorn Andersson, Konrad Dybcio, Rob Herring, Krzysztof Kozlowski,
	Conor Dooley, Rajendra Nayak, Sibi Sankar, linux-arm-msm,
	devicetree, linux-kernel

On Thu, May 30, 2024 at 07:35:45PM +0300, Abel Vesa wrote:
> The 1.2v HS PHY shared regulator is actually LDO2 from PM8550ve id J.
> Also add the missing supplies to QMP PHYs.
> 
> Fixes: d7e03cce0400 ("arm64: dts: qcom: x1e80100-crd: Enable more support")

Same here, the CC stable tag is missing:

Cc: stable@vger.kernel.org	# 6.9

> Signed-off-by: Abel Vesa <abel.vesa@linaro.org>

Johan

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] arm64: dts: qcom: x1e80100-qcp: Fix USB PHYs regulators
  2024-05-30 16:35 ` [PATCH 2/2] arm64: dts: qcom: x1e80100-qcp: " Abel Vesa
  2024-05-30 17:05   ` Dmitry Baryshkov
@ 2024-06-01 22:58   ` Bjorn Andersson
  2024-06-02  5:49     ` Abel Vesa
  1 sibling, 1 reply; 9+ messages in thread
From: Bjorn Andersson @ 2024-06-01 22:58 UTC (permalink / raw)
  To: Abel Vesa
  Cc: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Rajendra Nayak, Sibi Sankar, linux-arm-msm, devicetree,
	linux-kernel

On Thu, May 30, 2024 at 07:35:46PM GMT, Abel Vesa wrote:
> The 1.2v HS PHY shared regulator is actually LDO2 from PM8550ve id J.
> Also add the missing supplies to QMP PHYs.
> 
> Fixes: 22b82135c02d ("arm64: dts: qcom: x1e80100-qcp: Enable more support")

This isn't the right hash. I'm fixing this one up, but please check make
sure your fixes are based on merged commits.

Regards,
Bjorn

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 0/2] arm64: dts: qcom: x1e80100: Fix the supplies to the USB1 SS[0-2] PHYs
  2024-05-30 16:35 [PATCH 0/2] arm64: dts: qcom: x1e80100: Fix the supplies to the USB1 SS[0-2] PHYs Abel Vesa
  2024-05-30 16:35 ` [PATCH 1/2] arm64: dts: qcom: x1e80100-crd: Fix USB PHYs regulators Abel Vesa
  2024-05-30 16:35 ` [PATCH 2/2] arm64: dts: qcom: x1e80100-qcp: " Abel Vesa
@ 2024-06-02  3:53 ` Bjorn Andersson
  2 siblings, 0 replies; 9+ messages in thread
From: Bjorn Andersson @ 2024-06-02  3:53 UTC (permalink / raw)
  To: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Rajendra Nayak, Sibi Sankar, Abel Vesa
  Cc: linux-arm-msm, devicetree, linux-kernel


On Thu, 30 May 2024 19:35:44 +0300, Abel Vesa wrote:
> According to documentation, the current supplies for the USB1 SS0,
> SS1 and SS2 both QMP combo PHYS and eUSB2 PHYs are all wrong. Fix
> them accordingly.
> 
> 

Applied, thanks!

[1/2] arm64: dts: qcom: x1e80100-crd: Fix USB PHYs regulators
      commit: ae5cee8e7349d7e5deff4cf90a08cbd738287155
[2/2] arm64: dts: qcom: x1e80100-qcp: Fix USB PHYs regulators
      commit: 20676f7819d7364b7e8bd437b212106faa893b49

Best regards,
-- 
Bjorn Andersson <andersson@kernel.org>

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PATCH 2/2] arm64: dts: qcom: x1e80100-qcp: Fix USB PHYs regulators
  2024-06-01 22:58   ` Bjorn Andersson
@ 2024-06-02  5:49     ` Abel Vesa
  0 siblings, 0 replies; 9+ messages in thread
From: Abel Vesa @ 2024-06-02  5:49 UTC (permalink / raw)
  To: Bjorn Andersson
  Cc: Konrad Dybcio, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Rajendra Nayak, Sibi Sankar, linux-arm-msm, devicetree,
	linux-kernel

On 24-06-01 17:58:19, Bjorn Andersson wrote:
> On Thu, May 30, 2024 at 07:35:46PM GMT, Abel Vesa wrote:
> > The 1.2v HS PHY shared regulator is actually LDO2 from PM8550ve id J.
> > Also add the missing supplies to QMP PHYs.
> > 
> > Fixes: 22b82135c02d ("arm64: dts: qcom: x1e80100-qcp: Enable more support")
> 
> This isn't the right hash. I'm fixing this one up, but please check make
> sure your fixes are based on merged commits.
> 

Sorry about that. Will double check next time.

Thanks for fixing it.

> Regards,
> Bjorn

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-06-02  5:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-30 16:35 [PATCH 0/2] arm64: dts: qcom: x1e80100: Fix the supplies to the USB1 SS[0-2] PHYs Abel Vesa
2024-05-30 16:35 ` [PATCH 1/2] arm64: dts: qcom: x1e80100-crd: Fix USB PHYs regulators Abel Vesa
2024-05-30 17:04   ` Dmitry Baryshkov
2024-05-31  7:42   ` Johan Hovold
2024-05-30 16:35 ` [PATCH 2/2] arm64: dts: qcom: x1e80100-qcp: " Abel Vesa
2024-05-30 17:05   ` Dmitry Baryshkov
2024-06-01 22:58   ` Bjorn Andersson
2024-06-02  5:49     ` Abel Vesa
2024-06-02  3:53 ` [PATCH 0/2] arm64: dts: qcom: x1e80100: Fix the supplies to the USB1 SS[0-2] PHYs Bjorn Andersson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).