Linux-PHY Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/5] phy: qcom: sgmii-eth: add Nord USXGMII support
@ 2026-12-01 19:59 Mohd Ayaan Anwar
  2026-12-01 19:59 ` [PATCH v2 1/5] dt-bindings: phy: qcom,sa8775p-dwmac-sgmii-phy: add Nord compatible Mohd Ayaan Anwar
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Mohd Ayaan Anwar @ 2026-12-01 19:59 UTC (permalink / raw)
  To: Vinod Koul, Neil Armstrong, Manivannan Sadhasivam, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Bartosz Golaszewski,
	Lorenzo Bianconi
  Cc: linux-arm-msm, linux-phy, devicetree, Mohd Ayaan Anwar,
	Bartosz Golaszewski

This series adds support for the Ethernet SerDes found on the Qualcomm
Nord SoC.

Nord uses a QMP v7 SerDes block, which is an updated version of the
SGMII SerDes PHY IP already handled by phy-qcom-sgmii-eth. The driver
currently supports the 1.25 Gbaud and 3.125 Gbaud configurations used by
SGMII, 1000BASE-X and 2500BASE-X. Nord additionally requires the SerDes
to operate at 10.3125 Gbaud for its 10 Gigabit Ethernet interfaces.

The series can be broadly divided into three parts:

  1. Add the qcom,nord-dwmac-sgmii-phy compatible to the binding.
  2. Prepare the driver for PHY modes which require different SerDes
     programming and readiness checks. Existing SA8775P behaviour is
     unchanged.
  3. Add the QMP v7 register definitions, 10.3125 Gbaud programming
     sequence and readiness checks required for USXGMII and 10GBASE-R.

This series has been tested on:
  1. Nord Ride SX platform, which has a MV-Q6223 switch, running in
     fixed link USXGMII 10G mode. It has the QMP v7 SerDes block.
  2. IQ 9075 EVK, which has the QMP v5 IP, matched by the existing
     qcom,sa8775p-dwmac-sgmii-phy compatible.

Changes in v2:
- Group standalone compatibles into a sorted enum; explain why Nord
  cannot use the SA8775P fallback: Krzysztof.
- Rename default_interface to interface and fix alignment: Lorenzo.
- Rework the series to separate out v5 and v7 support. v5 only supports
  line rates of upto 2.5G. v7, with its different register offsets and
  programming sequences, has support for upto 10G: Mani, Sashiko.
- Link to v1: https://patch.msgid.link/20260923-nord_ethernet_serdes-v1-0-f8ac1c487882@oss.qualcomm.com

Signed-off-by: Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>
---
Mohd Ayaan Anwar (5):
      dt-bindings: phy: qcom,sa8775p-dwmac-sgmii-phy: add Nord compatible
      phy: qcom: sgmii-eth: rename QMP v5 initialization functions
      phy: qcom: sgmii-eth: select init functions through match data
      phy: qcom: sgmii-eth: parameterize readiness register offsets
      phy: qcom: sgmii-eth: add Nord USXGMII support

 .../bindings/phy/qcom,sa8775p-dwmac-sgmii-phy.yaml |   4 +-
 drivers/phy/qualcomm/phy-qcom-qmp-pcs-sgmii.h      |   5 +
 drivers/phy/qualcomm/phy-qcom-qmp-qserdes-com-v7.h |   2 +
 .../phy/qualcomm/phy-qcom-qmp-qserdes-txrx-v7.h    |   9 +
 drivers/phy/qualcomm/phy-qcom-sgmii-eth.c          | 288 ++++++++++++++++-----
 5 files changed, 249 insertions(+), 59 deletions(-)
---
base-commit: d138596e9f822033490b2e577ec2ea64f2aa246c
change-id: 20260923-nord_ethernet_serdes-c486f715f383

Best regards,
--  
Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>


-- 
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2026-12-04 11:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-01 19:59 [PATCH v2 0/5] phy: qcom: sgmii-eth: add Nord USXGMII support Mohd Ayaan Anwar
2026-12-01 19:59 ` [PATCH v2 1/5] dt-bindings: phy: qcom,sa8775p-dwmac-sgmii-phy: add Nord compatible Mohd Ayaan Anwar
2026-12-01 19:59 ` [PATCH v2 2/5] phy: qcom: sgmii-eth: rename QMP v5 initialization functions Mohd Ayaan Anwar
2026-12-04 10:57   ` Lorenzo Bianconi
2026-12-01 19:59 ` [PATCH v2 3/5] phy: qcom: sgmii-eth: select init functions through match data Mohd Ayaan Anwar
2026-12-04 11:07   ` Lorenzo Bianconi
2026-12-01 19:59 ` [PATCH v2 4/5] phy: qcom: sgmii-eth: parameterize readiness register offsets Mohd Ayaan Anwar
2026-12-04 11:10   ` Lorenzo Bianconi
2026-12-01 19:59 ` [PATCH v2 5/5] phy: qcom: sgmii-eth: add Nord USXGMII support Mohd Ayaan Anwar
2026-12-04 11:13   ` Lorenzo Bianconi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox