public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH v4 0/5] Enable USB3 Super-Speed support for QCM6490/SC7280
@ 2026-04-18  6:35 Balaji Selvanathan
  2026-04-18  6:35 ` [PATCH v4 1/5] drivers: clk: qcom: sc7280: Add USB3 PHY pipe clock Balaji Selvanathan
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Balaji Selvanathan @ 2026-04-18  6:35 UTC (permalink / raw)
  To: Sumit Garg, u-boot-qcom, u-boot
  Cc: Lukasz Majewski, Casey Connolly, Neil Armstrong, Tom Rini,
	Luca Weiss, Varadarajan Narayanan, Ilias Apalodimas, Simon Glass,
	Peng Fan, Yao Zi, Kory Maincent, Kuan-Wei Chiu, Jerome Forissier,
	Raymond Mao, Quentin Schulz, Stefan Roese, Philip Molloy,
	Balaji Selvanathan

This series enables USB3 Super-Speed functionality on QCM6490 and SC7280
platforms by adding support for the QMP USB3-DP Combo PHY. The combo PHY
is a dual-mode PHY that can operate in either USB3 or DisplayPort mode,
and this implementation focuses on USB3 mode to enable Super-Speed USB
support.

Patch 1 adds the necessary clock support.
Patch 2 implements the QMP Combo PHY driver, ported from upstream Linux
Patch 3 adds logic to skip USB High-Speed fixup if Super Speed PHY
driver support is available.
Patch 4 adds the necessary defconfig.
Patch 5 updates the Maintainers file.

Signed-off-by: Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>
---
Changes in v4:
- In patch 3, instead of automatically detect if SSPHY driver is
  available at runtime (which adds computational overhead), instead
  just skip HS fixup based on usb node compatible string.   
- Link to v3: https://lore.kernel.org/u-boot/20251203110735.1959862-1-balaji.selvanathan@oss.qualcomm.com/#t

Changes in v3:
- Corrected regulator names in drivers/phy/qcom/phy-qcom-qmp-combo.c
- Made regulators mandatory in phy probe;
  if regulator not present, now probe fails
- Removed support to manually disable the USB HS fixup via Kconfig.
- Instead added code to automatically detect if
  SSPHY driver is available and do HS fixup only if SSPHY driver is
  not available.
- Link to v2: https://lore.kernel.org/u-boot/20251124155503.2839766-1-balaji.selvanathan@oss.qualcomm.com/

Changes in v2:
- Gave correct commit id for reference linux implementation for
  adding mdelay in drivers/usb/dwc3/core.c
- In drivers/phy/qcom/phy-qcom-qmp-combo.c:
	- Added pipe clock disable in qmp_combo_power_off sequence
	- Added all required clocks except pipe clock
          in qmp_combo_phy_clk_l
	- All clocks except pipe clock are enabled and disabled
	  seperate from pipe clock
	- Added support for regulator power supplies
	- Added a minimal xlate to only return the USB3 phy
- Added "drivers/phy/qcom" to ARM SNAPDRAGON section in MAINTAINERS file
- Link to v1: https://lore.kernel.org/u-boot/20251119152530.4175628-1-balaji.selvanathan@oss.qualcomm.com/
---

---
Balaji Selvanathan (5):
      drivers: clk: qcom: sc7280: Add USB3 PHY pipe clock
      drivers: phy: qcom: Add QMP USB3-DP Combo PHY driver
      arm: mach-snapdragon: Skip USB fixup for qcom,sc7280-dwc3
      configs: qcm6490: Enable super-speed USB support
      MAINTAINERS: Add entry for Qualcomm PHY drivers

 MAINTAINERS                                |   1 +
 arch/arm/mach-snapdragon/of_fixup.c        |  54 ++-
 configs/qcm6490_defconfig                  |   2 +
 drivers/clk/qcom/clock-sc7280.c            |   1 +
 drivers/phy/qcom/Kconfig                   |   8 +
 drivers/phy/qcom/Makefile                  |   1 +
 drivers/phy/qcom/phy-qcom-qmp-combo.c      | 644 +++++++++++++++++++++++++++++
 drivers/phy/qcom/phy-qcom-qmp-common.h     |  62 +++
 drivers/phy/qcom/phy-qcom-qmp-dp-com-v3.h  |  18 +
 drivers/phy/qcom/phy-qcom-qmp-pcs-usb-v4.h |  34 ++
 drivers/phy/qcom/phy-qcom-qmp.h            |  17 +
 11 files changed, 825 insertions(+), 17 deletions(-)
---
base-commit: 30429c8bd2f18d33862cc41fe520f7459fa4bfbd
change-id: 20260418-kodiak_ss-49942d3249f0

Best regards,
-- 
Balaji Selvanathan <balaji.selvanathan@oss.qualcomm.com>


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

end of thread, other threads:[~2026-04-20  5:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-18  6:35 [PATCH v4 0/5] Enable USB3 Super-Speed support for QCM6490/SC7280 Balaji Selvanathan
2026-04-18  6:35 ` [PATCH v4 1/5] drivers: clk: qcom: sc7280: Add USB3 PHY pipe clock Balaji Selvanathan
2026-04-18  6:35 ` [PATCH v4 2/5] drivers: phy: qcom: Add QMP USB3-DP Combo PHY driver Balaji Selvanathan
2026-04-18  6:35 ` [PATCH v4 3/5] arm: mach-snapdragon: Skip USB fixup for qcom,sc7280-dwc3 Balaji Selvanathan
2026-04-18  6:35 ` [PATCH v4 4/5] configs: qcm6490: Enable super-speed USB support Balaji Selvanathan
2026-04-18  6:35 ` [PATCH v4 5/5] MAINTAINERS: Add entry for Qualcomm PHY drivers Balaji Selvanathan
2026-04-20  5:10 ` [PATCH v4 0/5] Enable USB3 Super-Speed support for QCM6490/SC7280 Balaji Selvanathan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox