linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 00/10] phy: qcom: Introduce USB support for SM8750
@ 2025-04-21 22:00 Melody Olvera
  2025-04-21 22:00 ` [PATCH v5 01/10] dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp-phy: Add SM8750 to QMP PHY Melody Olvera
                   ` (10 more replies)
  0 siblings, 11 replies; 30+ messages in thread
From: Melody Olvera @ 2025-04-21 22:00 UTC (permalink / raw)
  To: Vinod Koul, Kishon Vijay Abraham I, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Wesley Cheng,
	Greg Kroah-Hartman, Philipp Zabel, Bjorn Andersson, Konrad Dybcio,
	Catalin Marinas, Will Deacon
  Cc: linux-arm-msm, linux-phy, devicetree, linux-kernel, linux-usb,
	linux-arm-kernel, Krzysztof Kozlowski, Melody Olvera,
	Konrad Dybcio, Dmitry Baryshkov, Dmitry Baryshkov

Add support for the PHYs and controllers used for USB on SM8750 SoCs.

---
Changes in v5:
- Removed refclk_src from the QMP PHY driver as that is no longer used.
- The decision to move the TCSR clkref property from controller --> phy
node was made in v4, and the refclk_src was a lingering change that was
meant to be removed.  CXO is the parent clock for TCSR clkref, so CXO
clk will be voted for as well.
- Relocate the SM8750 compatible within the qcom,dwc3 bindings.  This is
to take into account the change in clock list.
- Link to v4: https://lore.kernel.org/r/20250409-sm8750_usb_master-v4-0-6ec621c98be6@oss.qualcomm.com

Changes in v4:
- Made some fixups to the M31 eUSB2 driver
- Moved TCSR refclk_en to the QMP PHY DT node
- Link to v3: https://lore.kernel.org/r/20250324-sm8750_usb_master-v3-0-13e096dc88fd@quicinc.com

Changes in v3:
- Split platform DTs into separate commits.
- Fixed up M31 eUSB2 PHY driver with feedback received.
- Reordered DT properties based on feedback.
- Rewrote commit message for enabling EUSB driver.
- Link to v2: https://lore.kernel.org/r/20250304-sm8750_usb_master-v2-0-a698a2e68e06@quicinc.com

Changes in v2:
- Added new QMP PHY register definitions for v8 based QMP phys.
- Made changes to clean up some code in the M31 eUSB2 PHY driver based
on feedback received.
- Added bulk regulator operations in M31 eUSB2 PHY, to ensure that
both the vdd and vdda12 regulators are properly voted for.
- Removed external references to other dt bindings in M31 example for
the DT bindings change.
- Split DT patches between SoC and plaform changes, as well as the
PHY subsystem Kconfig changes when introducing the M31 eUSB2 PHY.
- Added orientation switch and port definitions in the DT changes.EDITME: describe what is new in this series revision.
- Link to v1: https://lore.kernel.org/r/20250113-sm8750_usb_master-v1-0-09afe1dc2524@quicinc.com

---
Melody Olvera (2):
      dt-bindings: usb: qcom,dwc3: Correct the SM8750 compatible
      arm64: defconfig: Add M31 eUSB2 PHY config

Wesley Cheng (8):
      dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp-phy: Add SM8750 to QMP PHY
      dt-bindings: phy: Add the M31 based eUSB2 PHY bindings
      phy: qcom: qmp-combo: Add new PHY sequences for SM8750
      phy: qcom: Update description for QCOM based eUSB2 repeater
      phy: qcom: Add M31 based eUSB2 PHY driver
      arm64: dts: qcom: sm8750: Add USB support to SM8750 SoCs
      arm64: dts: qcom: sm8750: Add USB support for SM8750 MTP platform
      arm64: dts: qcom: sm8750: Add USB support for SM8750 QRD platform

 .../bindings/phy/qcom,m31-eusb2-phy.yaml           |  79 +++++
 .../phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml         |   2 +
 .../devicetree/bindings/usb/qcom,dwc3.yaml         |   2 +-
 arch/arm64/boot/dts/qcom/sm8750-mtp.dts            |  24 ++
 arch/arm64/boot/dts/qcom/sm8750-qrd.dts            |  24 ++
 arch/arm64/boot/dts/qcom/sm8750.dtsi               | 164 +++++++++++
 arch/arm64/configs/defconfig                       |   1 +
 drivers/phy/qualcomm/Kconfig                       |  16 +-
 drivers/phy/qualcomm/Makefile                      |   1 +
 drivers/phy/qualcomm/phy-qcom-m31-eusb2.c          | 325 +++++++++++++++++++++
 drivers/phy/qualcomm/phy-qcom-qmp-combo.c          | 221 ++++++++++++++
 drivers/phy/qualcomm/phy-qcom-qmp-pcs-usb-v8.h     |  38 +++
 drivers/phy/qualcomm/phy-qcom-qmp-pcs-v8.h         |  32 ++
 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-com-v8.h |  64 ++++
 .../phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v8.h    |  68 +++++
 drivers/phy/qualcomm/phy-qcom-qmp.h                |   5 +
 16 files changed, 1062 insertions(+), 4 deletions(-)
---
base-commit: bc8aa6cdadcc00862f2b5720e5de2e17f696a081
change-id: 20241223-sm8750_usb_master-f27aed7f6d40

Best regards,
-- 
Melody Olvera <melody.olvera@oss.qualcomm.com>


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

end of thread, other threads:[~2025-05-22 15:09 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-21 22:00 [PATCH v5 00/10] phy: qcom: Introduce USB support for SM8750 Melody Olvera
2025-04-21 22:00 ` [PATCH v5 01/10] dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp-phy: Add SM8750 to QMP PHY Melody Olvera
2025-04-21 22:00 ` [PATCH v5 02/10] dt-bindings: phy: Add the M31 based eUSB2 PHY bindings Melody Olvera
2025-04-21 22:00 ` [PATCH v5 03/10] dt-bindings: usb: qcom,dwc3: Correct the SM8750 compatible Melody Olvera
2025-04-24  7:32   ` Krzysztof Kozlowski
2025-04-21 22:00 ` [PATCH v5 04/10] phy: qcom: qmp-combo: Add new PHY sequences for SM8750 Melody Olvera
2025-04-24  9:37   ` Dmitry Baryshkov
2025-04-21 22:00 ` [PATCH v5 05/10] phy: qcom: Update description for QCOM based eUSB2 repeater Melody Olvera
2025-04-21 22:00 ` [PATCH v5 06/10] phy: qcom: Add M31 based eUSB2 PHY driver Melody Olvera
2025-04-25  6:49   ` Abel Vesa
2025-05-22 11:05     ` Krzysztof Kozlowski
2025-05-22 12:18       ` Dmitry Baryshkov
2025-05-22 12:25         ` Abel Vesa
2025-05-22 13:01         ` neil.armstrong
2025-05-22 10:56   ` Song Xue
2025-05-22 15:09     ` Konrad Dybcio
2025-05-22 13:27   ` Johan Hovold
2025-04-21 22:00 ` [PATCH v5 07/10] arm64: dts: qcom: sm8750: Add USB support to SM8750 SoCs Melody Olvera
2025-04-24  9:38   ` Dmitry Baryshkov
2025-04-24 13:13   ` Krzysztof Kozlowski
2025-04-24 13:15   ` Krzysztof Kozlowski
2025-04-21 22:00 ` [PATCH v5 08/10] arm64: dts: qcom: sm8750: Add USB support for SM8750 MTP platform Melody Olvera
2025-04-24 13:12   ` Krzysztof Kozlowski
2025-04-21 22:00 ` [PATCH v5 09/10] arm64: dts: qcom: sm8750: Add USB support for SM8750 QRD platform Melody Olvera
2025-04-24 13:12   ` Krzysztof Kozlowski
2025-04-21 22:00 ` [PATCH v5 10/10] arm64: defconfig: Add M31 eUSB2 PHY config Melody Olvera
2025-04-24 13:16   ` Krzysztof Kozlowski
2025-04-24 17:13     ` Melody Olvera
2025-04-25  5:44       ` Krzysztof Kozlowski
2025-04-24  9:36 ` [PATCH v5 00/10] phy: qcom: Introduce USB support for SM8750 Dmitry Baryshkov

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).