Skip to content

arm64: dts: qcom: Set snps,resume-hs-terminations for M31 eUSB2 PHY platforms

Peter Chen linux-arm-msm linux-devicetree linux-usb lkml 2 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 9 repliesApplied
  2. v11 patch 4 repliesApplied

Changes in v2 from the cover letter

- Apply the same fix to SM8750, Kaanapali and Hawi, which also use the M31 eUSB2 PHY (Konrad)
- Collect Reviewed-by tag from Konrad for the Glymur patch

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/4arm64: dts: qcom: glymur: Set snps,resume-hs-terminations for USB controllersarch/arm64/boot/dts/qcom/glymur.dtsi+5 -02 replies
2/4arm64: dts: qcom: sm8750: Set snps,resume-hs-terminations for USB controllerarch/arm64/boot/dts/qcom/sm8750.dtsi+1 -02 replies
3/4arm64: dts: qcom: kaanapali: Set snps,resume-hs-terminations for USB controllerarch/arm64/boot/dts/qcom/kaanapali.dtsi+1 -02 replies
4/4arm64: dts: qcom: hawi: Set snps,resume-hs-terminations for USB controllerarch/arm64/boot/dts/qcom/hawi.dtsi+1 -02 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchKonrad DybcioAbel VesaKrishna Kurapati
1/4R-b R-b T-b
2/4R-b R-b
3/4R-b R-b
4/4R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/4] arm64: dts: qcom: Set snps,resume-hs-terminations for M31 eUSB2 PHY platforms

The DWC3 controllers on Qualcomm SoCs paired with the M31 eUSB2 PHY need GUCTL1[10] (RESUME_OPMODE_HS_HOST) set for host-mode USB2 L2/L1 resume, as required by the HPG. Without it, a USB2 HS device cannot be reset after it is runtime resumed: PORTSC.PR never clears (PORTSC = 0xe11) and the hub driver fails with "port_wait_reset: err = -16".

Set snps,resume-hs-terminations, which makes dwc3 core set GUCTL1[10], on all platforms using the M31 eUSB2 PHY: Glymur, SM8750, Kaanapali and Hawi.

Changes in v2:
- Apply the same fix to SM8750, Kaanapali and Hawi, which also use the M31 eUSB2 PHY (Konrad)
- Collect Reviewed-by tag from Konrad for the Glymur patch

v1: https://lore.kernel.org/all/[email protected]/

Peter Chen (4):
arm64: dts: qcom: glymur: Set snps,resume-hs-terminations for USB
controllers
arm64: dts: qcom: sm8750: Set snps,resume-hs-terminations for USB
controller
arm64: dts: qcom: kaanapali: Set snps,resume-hs-terminations for USB
controller
arm64: dts: qcom: hawi: Set snps,resume-hs-terminations for USB
controller

 arch/arm64/boot/dts/qcom/glymur.dtsi    | 5 +++++
 arch/arm64/boot/dts/qcom/hawi.dtsi      | 1 +
 arch/arm64/boot/dts/qcom/kaanapali.dtsi | 1 +
 arch/arm64/boot/dts/qcom/sm8750.dtsi    | 1 +
 4 files changed, 8 insertions(+)
Signature · 1 line
2.43.0