Skip to content

mv643xx_eth: use mvmdio MDIO bus driver

Florian Fainelli linux-arm-kernel linux-devicetree linuxppc-dev lkml netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 6 repliesIn review
  2. v24 patches 3 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: mvmdio: allow platform device style registrationdrivers/net/ethernet/marvell/mvmdio.c+15 -70 replies
2/4net: mvmdio: rename base register cookie from smireg to regsdrivers/net/ethernet/marvell/mvmdio.c+7 -70 replies
3/4net: mvmdio: enhance driver to support SMI error/done interruptsDocumentation/devicetree/bindings/net/marvell-orion-mdio.txt drivers/net/ethernet/marvell/mvmdio.c+83 -180 replies
4/4mv643xx_eth: convert to use the Marvell Orion MDIO driverarch/arm/plat-orion/common.c arch/powerpc/platforms/chrp/pegasos_eth.c arch/powerpc/sysdev/mv64x60_dev.c +4 more+84 -2090 replies

Reviews trailers per patch

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

PatchThomas PetazzoniJason Cooper
SeriesT-b T-b A-b
1/4
2/4A-b
3/4
4/4

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

Read the v3 thread

Cover letter [PATCH 0/4 v3] mv643xx_eth: use mvmdio MDIO bus driver

Hi all,

This patch converts the mv643xx_eth driver to use the mvmdio MDIO bus driver instead of rolling its own implementation. As a result, all users of this mv643xx_eth driver are converted to register an "orion-mdio" platform_device. The mvmdio driver is also updated to support an interrupt line which reports SMI error/completion, and to allow traditionnal platform device registration instead of just device tree.

David, I think it makes sense for you to merge all of this, since we do not want the architecture files to be desynchronized from the mv643xx_eth to avoid runtime breakage. The potential for merge conflicts should be very small.

Florian Fainelli (4):
net: mvmdio: allow platform device style registration
net: mvmdio: rename base register cookie from smireg to regs
net: mvmdio: enhance driver to support SMI error/done interrupts
mv643xx_eth: convert to use the Marvell Orion MDIO driver

 .../devicetree/bindings/net/marvell-orion-mdio.txt |    3 +
 arch/arm/plat-orion/common.c                       |   54 +++---
 arch/powerpc/platforms/chrp/pegasos_eth.c          |   20 ++
 arch/powerpc/sysdev/mv64x60_dev.c                  |   16 +-
 drivers/net/ethernet/marvell/Kconfig               |    5 +-
 drivers/net/ethernet/marvell/Makefile              |    2 +-
 drivers/net/ethernet/marvell/mv643xx_eth.c         |  195 ++------------------
 drivers/net/ethernet/marvell/mvmdio.c              |  130 ++++++++++---
 include/linux/mv643xx_eth.h                        |    1 -
 9 files changed, 187 insertions(+), 239 deletions(-)
Signature · 1 line
1.7.10.4