devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v6 0/6] net: dsa: microchip: Add KSZ8463 switch support
@ 2025-07-25  0:17 Tristram.Ha
  2025-07-25  0:17 ` [PATCH net-next v6 1/6] dt-bindings: " Tristram.Ha
                   ` (6 more replies)
  0 siblings, 7 replies; 12+ messages in thread
From: Tristram.Ha @ 2025-07-25  0:17 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.

v6
- Set use_single_read and use_single_write so that 64-bit access works
- Change register values for big-endian system if necessary

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        |  37 +++-
 drivers/net/dsa/microchip/ksz_dcb.c           |  10 +-
 drivers/net/dsa/microchip/ksz_spi.c           | 104 ++++++++++
 include/linux/platform_data/microchip-ksz.h   |   1 +
 9 files changed, 522 insertions(+), 32 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2025-07-26  0:29 UTC | newest]

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

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