Skip to content

RFC Modernize mv88e6060 and remove legacy probe

Andrew Lunn netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest10 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10net: dsa: mv88e6xxx: Remove legacy probe supportdrivers/net/dsa/mv88e6xxx/chip.c+1 -700 replies
2/10net: dsa: mv88e6060: Replace ds with privdrivers/net/dsa/mv88e6060.c drivers/net/dsa/mv88e6060.h+23 -210 replies
3/10net: dsa: mv88e6060: Replace REG_WRITE macrodrivers/net/dsa/mv88e6060.c+41 -322 replies
4/10net: dsa: mv88e6060: Replace REG_READ macrodrivers/net/dsa/mv88e6060.c+7 -130 replies
5/10net: dsa: mv88e6060: Support probing as an mdio devicedrivers/net/dsa/mv88e6060.c+60 -10 replies
6/10net: dsa: mv88e6060: Remove support for legacy probingdrivers/net/dsa/Kconfig drivers/net/dsa/mv88e6060.c+2 -420 replies
7/10net: dsa: mv88e6060: Add SPDX headerdrivers/net/dsa/mv88e6060.c+1 -50 replies
8/10net: dsa: Remove legacy probing supportinclude/net/dsa.h net/dsa/Kconfig net/dsa/Makefile +3 more+0 -7950 replies
9/10arch: arm: dts: Remove disabled marvell,dsa propertiesarch/arm/boot/dts/armada-370-rd.dts arch/arm/boot/dts/armada-388-clearfog.dts arch/arm/boot/dts/armada-xp-linksys-mamba.dts +4 more+0 -3290 replies
10/10bt-bindings: net: DSA: Remove legacy bindingDocumentation/devicetree/bindings/net/dsa/dsa.txt+0 -1550 replies

Reviews trailers per patch

None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPavel Machek
SeriesA-b
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

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

Read the v1 thread

Cover letter [PATCH RFC RFT net-next 00/10] Modernize mv88e6060 and remove legacy probe

The mv88e6060 is the last device using the legacy method of probing an DSA Ethernet switch. This patchset applies some cleanups to the driver, and then adds support for probing the device as an MDIO bus device. The legacy probe is then removed from the driver, and then from DSA as a whole.

This is compile tested only. Comment and testing welcome.

It should not be merged yet, and one of the patches should go via arm-soc.

Andrew Lunn (10):
net: dsa: mv88e6xxx: Remove legacy probe support
net: dsa: mv88e6060: Replace ds with priv
net: dsa: mv88e6060: Replace REG_WRITE macro
net: dsa: mv88e6060: Replace REG_READ macro
net: dsa: mv88e6060: Support probing as an mdio device
net: dsa: mv88e6060: Remove support for legacy probing
net: dsa: mv88e6060: Add SPDX header
net: dsa: Remove legacy probing support
arch: arm: dts: Remove disabled marvell,dsa properties
bt-bindings: net: DSA: Remove legacy binding

 .../devicetree/bindings/net/dsa/dsa.txt       | 155 ----
 arch/arm/boot/dts/armada-370-rd.dts           |  42 -
 arch/arm/boot/dts/armada-388-clearfog.dts     |  58 --
 arch/arm/boot/dts/armada-xp-linksys-mamba.dts |  47 --
 arch/arm/boot/dts/kirkwood-dir665.dts         |  47 --
 arch/arm/boot/dts/kirkwood-linksys-viper.dts  |  47 --
 .../arm/boot/dts/kirkwood-mv88f6281gtw-ge.dts |  47 --
 arch/arm/boot/dts/kirkwood-rd88f6281.dtsi     |  41 -
 drivers/net/dsa/Kconfig                       |   2 +-
 drivers/net/dsa/mv88e6060.c                   | 217 ++---
 drivers/net/dsa/mv88e6060.h                   |   1 +
 drivers/net/dsa/mv88e6xxx/chip.c              |  71 +-
 include/net/dsa.h                             |  23 -
 net/dsa/Kconfig                               |   9 -
 net/dsa/Makefile                              |   1 -
 net/dsa/dsa.c                                 |   5 -
 net/dsa/dsa_priv.h                            |  12 -
 net/dsa/legacy.c                              | 745 ------------------
 18 files changed, 121 insertions(+), 1449 deletions(-)
Signature · 1 line
2.20.1