[PATCH net-next v3 0/8] net: dsa: motorcomm: Add SerDes PCS
From: David Yang
Date: Thu Sep 17 2026 - 15:33:53 EST
Support in-band negotiation of the SerDes ports.
v3:
- fix build error
v2: https://lore.kernel.org/r/20260916164310.3168269-1-mmyangfl@xxxxxxxxx
- Remove YT921X_PORT_MASK_* macros
- code style nits
- unconditionally write BMCR_ANRESTART
v1: https://lore.kernel.org/r/20260909190541.466476-1-mmyangfl@xxxxxxxxx
David Yang (8):
net: dsa: motorcomm: Remove YT921X_PORT_MASK_* macros
net: dsa: motorcomm: Split xMII and SERDES port masks
net: dsa: motorcomm: Check port type with runtime info
net: dsa: motorcomm: Fix register bit field names
net: dsa: motorcomm: Introduce yt921x_speed
net: dsa: motorcomm: Hoist port_to_priv helper into chip.h
net: dsa: motorcomm: Split MDIO bus module
net: dsa: motorcomm: Add SerDes PCS
drivers/net/dsa/motorcomm/Makefile | 2 +
drivers/net/dsa/motorcomm/chip.c | 525 ++++++---------------------
drivers/net/dsa/motorcomm/chip.h | 106 +++---
drivers/net/dsa/motorcomm/leds.c | 14 +-
drivers/net/dsa/motorcomm/mdio_bus.c | 301 +++++++++++++++
drivers/net/dsa/motorcomm/mdio_bus.h | 54 +++
drivers/net/dsa/motorcomm/pcs-921x.c | 235 ++++++++++++
drivers/net/dsa/motorcomm/pcs.h | 13 +
8 files changed, 793 insertions(+), 457 deletions(-)
create mode 100644 drivers/net/dsa/motorcomm/mdio_bus.c
create mode 100644 drivers/net/dsa/motorcomm/mdio_bus.h
create mode 100644 drivers/net/dsa/motorcomm/pcs-921x.c
create mode 100644 drivers/net/dsa/motorcomm/pcs.h
--
2.53.0