Skip to content

Convert Ocelot and Felix switches to PHYLINK

Vladimir Oltean netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 14 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: mscc: ocelot: treat SPEED_UNKNOWN as SPEED_10drivers/net/ethernet/mscc/ocelot.c+1 -00 replies
2/2net: mscc: ocelot: convert to PHYLINKdrivers/net/dsa/ocelot/felix.c drivers/net/ethernet/mscc/Kconfig drivers/net/ethernet/mscc/ocelot.c +3 more+284 -1201 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/2] Convert Ocelot and Felix switches to PHYLINK

This series is needed on NXP LS1028A to support the CPU port which runs at 2500Mbps fixed-link, a setting which PHYLIB can't hold in its swphy design.

In DSA, PHYLINK comes "for free". I added the PHYLINK ops to the Ocelot driver, integrated them to the VSC7514 ocelot_board module, then tested them via the Felix front-end. The VSC7514 integration is only compile-tested.

Vladimir Oltean (2):
net: mscc: ocelot: treat SPEED_UNKNOWN as SPEED_10
net: mscc: ocelot: convert to PHYLINK

 drivers/net/dsa/ocelot/felix.c           |  65 +++++++---
 drivers/net/ethernet/mscc/Kconfig        |   2 +-
 drivers/net/ethernet/mscc/ocelot.c       | 153 ++++++++++++-----------
 drivers/net/ethernet/mscc/ocelot.h       |  13 +-
 drivers/net/ethernet/mscc/ocelot_board.c | 151 +++++++++++++++++++---
 include/soc/mscc/ocelot.h                |  21 +++-
 6 files changed, 285 insertions(+), 120 deletions(-)
Signature · 4 lines
Horatiu, I am sorry for abusing your goodwill. Could you please test
this series and confirm it causes no regression on VSC7514?

2.17.1