| From: |
| Tristram.Ha-AT-microchip.com |
| To: |
| Woojung Huh <woojung.huh-AT-microchip.com>, Andrew Lunn <andrew-AT-lunn.ch>, Vladimir Oltean <olteanv-AT-gmail.com>, Rob Herring <robh-AT-kernel.org>, "Krzysztof Kozlowski" <krzk+dt-AT-kernel.org>, Conor Dooley <conor+dt-AT-kernel.org> |
| Subject: |
| [PATCH net-next v6 0/6] net: dsa: microchip: Add KSZ8463 switch support |
| Date: |
| Thu, 24 Jul 2025 17:17:47 -0700 |
| Message-ID: |
| <20250725001753.6330-1-Tristram.Ha@microchip.com> |
| Cc: |
| Maxime Chevallier <maxime.chevallier-AT-bootlin.com>, Simon Horman <horms-AT-kernel.org>, "David S. Miller" <davem-AT-davemloft.net>, Eric Dumazet <edumazet-AT-google.com>, Jakub Kicinski <kuba-AT-kernel.org>, Paolo Abeni <pabeni-AT-redhat.com>, Marek Vasut <marex-AT-denx.de>, <UNGLinuxDriver-AT-microchip.com>, <devicetree-AT-vger.kernel.org>, <netdev-AT-vger.kernel.org>, <linux-kernel-AT-vger.kernel.org>, Tristram Ha <tristram.ha-AT-microchip.com> |
| Archive-link: |
| Article |
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