On Wed, Dec 03, 2025 at 04:37:32PM +0530, Balaji Selvanathan wrote:
> Add support for the Qualcomm QMP USB3-DP Combo PHY found on
> SC7280 and QCM6490 platforms. This driver currently implements
> USB3 super-speed functionality of the combo PHY.
>
> The QMP Combo PHY is a dual-mode PHY
> that can operate in either USB3 mode or DisplayPort mode. This
> initial implementation focuses on USB3 mode to enable Super-Speed
> USB support.
>
> Taken from Linux commit 3d25d46a255a ("pmdomain: qcom: rpmhpd: Add rpmhpd
> support for SM8750")
>
> This patch is dependent on this patch:
> https://lore.kernel.org/u-boot/[email protected]/
>
> Enabled and tested the driver on Qualcomm RB3 Gen2 (QCS6490) board.
Reviewed-by: Varadarajan Narayanan <[email protected]>
> Signed-off-by: Balaji Selvanathan <[email protected]>
> ---
> v3:
> - Corrected regulator names
> - Made regulators mandatory; if regulator not present, now probe fails
>
> v2:
> - 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
> ---
> 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 +
> 7 files changed, 784 insertions(+)
> create mode 100644 drivers/phy/qcom/phy-qcom-qmp-combo.c
> create mode 100644 drivers/phy/qcom/phy-qcom-qmp-common.h
> create mode 100644 drivers/phy/qcom/phy-qcom-qmp-dp-com-v3.h
> create mode 100644 drivers/phy/qcom/phy-qcom-qmp-pcs-usb-v4.h