mbox series

[RFC,net-next,v3,0/2] Add SGMII port support to KSZ9477 switch

Message ID 20250208002417.58634-1-Tristram.Ha@microchip.com (mailing list archive)
Headers show
Series Add SGMII port support to KSZ9477 switch | expand

Message

Tristram.Ha@microchip.com Feb. 8, 2025, 12:24 a.m. UTC
From: Tristram Ha <tristram.ha@microchip.com>

The KSZ9477 switch DSA driver uses XPCS driver to operate its SGMII
port.  After the previous XPCS driver updates are added the XPCS patch
can be used to activate DW_XPCS_SGMII_MODE_MAC_MANUAL for KSZ9477.

The KSZ9477 driver will generate a special value for PMA device ids to
activate the new code.

This will require the previous 4 patches from Russell King about
"net: xpcs: cleanups and partial support for KSZ9477."

Tristram Ha (2):
  net: pcs: xpcs: Activate DW_XPCS_SGMII_MODE_MAC_MANUAL for KSZ9477
  net: dsa: microchip: Add SGMII port support to KSZ9477 switch

 drivers/net/dsa/microchip/Kconfig      |  1 +
 drivers/net/dsa/microchip/ksz9477.c    | 98 +++++++++++++++++++++++++-
 drivers/net/dsa/microchip/ksz9477.h    |  4 +-
 drivers/net/dsa/microchip/ksz_common.c | 36 ++++++++--
 drivers/net/dsa/microchip/ksz_common.h | 22 +++++-
 drivers/net/pcs/pcs-xpcs.c             |  2 +
 include/linux/pcs/pcs-xpcs.h           |  1 +
 7 files changed, 157 insertions(+), 7 deletions(-)