Skip to content

net: dsa: microchip: Add KSZ8463 switch support

[email protected] linux-devicetree lkml netdev 6 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest6 patches 4 repliesApplied 6/6
  2. v56 patches 3 repliesSuperseded
  3. v47 patches 10 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v37 patches5 repliesSuperseded
v26 patches11 repliesSuperseded
v12 patches1 replySuperseded

Patches in v6 All 6 applied

#Subject and filesSizeRepliesApplied
1/6dt-bindings: net: dsa: microchip: Add KSZ8463 switch supportDocumentation/devicetree/bindings/net/dsa/microchip,ksz.yaml+1 -00 repliesApplied
2/6net: dsa: microchip: Add KSZ8463 switch support to KSZ DSA driverdrivers/net/dsa/microchip/ksz8.c drivers/net/dsa/microchip/ksz8.h drivers/net/dsa/microchip/ksz8_reg.h +4 more+389 -31 replyApplied
3/6net: dsa: microchip: Use different registers for KSZ8463drivers/net/dsa/microchip/ksz8.c drivers/net/dsa/microchip/ksz_common.c drivers/net/dsa/microchip/ksz_dcb.c+92 -281 replyApplied
4/6net: dsa: microchip: Write switch MAC address differently for KSZ8463drivers/net/dsa/microchip/ksz_common.c+10 -10 repliesApplied
5/6net: dsa: microchip: Setup fiber ports for KSZ8463drivers/net/dsa/microchip/ksz8.c drivers/net/dsa/microchip/ksz_common.c+19 -01 replyApplied
6/6net: dsa: microchip: Disable PTP function of KSZ8463drivers/net/dsa/microchip/ksz8.c+11 -01 replyApplied

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchKrzysztof KozlowskiAndrew Lunn
1/6A-b R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

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

From: Tristram Ha <[email protected]>

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(-)
Signature · 1 line
2.34.1