From: Ronak Raheja <ronak.raheja@oss.qualcomm.com>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: vkoul@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org,
robh@kernel.org, neil.armstrong@linaro.org,
gregkh@linuxfoundation.org, konrad.dybcio@oss.qualcomm.com,
abel.vesa@oss.qualcomm.com, wesley.cheng@oss.qualcomm.com,
krzysztof.kozlowski@oss.qualcomm.com,
linux-arm-msm@vger.kernel.org, linux-phy@lists.infradead.org,
devicetree@vger.kernel.org, linux-usb@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH 4/4] phy: qualcomm: qmp-combo: Add support for Hawi SoC
Date: Wed, 29 Apr 2026 00:28:59 -0700 [thread overview]
Message-ID: <1f803f25-5f90-4f09-8634-5f27946eb295@oss.qualcomm.com> (raw)
In-Reply-To: <s6ortwyjjoq6lsxjjykbbshg2rczchtol4ntmxipcrsqufvsby@whwxtlnn74id>
On 4/28/2026 4:40 AM, Dmitry Baryshkov wrote:
> On Mon, Apr 27, 2026 at 02:42:17PM -0700, Ronak Raheja wrote:
>> Add support for the USB3-DP combo PHY found on Hawi platform.
>>
>> The QMP PHY for Hawi uses QSERDES V10 register layouts. Add the required
>> PHY sequences from the hardware programming guide and new V10 register
>> header files. Also add a new v10 offset structure to incorporate the new
>> COM AON register module.
>
> Was this tested with the DP too or did you test only the USB part?
>
Only USB was tested. DP support will be added in a follow-up patch
once the MDSS nodes are ready for Hawi.
>>
>> Signed-off-by: Ronak Raheja <ronak.raheja@oss.qualcomm.com>
>> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com>
>> ---
>> .../phy/qualcomm/phy-qcom-qmp-com-aon-v10.h | 15 ++
>> drivers/phy/qualcomm/phy-qcom-qmp-combo.c | 231 +++++++++++++++++-
>> .../phy/qualcomm/phy-qcom-qmp-dp-phy-v10.h | 15 ++
>> .../phy/qualcomm/phy-qcom-qmp-pcs-aon-v10.h | 13 +
>> .../phy/qualcomm/phy-qcom-qmp-pcs-usb-v10.h | 19 ++
>> drivers/phy/qualcomm/phy-qcom-qmp-pcs-v10.h | 34 +++
>> .../qualcomm/phy-qcom-qmp-qserdes-com-v10.h | 89 +++++++
>> .../qualcomm/phy-qcom-qmp-qserdes-txrx-v10.h | 89 +++++++
>> drivers/phy/qualcomm/phy-qcom-qmp.h | 5 +
>> 9 files changed, 506 insertions(+), 4 deletions(-)
>> create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-com-aon-v10.h
>> create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-dp-phy-v10.h
>> create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-aon-v10.h
>> create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-usb-v10.h
>> create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-pcs-v10.h
>> create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-com-v10.h
>> create mode 100644 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v10.h
>>
>> @@ -2198,6 +2368,7 @@ struct qmp_combo_offsets {
>> u16 dp_txa;
>> u16 dp_txb;
>> u16 dp_dp_phy;
>> + u16 aon_toggle;
>
> Are there (or will there) be any other regs? Is it just one-register
> space?
>
The COM AON block has 3 registers: USB3_AON_TOGGLE_ENABLE (0x00),
DP_AON_TOGGLE_ENABLE (0x04), and DUMMY_STATUS (0x08). Only the first
two are currently used.
>> };
>>
>> struct qmp_phy_cfg {
>> @@ -2705,6 +2895,27 @@ static const struct qmp_phy_cfg x1e80100_usb3dpphy_cfg = {
>> .regs = qmp_v6_n4_usb3phy_regs_layout,
>> };
>>
>> +static const struct qmp_phy_cfg hawi_usb3dpphy_cfg = {
>> + .offsets = &qmp_combo_offsets_v10,
>> +
>> + .serdes_tbl = hawi_usb3_serdes_tbl,
>> + .serdes_tbl_num = ARRAY_SIZE(hawi_usb3_serdes_tbl),
>> + .tx_tbl = hawi_usb3_tx_tbl,
>> + .tx_tbl_num = ARRAY_SIZE(hawi_usb3_tx_tbl),
>> + .rx_tbl = hawi_usb3_rx_tbl,
>> + .rx_tbl_num = ARRAY_SIZE(hawi_usb3_rx_tbl),
>> + .pcs_tbl = hawi_usb3_pcs_tbl,
>> + .pcs_tbl_num = ARRAY_SIZE(hawi_usb3_pcs_tbl),
>> + .pcs_usb_tbl = hawi_usb3_pcs_usb_tbl,
>> + .pcs_usb_tbl_num = ARRAY_SIZE(hawi_usb3_pcs_usb_tbl),
>> +
>> + .regs = qmp_v10_usb3phy_regs_layout,
>> + .reset_list = msm8996_usb3phy_reset_l,
>> + .num_resets = ARRAY_SIZE(msm8996_usb3phy_reset_l),
>> + .vreg_list = qmp_phy_vreg_l,
>> + .num_vregs = ARRAY_SIZE(qmp_phy_vreg_l),
>
> No DP counterpart and no mention of it in the commit message.
>
The DP configuration will be added in a follow-up patch once the MDSS
nodes are ready for Hawi.
Thanks,
Ronak
>> +};
>> +
>> static const struct qmp_phy_cfg sm6350_usb3dpphy_cfg = {
>> .offsets = &qmp_combo_offsets_v3,
>>
>
next prev parent reply other threads:[~2026-04-29 7:29 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-27 21:42 [PATCH v2 0/4] phy: qcom: Introduce USB support for Hawi Ronak Raheja
2026-04-27 21:42 ` [PATCH 1/4] dt-bindings: phy: qcom,sc8280xp-qmp-usb43dp-phy: Add Hawi QMP PHY Ronak Raheja
2026-04-27 21:42 ` [PATCH 2/4] dt-bindings: phy: qcom,m31-eusb2-phy: Document M31 eUSB2 PHY for Hawi Ronak Raheja
2026-04-27 21:42 ` [PATCH 3/4] dt-bindings: usb: qcom,snps-dwc3: Add Hawi compatible Ronak Raheja
2026-04-27 21:42 ` [PATCH 4/4] phy: qualcomm: qmp-combo: Add support for Hawi SoC Ronak Raheja
2026-04-28 8:32 ` Abel Vesa
2026-04-28 11:40 ` Dmitry Baryshkov
2026-04-29 7:28 ` Ronak Raheja [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-04-25 6:59 [PATCH 0/4] phy: qcom: Introduce USB support for Hawi Ronak Raheja
2026-04-25 7:00 ` [PATCH 4/4] phy: qualcomm: qmp-combo: Add support for Hawi SoC Ronak Raheja
2026-04-27 10:59 ` Konrad Dybcio
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=1f803f25-5f90-4f09-8634-5f27946eb295@oss.qualcomm.com \
--to=ronak.raheja@oss.qualcomm.com \
--cc=abel.vesa@oss.qualcomm.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=gregkh@linuxfoundation.org \
--cc=konrad.dybcio@oss.qualcomm.com \
--cc=krzk+dt@kernel.org \
--cc=krzysztof.kozlowski@oss.qualcomm.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=linux-usb@vger.kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=robh@kernel.org \
--cc=vkoul@kernel.org \
--cc=wesley.cheng@oss.qualcomm.com \
/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