Re: [PATCH v2 00/10] phy: qcom: qmp-pcie: Add PCIe PHY support for Hawi

From: Matthew Leung

Date: Thu Jun 11 2026 - 20:39:50 EST


On Mon, Jun 08, 2026 at 12:25:03AM +0300, Dmitry Baryshkov wrote:
> On Thu, Jun 04, 2026 at 01:32:54AM +0000, Matthew Leung wrote:
> > This series adds QMP PCIe PHY support for the Qualcomm Hawi SoC. The Hawi
> > platform features two PCIe PHY configurations: Gen3 x2 and Gen4 x1.
> >
> > The Gen3 x2 PHY uses v10 register definitions, while the Gen4 x1 PHY uses
> > v10.60 register definitions.
> >
> > The series adds:
> > - device tree bindings (patch 1)
> > - v10 register offset headers (patches 2-5)
> > - v10.60 register offset headers (patches 6-9)
> > - driver support with PHY initialization tables for both configurations
> > (patch 10)
> >
> > Overlap:
> > The series has overlap with "phy: qcom: Introduce USB support for Hawi"
> > by Ronak Raheja (see link [1]). Both patch series introduce a subset of
> > v10 registers (this series for PCIe and Ronak's for USB). I have
> > coordinated with Ronak regarding the overlap, and we can update the
> > series to resolve any overlap based on the order of merging.
> >
> > Link: https://lore.kernel.org/all/20260508213234.4643-1-ronak.raheja@xxxxxxxxxxxxxxxx/ [1]
> >
> > Signed-off-by: Matthew Leung <matthew.leung@xxxxxxxxxxxxxxxx>
> > ---
> > Changes in v2:
> > - Rebased onto v7.1-rc6
> > - Patch 1: no change (Reviewed-by carried forward)
> > - Patch 9: rename QPHY_PCIE_V10_60_PCS_PCS_TX_RX_CONFIG to
> > QPHY_PCIE_V10_60_PCS_TX_RX_CONFIG to be consistent with the
> > naming convention used in previous pcs-pcie headers
> > - Patch 10: update usage of renamed macro
> > - Link to v1: https://patch.msgid.link/20260508-hawi-phy-pcie-v1-0-237b894353fc@xxxxxxxxxxxxxxxx
> >
> > To: Vinod Koul <vkoul@xxxxxxxxxx>
> > To: Neil Armstrong <neil.armstrong@xxxxxxxxxx>
> > To: Rob Herring <robh@xxxxxxxxxx>
> > To: Krzysztof Kozlowski <krzk+dt@xxxxxxxxxx>
> > To: Conor Dooley <conor+dt@xxxxxxxxxx>
> > Cc: linux-arm-msm@xxxxxxxxxxxxxxx
> > Cc: linux-phy@xxxxxxxxxxxxxxxxxxx
> > Cc: devicetree@xxxxxxxxxxxxxxx
> > Cc: linux-kernel@xxxxxxxxxxxxxxx
> >
> > ---
> > Matthew Leung (10):
> > dt-bindings: phy: qcom,sc8280xp-qmp-pcie-phy: Add Hawi compatibles
> > phy: qcom-qmp: qserdes-com: Add v10 register offsets
> > phy: qcom-qmp: qserdes-txrx: Add v10 register offsets
> > phy: qcom-qmp: pcs: Add v10 register offsets
> > phy: qcom-qmp: pcs-pcie: Add v10 register offsets
>
> Squash these 4 patches.
>
> > phy: qcom-qmp: qserdes-com: Add v10.60 register offsets
> > phy: qcom-qmp: qserdes-txrx: Add v10.60 register offsets
> > phy: qcom-qmp: pcs: Add v10.60 register offsets
> > phy: qcom-qmp: pcs-pcie: Add v10.60 register offsets
>
> And these 4

Will do.

>
> > phy: qcom: qmp-pcie: Add QMP PCIe PHY support for Hawi
> >
> > .../bindings/phy/qcom,sc8280xp-qmp-pcie-phy.yaml | 6 +
> > drivers/phy/qualcomm/phy-qcom-qmp-pcie.c | 382 +++++++++++++++++++++
> > drivers/phy/qualcomm/phy-qcom-qmp-pcs-pcie-v10.h | 18 +
> > .../phy/qualcomm/phy-qcom-qmp-pcs-pcie-v10_60.h | 26 ++
> > drivers/phy/qualcomm/phy-qcom-qmp-pcs-v10.h | 22 ++
> > drivers/phy/qualcomm/phy-qcom-qmp-pcs-v10_60.h | 23 ++
> > .../phy/qualcomm/phy-qcom-qmp-qserdes-com-v10.h | 49 +++
> > .../phy/qualcomm/phy-qcom-qmp-qserdes-com-v10_60.h | 55 +++
> > .../phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v10.h | 47 +++
> > .../qualcomm/phy-qcom-qmp-qserdes-txrx-v10_60.h | 109 ++++++
> > drivers/phy/qualcomm/phy-qcom-qmp.h | 10 +
> > 11 files changed, 747 insertions(+)
> > ---
> > base-commit: e43ffb69e0438cddd72aaa30898b4dc446f664f8
> > change-id: 20260506-hawi-phy-pcie-283933b4113e
> >
> > Best regards,
> > --
> > Matthew Leung <matthew.leung@xxxxxxxxxxxxxxxx>
> >
> >
> > --
> > linux-phy mailing list
> > linux-phy@xxxxxxxxxxxxxxxxxxx
> > https://lists.infradead.org/mailman/listinfo/linux-phy
>
> --
> With best wishes
> Dmitry