* [PATCH v4 00/13] (no cover subject)
@ 2025-09-11 14:46 Xiangxu Yin
2025-09-11 14:46 ` [PATCH v4 01/13] dt-bindings: phy: Add QMP USB3+DP PHY for QCS615 Xiangxu Yin
2025-09-11 14:51 ` [PATCH v4 00/13] (no cover subject) Xiangxu Yin
0 siblings, 2 replies; 3+ messages in thread
From: Xiangxu Yin @ 2025-09-11 14:46 UTC (permalink / raw)
To: Vinod Koul, Kishon Vijay Abraham I, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Philipp Zabel, Rob Clark,
Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang, Sean Paul,
Marijn Suijten, David Airlie, Simona Vetter
Cc: linux-arm-msm, linux-phy, devicetree, linux-kernel, dri-devel,
freedreno, fange.zhang, yongxing.mou, li.liu, tingwei.zhang,
Dmitry Baryshkov, Bjorn Andersson, Konrad Dybcio, Xiangxu Yin
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.yin@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-a43bd25ec39c@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-42b4037171f8@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-09a4338d93ef@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.yin@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v4 01/13] dt-bindings: phy: Add QMP USB3+DP PHY for QCS615
2025-09-11 14:46 [PATCH v4 00/13] (no cover subject) Xiangxu Yin
@ 2025-09-11 14:46 ` Xiangxu Yin
2025-09-11 14:51 ` [PATCH v4 00/13] (no cover subject) Xiangxu Yin
1 sibling, 0 replies; 3+ messages in thread
From: Xiangxu Yin @ 2025-09-11 14:46 UTC (permalink / raw)
To: Vinod Koul, Kishon Vijay Abraham I, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Philipp Zabel, Rob Clark,
Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang, Sean Paul,
Marijn Suijten, David Airlie, Simona Vetter
Cc: linux-arm-msm, linux-phy, devicetree, linux-kernel, dri-devel,
freedreno, fange.zhang, yongxing.mou, li.liu, tingwei.zhang,
Dmitry Baryshkov, Bjorn Andersson, Konrad Dybcio, Xiangxu Yin
Add device tree binding documentation for the Qualcomm QMP USB3+DP PHY
on QCS615 Platform. This PHY supports both USB3 and DP functionality
over USB-C, with PHY mode switching capability. It does not support
combo mode.
Signed-off-by: Xiangxu Yin <xiangxu.yin@oss.qualcomm.com>
---
.../bindings/phy/qcom,qcs615-qmp-usb3dp-phy.yaml | 111 +++++++++++++++++++++
1 file changed, 111 insertions(+)
diff --git a/Documentation/devicetree/bindings/phy/qcom,qcs615-qmp-usb3dp-phy.yaml b/Documentation/devicetree/bindings/phy/qcom,qcs615-qmp-usb3dp-phy.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..efb465c71c1b5870bd7ad3b0ec215cf693a32f04
--- /dev/null
+++ b/Documentation/devicetree/bindings/phy/qcom,qcs615-qmp-usb3dp-phy.yaml
@@ -0,0 +1,111 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/phy/qcom,qcs615-qmp-usb3dp-phy.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Qualcomm QMP USB3-DP PHY controller (DP, QCS615)
+
+maintainers:
+ - Xiangxu Yin <xiangxu.yin@oss.qualcomm.com>
+
+description:
+ The QMP PHY controller supports physical layer functionality for both USB3
+ and DisplayPort over USB-C. While it enables mode switching between USB3 and
+ DisplayPort, but does not support combo mode.
+
+properties:
+ compatible:
+ enum:
+ - qcom,qcs615-qmp-usb3-dp-phy
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ maxItems: 4
+
+ clock-names:
+ items:
+ - const: aux
+ - const: ref
+ - const: cfg_ahb
+ - const: pipe
+
+ resets:
+ maxItems: 2
+
+ reset-names:
+ items:
+ - const: phy_phy
+ - const: dp_phy
+
+ vdda-phy-supply: true
+
+ vdda-pll-supply: true
+
+ "#clock-cells":
+ const: 1
+ description:
+ See include/dt-bindings/phy/phy-qcom-qmp.h
+
+ "#phy-cells":
+ const: 1
+ description:
+ See include/dt-bindings/phy/phy-qcom-qmp.h
+
+ qcom,tcsr-reg:
+ $ref: /schemas/types.yaml#/definitions/phandle-array
+ items:
+ - items:
+ - description: phandle to TCSR hardware block
+ - description: offset of the VLS CLAMP register
+ - description: offset of the PHY mode register
+ description: Clamp and PHY mode register present in the TCSR
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - clock-names
+ - resets
+ - reset-names
+ - vdda-phy-supply
+ - vdda-pll-supply
+ - "#clock-cells"
+ - "#phy-cells"
+ - qcom,tcsr-reg
+
+additionalProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/clock/qcom,qcs615-gcc.h>
+ #include <dt-bindings/clock/qcom,rpmh.h>
+
+ phy@88e8000 {
+ compatible = "qcom,qcs615-qmp-usb3-dp-phy";
+ reg = <0x88e8000 0x2000>;
+
+ clocks = <&gcc GCC_USB2_SEC_PHY_AUX_CLK>,
+ <&gcc GCC_USB3_SEC_CLKREF_CLK>,
+ <&gcc GCC_AHB2PHY_WEST_CLK>,
+ <&gcc GCC_USB2_SEC_PHY_PIPE_CLK>;
+ clock-names = "aux",
+ "ref",
+ "cfg_ahb",
+ "pipe";
+
+ resets = <&gcc GCC_USB3PHY_PHY_SEC_BCR>,
+ <&gcc GCC_USB3_DP_PHY_SEC_BCR>;
+ reset-names = "phy_phy",
+ "dp_phy";
+
+ vdda-phy-supply = <&vreg_l5a>;
+ vdda-pll-supply = <&vreg_l12a>;
+
+ #clock-cells = <1>;
+ #phy-cells = <1>;
+
+ qcom,tcsr-reg = <&tcsr 0xbff0 0xb24c>;
+ };
--
2.34.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v4 00/13] (no cover subject)
2025-09-11 14:46 [PATCH v4 00/13] (no cover subject) Xiangxu Yin
2025-09-11 14:46 ` [PATCH v4 01/13] dt-bindings: phy: Add QMP USB3+DP PHY for QCS615 Xiangxu Yin
@ 2025-09-11 14:51 ` Xiangxu Yin
1 sibling, 0 replies; 3+ messages in thread
From: Xiangxu Yin @ 2025-09-11 14:51 UTC (permalink / raw)
To: Vinod Koul, Kishon Vijay Abraham I, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Philipp Zabel, Rob Clark,
Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang, Sean Paul,
Marijn Suijten, David Airlie, Simona Vetter
Cc: linux-arm-msm, linux-phy, devicetree, linux-kernel, dri-devel,
freedreno, fange.zhang, yongxing.mou, li.liu, tingwei.zhang,
Dmitry Baryshkov, Bjorn Andersson, Konrad Dybcio
Sorry for miss subject and will resend later.
On 9/11/2025 10:46 PM, Xiangxu Yin wrote:
> 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.yin@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-a43bd25ec39c@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-42b4037171f8@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-09a4338d93ef@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,
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-09-11 14:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-11 14:46 [PATCH v4 00/13] (no cover subject) Xiangxu Yin
2025-09-11 14:46 ` [PATCH v4 01/13] dt-bindings: phy: Add QMP USB3+DP PHY for QCS615 Xiangxu Yin
2025-09-11 14:51 ` [PATCH v4 00/13] (no cover subject) Xiangxu Yin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®