Message ID | 20250207024316.25334-1-Tristram.Ha@microchip.com (mailing list archive) |
---|---|
Headers | show |
Series | Add SGMII port support to KSZ9477 switch | expand |
On Thu, Feb 06, 2025 at 06:43:13PM -0800, Tristram.Ha@microchip.com wrote: > 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." Great, thanks for using that work. It would be helpful if you could reply to my posting with reviewed/tested-by as appropriate please. Thanks again.
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 (3): net: pcs: xpcs: Activate DW_XPCS_SGMII_MODE_MAC_MANUAL for KSZ9477 net: dsa: microchip: Add SGMII port support to KSZ9477 switch 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(-)