This series aims to extend the USB-C PHY to support DP mode and enable DisplayPort on the Qualcomm QCS615 platform.
The devicetree modification for DisplayPort on QCS615 will be provided in a future patch. Signed-off-by: Xiangxu Yin <xiangxu....@oss.qualcomm.com> --- Changes in v4: - Drop patch v3[01/14 & 13/14], will sutbmit new patchsets based mst dt binding series. - Update maintainer of qcom,qcs615-qmp-usb3dp-phy.yaml to myself. - Add missing aux and pipe clocks. [Dmitry] - Drop second TCSR phandle; register offsets are described directly. [Dmitry] - Add USBC PHY series related init_load_uA configs. [Dmitry] - Drop v3[04/14] qmp_phy_usbc_type define and use dp_serdes offsets to confirm DP capability [Dmitry] - Reorganize sub-patches as suggested. - Link to v3: https://lore.kernel.org/all/20250820-add-displayport-support-for-qcs615-platform-v3-0-a43bd25ec...@oss.qualcomm.com/ Changes in v3: - Renamed qcom,qcs615-qmp-dp-phy.yaml in v2 to qcom,qcs615-qmp-dp-phy.yaml in v3 for QCS615 USB3+DP PHY. - Updated patch v3[02/14] to revise binding title, description, and property order. [Krzysztof] - Updated commit messages in patch v3[01/14] and [13/14] to reflect the DTSI rename and clarify compatibility. [Krzysztof] - Added USB3+DP mode implementation in patches v3 [003–012], organized in logical chunks. [Dmitry] - Dropped patch v2[03/13] to maintain full backward compatibility with USBC. - Link to v2: https://lore.kernel.org/all/20250722-add-displayport-support-for-qcs615-platform-v2-0-42b403717...@oss.qualcomm.com/ Changes in v2: - Add new binding qcom,qcs615-qmp-dp-phy.yaml for QCS615 standalone DP - Split DP PHY driver into patches 4-11 by logical chunks [Dmitry] - Update DP PHY configuration flow to align with QMP Combo PHY implementation [Dmitry] - Update all hex values to lowercase [Dmitry] - Remove redundant comments in DP PHY driver [Krzysztof] - Remove invalid USBC type define [Dmitry] - Move lane_map, max_dp_lanes, max_dp_link_rate parsing logic to dp_link [Dmitry] - Add TCSR-based mutex logic for DP and USB PHY coexistence [Dmitry] - Drop patches 6–8 and remove related binding properties as rejected upstream - Link to v1: https://lore.kernel.org/all/20241129-add-displayport-support-for-qcs615-platform-v1-0-09a4338d9...@quicinc.com/ --- Xiangxu Yin (13): dt-bindings: phy: Add QMP USB3+DP PHY for QCS615 phy: qcom: qmp-usbc: Rename USB-specific ops to prepare for DP support phy: qcom: qmp-usbc: Add DP-related fields for USB/DP switchable PHY phy: qcom: qmp-usbc: Add QCS615 DP PHY configuration and init data phy: qcom: qmp-usbc: Add regulator init_load support phy: qcom: qmp-usbc: Move reset config into PHY cfg phy: qcom: qmp-usbc: Add DP PHY configuration support for QCS615 phy: qcom: qmp-usbc: Add USB/DP switchable PHY clk register phy: qcom: qmp-usbc: Add TCSR parsing and PHY mode setting phy: qcom: qmp-usbc: Add DP PHY ops for USB/DP switchable Type-C PHYs phy: qcom: qmp-usbc: Add USB/DP mutex handling drm/msm/dp: move link-specific parsing from dp_panel to dp_link drm/msm/dp: Add support for lane mapping configuration .../bindings/phy/qcom,qcs615-qmp-usb3dp-phy.yaml | 111 ++ drivers/gpu/drm/msm/dp/dp_ctrl.c | 10 +- drivers/gpu/drm/msm/dp/dp_link.c | 71 ++ drivers/gpu/drm/msm/dp/dp_link.h | 5 + drivers/gpu/drm/msm/dp/dp_panel.c | 78 +- drivers/gpu/drm/msm/dp/dp_panel.h | 3 - drivers/phy/qualcomm/phy-qcom-qmp-dp-phy-v2.h | 21 + drivers/phy/qualcomm/phy-qcom-qmp-usbc.c | 1089 +++++++++++++++++--- 8 files changed, 1192 insertions(+), 196 deletions(-) --- base-commit: 8f21d9da46702c4d6951ba60ca8a05f42870fe8f change-id: 20250911-add-displayport-support-for-qcs615-platform-2f072e2ba239 Best regards, -- Xiangxu Yin <xiangxu....@oss.qualcomm.com>