From: Wesley Cheng <wesley.cheng@oss.qualcomm.com>
To: Vinod Koul <vkoul@kernel.org>,
Kishon Vijay Abraham I <kishon@kernel.org>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Wesley Cheng <quic_wcheng@quicinc.com>,
Abel Vesa <abel.vesa@linaro.org>
Cc: linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
Wesley Cheng <wesley.cheng@oss.qualcomm.com>,
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>,
Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>,
Elson Roy Serrao <quic_eserrao@quicinc.com>
Subject: [PATCH v6 0/8] Introduce Glymur USB support
Date: Fri, 24 Oct 2025 17:47:38 -0700 [thread overview]
Message-ID: <20251024-glymur_usb-v6-0-471fa39ff857@oss.qualcomm.com> (raw)
This series enables the PHY level changes that are required to support
the type C based controllers and the multiport controller. The typeC
ports utilize a usb43dp based QMP PHY for the SSUSB path, while using
the M31 eUSB2 PHY for the HSUSB path. For the multiport controller,
it will utilize two QMP UNI PHYs for the SSUSB path, and two M31 eUSB2
PHYs for the HSUSB path.
Signed-off-by: Wesley Cheng <wesley.cheng@oss.qualcomm.com>
---
Changes in v6:
- Reworked the reference clock requirements for the QMP and M31 eUSB2
PHYs. In the QMP case (both UNI and combo), removed the need for
the clkref entry, as TCSRCC clkref switches will handle votes on the
CXO clock. For entries w/o a TCSRCC clkref switch, populate the ref
entry to the CXO handle, while others (with TCSRCC entries) will
the TCSRCC clkref associated to the USB core.
- With the reference clock rework, dropped:
phy: qualcomm: m31-eusb2: Make clkref an optional resource
- Removed the need for a clkref entry in the QMP combo clocks list.
Removed previous reviewed-by tag due to this change.
- Split non PHY subsystem based patches into a separate submission.
- Remove DP related init tables from QMP combo
- Link to v5: https://lore.kernel.org/r/20251006222002.2182777-1-wesley.cheng@oss.qualcomm.com
Changes in v5:
- Moved phy-qcom-qmp-usb43-pcs-v8.h into USB specific QMP driver
- Fixed DT bindings for clock properties for QMP combo PHY
- Link to v4: https://lore.kernel.org/r/20251001220534.3166401-1-wesley.cheng@oss.qualcomm.com
Changes in v4:
- Updated DT bindings change for QMP combo PHY to have IF/THEN blocks
to handle the newly added clkref, and fixed the commit message as well
- Added a new header with v8 offsets for the PCS MISC register set,
and refgen current load for the QMP combo PHY driver
- RE-added the headers for the QMP combo PHY
- Link to v3: https://lore.kernel.org/r/20250925022850.4133013-1-wesley.cheng@oss.qualcomm.com
Changes in v3:
- Fixed some incorrect patch ordering.
- Alphabetized Glymur QMP settings for combo and UNI setting arrays
- Link to v2: https://lore.kernel.org/r/20250925005228.4035927-1-wesley.cheng@oss.qualcomm.com
Changes in v2:
- Updated QMP combo PHY to properly handle the refgen-supply and to
remove the primary core reference/tag
- Updated QMP UNI PHY to properly handle the refgen-supply and added
a separate IF/THEN block to handle the new clkref
- Updated M31 eUSB2 to make clocks and clocks-name required for sm8750
and optional for Glymur
- Fixed missing PCS MISC table
- Added SMB2370 repeater changes
- Link to v1: https://lore.kernel.org/r/20250920032108.242643-1-wesley.cheng@oss.qualcomm.com
---
Wesley Cheng (8):
dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp-phy: Add Glymur compatible
dt-bindings: phy: qcom,qmp-usb: Add Glymur USB UNI PHY compatible
dt-bindings: phy: qcom-m31-eusb2: Add Glymur compatible
dt-bindings: phy: qcom,snps-eusb2-repeater: Add SMB2370 compatible
phy: qualcomm: Update the QMP clamp register for V6
phy: qualcomm: qmp-combo: Update QMP PHY with Glymur settings
phy: qualcomm: qmp-usb: Add support for Glymur USB UNI PHY
phy: qualcomm: eusb2-repeater: Add SMB2370 eUSB2 repeater support
.../bindings/phy/qcom,m31-eusb2-phy.yaml | 9 +-
.../phy/qcom,sc8280xp-qmp-usb3-uni-phy.yaml | 19 +
.../phy/qcom,sc8280xp-qmp-usb43dp-phy.yaml | 16 +
.../bindings/phy/qcom,snps-eusb2-repeater.yaml | 1 +
drivers/phy/qualcomm/phy-qcom-eusb2-repeater.c | 18 +
drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 326 ++++++++++-
drivers/phy/qualcomm/phy-qcom-qmp-pcs-aon-v6.h | 12 +
drivers/phy/qualcomm/phy-qcom-qmp-pcs-aon-v8.h | 17 +
drivers/phy/qualcomm/phy-qcom-qmp-pcs-misc-v5.h | 12 +
drivers/phy/qualcomm/phy-qcom-qmp-pcs-misc-v8.h | 12 +
.../phy/qualcomm/phy-qcom-qmp-qserdes-lalb-v8.h | 639 +++++++++++++++++++++
drivers/phy/qualcomm/phy-qcom-qmp-usb.c | 163 ++++++
drivers/phy/qualcomm/phy-qcom-qmp-usb43-pcs-v8.h | 33 ++
.../qualcomm/phy-qcom-qmp-usb43-qserdes-com-v8.h | 224 ++++++++
drivers/phy/qualcomm/phy-qcom-qmp.h | 2 +
15 files changed, 1495 insertions(+), 8 deletions(-)
---
base-commit: 15ba5ae3b0ede7e355c88ac074e946fc1aa21026
change-id: 20251022-glymur_usb-f222049165f3
Best regards,
--
Wesley Cheng <wesley.cheng@oss.qualcomm.com>
next reply other threads:[~2025-10-25 0:47 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-25 0:47 Wesley Cheng [this message]
2025-10-25 0:47 ` [PATCH v6 1/8] dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp-phy: Add Glymur compatible Wesley Cheng
2025-10-26 8:57 ` Krzysztof Kozlowski
2025-10-25 0:47 ` [PATCH v6 2/8] dt-bindings: phy: qcom,qmp-usb: Add Glymur USB UNI PHY compatible Wesley Cheng
2025-10-26 8:59 ` Krzysztof Kozlowski
2025-10-25 0:47 ` [PATCH v6 3/8] dt-bindings: phy: qcom-m31-eusb2: Add Glymur compatible Wesley Cheng
2025-10-26 9:00 ` Krzysztof Kozlowski
2025-10-25 0:47 ` [PATCH v6 4/8] dt-bindings: phy: qcom,snps-eusb2-repeater: Add SMB2370 compatible Wesley Cheng
2025-10-25 0:47 ` [PATCH v6 5/8] phy: qualcomm: Update the QMP clamp register for V6 Wesley Cheng
2025-10-26 19:00 ` Abel Vesa
2025-10-25 0:47 ` [PATCH v6 6/8] phy: qualcomm: qmp-combo: Update QMP PHY with Glymur settings Wesley Cheng
2025-10-27 9:14 ` Abel Vesa
2025-10-27 14:21 ` Dmitry Baryshkov
2025-10-28 22:15 ` Wesley Cheng
2025-10-28 22:30 ` Dmitry Baryshkov
2025-10-25 0:47 ` [PATCH v6 7/8] phy: qualcomm: qmp-usb: Add support for Glymur USB UNI PHY Wesley Cheng
2025-10-26 18:58 ` Abel Vesa
2025-10-25 0:47 ` [PATCH v6 8/8] phy: qualcomm: eusb2-repeater: Add SMB2370 eUSB2 repeater support Wesley Cheng
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251024-glymur_usb-v6-0-471fa39ff857@oss.qualcomm.com \
--to=wesley.cheng@oss.qualcomm.com \
--cc=abel.vesa@linaro.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=kishon@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=quic_eserrao@quicinc.com \
--cc=quic_wcheng@quicinc.com \
--cc=robh@kernel.org \
--cc=vkoul@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®