The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH RFC net-next v3 0/2] Add SGMII port support to KSZ9477 switch
@ 2025-02-08  0:24 Tristram.Ha
  2025-02-08  0:24 ` [PATCH RFC net-next v3 1/2] net: pcs: xpcs: Activate DW_XPCS_SGMII_MODE_MAC_MANUAL for KSZ9477 Tristram.Ha
  2025-02-08  0:24 ` [PATCH RFC net-next v3 2/2] net: dsa: microchip: Add SGMII port support to KSZ9477 switch Tristram.Ha
  0 siblings, 2 replies; 3+ messages in thread
From: Tristram.Ha @ 2025-02-08  0:24 UTC (permalink / raw)
  To: Russell King, Woojung Huh, Andrew Lunn, Vladimir Oltean,
	Heiner Kallweit, Maxime Chevallier
  Cc: David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	UNGLinuxDriver, netdev, linux-kernel, Tristram Ha

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(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-02-08  0:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-08  0:24 [PATCH RFC net-next v3 0/2] Add SGMII port support to KSZ9477 switch Tristram.Ha
2025-02-08  0:24 ` [PATCH RFC net-next v3 1/2] net: pcs: xpcs: Activate DW_XPCS_SGMII_MODE_MAC_MANUAL for KSZ9477 Tristram.Ha
2025-02-08  0:24 ` [PATCH RFC net-next v3 2/2] net: dsa: microchip: Add SGMII port support to KSZ9477 switch Tristram.Ha

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