Thread (24 messages) 24 messages, 3 authors, 15d ago

Re: [PATCH net-next v7 11/12] net: pcs: airoha: add PCS driver for Airoha AN7581 SoC

From: Benjamin Larsson <hidden>
Date: 2026-06-15 16:31:39
Also in: linux-arm-kernel, linux-devicetree, linux-doc, linux-mediatek, lkml, llvm

Hi.

On 15/06/2026 14:29, Christian Marangi wrote:
Add PCS driver for Airoha AN7581 SoC for Ethernet/PON/PCIe/USB SERDES
and permit usage of external PHY or connected SFP cage. Supported modes
are USXGMII, 10G-BASER, 2500BASE-X, 1000BASE-X and SGMII.

The driver probe and register the various needed registers and register as
a PCS provider for fwnode usage.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
---
  drivers/net/pcs/Kconfig                    |    2 +
  drivers/net/pcs/Makefile                   |    2 +
  drivers/net/pcs/airoha/Kconfig             |   12 +
  drivers/net/pcs/airoha/Makefile            |    7 +
  drivers/net/pcs/airoha/pcs-airoha-common.c | 1318 ++++++++++++
  drivers/net/pcs/airoha/pcs-airoha.h        | 1309 ++++++++++++
  drivers/net/pcs/airoha/pcs-an7581.c        | 2093 ++++++++++++++++++++
  7 files changed, 4743 insertions(+)
  create mode 100644 drivers/net/pcs/airoha/Kconfig
  create mode 100644 drivers/net/pcs/airoha/Makefile
  create mode 100644 drivers/net/pcs/airoha/pcs-airoha-common.c
  create mode 100644 drivers/net/pcs/airoha/pcs-airoha.h
  create mode 100644 drivers/net/pcs/airoha/pcs-an7581.c
Most likely there will be pcs drivers for the EN7523 platform also. Can 
the common code for an7581 have an7581 in the name instead of airoha?

MvH

Benjamin Larsson
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help