mbox series

[net-next,0/5] Add PCS support for Qualcomm IPQ9574 SoC

Message ID 20241101-ipq_pcs_rc1-v1-0-fdef575620cf@quicinc.com (mailing list archive)
Headers show
Series Add PCS support for Qualcomm IPQ9574 SoC | expand

Message

Lei Wei Nov. 1, 2024, 10:32 a.m. UTC
The 'UNIPHY' PCS block in the Qualcomm IPQ9574 SoC provides Ethernet
PCS and SerDes functions. It supports 1Gbps mode PCS and 10-Gigabit
mode PCS (XPCS) functions, and supports various interface modes for
the connectivity between the Ethernet MAC and the external PHYs/Switch.
There are three UNIPHY (PCS) instances in IPQ9574, supporting the six
Ethernet ports.

This patch series adds base driver support for initializing the PCS,
and PCS phylink ops for managing the PCS modes/states. Support for
SGMII/QSGMII (PCS) and USXGMII (XPCS) modes is being added initially.

The Ethernet driver which handles the MAC operations will create the
PCS instances and phylink for the MAC, by utilizing the API exported
by this driver.

While support is being added initially for IPQ9574, the driver is
expected to be easily extendable later for other SoCs in the IPQ
family such as IPQ5332.

Signed-off-by: Lei Wei <quic_leiwei@quicinc.com>
---
Lei Wei (5):
      dt-bindings: net: pcs: Add Ethernet PCS for Qualcomm IPQ9574 SoC
      net: pcs: Add PCS driver for Qualcomm IPQ9574 SoC
      net: pcs: qcom-ipq: Add PCS create and phylink operations for IPQ9574
      net: pcs: qcom-ipq: Add USXGMII interface mode for IPQ9574
      MAINTAINERS: Add maintainer for Qualcomm IPQ PCS driver

 .../bindings/net/pcs/qcom,ipq9574-pcs.yaml         | 230 ++++++
 MAINTAINERS                                        |   9 +
 drivers/net/pcs/Kconfig                            |   9 +
 drivers/net/pcs/Makefile                           |   1 +
 drivers/net/pcs/pcs-qcom-ipq.c                     | 879 +++++++++++++++++++++
 include/dt-bindings/net/pcs-qcom-ipq.h             |  15 +
 include/linux/pcs/pcs-qcom-ipq.h                   |  16 +
 7 files changed, 1159 insertions(+)
---
base-commit: 9852d85ec9d492ebef56dc5f229416c925758edc
change-id: 20241101-ipq_pcs_rc1-26ae183c9c63

Best regards,