[PATCH net-next v5 0/6] net: dsa: microchip: Add KSZ8463 switch support

From: Tristram.Ha
Date: Tue Jul 22 2025 - 22:26:55 EST


From: Tristram Ha <tristram.ha@xxxxxxxxxxxxx>

This series of patches is to add KSZ8463 switch support to the KSZ DSA
driver.

v5
- Use separate SPI read and write functions for KSZ8463
- remove inline keyword inside ksz8.c

v4
- Fix a typo in ksz8_reg.h
- Fix logic in ksz8463_r_phy()

v3
- Replace cpu_to_be16() with swab16() to avoid compiler warning
- Disable PTP function in a separate patch

v2
- Break the KSZ8463 driver code into several patches for easy review
- Replace ntohs with cpu_to_be16

Tristram Ha (6):
dt-bindings: net: dsa: microchip: Add KSZ8463 switch support
net: dsa: microchip: Add KSZ8463 switch support to KSZ DSA driver
net: dsa: microchip: Use different registers for KSZ8463
net: dsa: microchip: Write switch MAC address differently for KSZ8463
net: dsa: microchip: Setup fiber ports for KSZ8463
net: dsa: microchip: Disable PTP function of KSZ8463

.../bindings/net/dsa/microchip,ksz.yaml | 1 +
drivers/net/dsa/microchip/ksz8.c | 188 ++++++++++++++++--
drivers/net/dsa/microchip/ksz8.h | 4 +
drivers/net/dsa/microchip/ksz8_reg.h | 49 +++++
drivers/net/dsa/microchip/ksz_common.c | 160 ++++++++++++++-
drivers/net/dsa/microchip/ksz_common.h | 52 ++++-
drivers/net/dsa/microchip/ksz_dcb.c | 10 +-
drivers/net/dsa/microchip/ksz_spi.c | 68 +++++++
include/linux/platform_data/microchip-ksz.h | 1 +
9 files changed, 501 insertions(+), 32 deletions(-)

--
2.34.1