netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v5 0/6] net: dsa: microchip: Add KSZ8463 switch support
@ 2025-07-23  2:26 Tristram.Ha
  2025-07-23  2:26 ` [PATCH net-next v5 1/6] dt-bindings: " Tristram.Ha
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Tristram.Ha @ 2025-07-23  2:26 UTC (permalink / raw)
  To: Woojung Huh, Andrew Lunn, Vladimir Oltean, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley
  Cc: Maxime Chevallier, Simon Horman, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Marek Vasut, UNGLinuxDriver,
	devicetree, netdev, linux-kernel, Tristram Ha

From: Tristram Ha <tristram.ha@microchip.com>

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


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

end of thread, other threads:[~2025-07-23 17:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-23  2:26 [PATCH net-next v5 0/6] net: dsa: microchip: Add KSZ8463 switch support Tristram.Ha
2025-07-23  2:26 ` [PATCH net-next v5 1/6] dt-bindings: " Tristram.Ha
2025-07-23  2:26 ` [PATCH net-next v5 2/6] net: dsa: microchip: Add KSZ8463 switch support to KSZ DSA driver Tristram.Ha
2025-07-23 17:09   ` Andrew Lunn
2025-07-23 17:16   ` Andrew Lunn
2025-07-23  2:26 ` [PATCH net-next v5 3/6] net: dsa: microchip: Use different registers for KSZ8463 Tristram.Ha
2025-07-23 16:26   ` Simon Horman
2025-07-23  2:26 ` [PATCH net-next v5 4/6] net: dsa: microchip: Write switch MAC address differently " Tristram.Ha
2025-07-23  2:26 ` [PATCH net-next v5 5/6] net: dsa: microchip: Setup fiber ports " Tristram.Ha
2025-07-23  2:26 ` [PATCH net-next v5 6/6] net: dsa: microchip: Disable PTP function of KSZ8463 Tristram.Ha

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).