Skip to content

net: dsa: motorcomm: Add SerDes PCS

David Yang lkml netdev 4 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. v4 Latest8 patches 4 repliesApplied 8/8
  2. v38 patches 8 repliesSuperseded
  3. v28 patches 0 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v17 patches5 repliesSuperseded

Changes in v4 from the cover letter

- fix 1000basex
- YT921X_SPEED_NUM -> YT921X_SPEED_INVALID
- reword commit message
v3: https://lore.kernel.org/r/[email protected]
- fix build error
v2: https://lore.kernel.org/r/[email protected]
- Remove YT921X_PORT_MASK_* macros
- code style nits
- unconditionally write BMCR_ANRESTART
v1: https://lore.kernel.org/r/[email protected]

Patches in v4 All 8 applied

#Subject and filesSizeRepliesApplied
1/8net: dsa: motorcomm: Remove YT921X_PORT_MASK_* macrosdrivers/net/dsa/motorcomm/chip.c+13 -180 repliesApplied
2/8net: dsa: motorcomm: Split xMII and SERDES port masksdrivers/net/dsa/motorcomm/chip.c drivers/net/dsa/motorcomm/chip.h+27 -251 replyApplied
3/8net: dsa: motorcomm: Identify port type at runtimedrivers/net/dsa/motorcomm/chip.c drivers/net/dsa/motorcomm/chip.h+35 -162 repliesApplied
4/8net: dsa: motorcomm: Fix register bit field namesdrivers/net/dsa/motorcomm/chip.c drivers/net/dsa/motorcomm/chip.h+7 -50 repliesApplied
5/8net: dsa: motorcomm: Introduce yt921x_speeddrivers/net/dsa/motorcomm/chip.c drivers/net/dsa/motorcomm/chip.h+34 -711 replyApplied
6/8net: dsa: motorcomm: Hoist port_to_priv helper into chip.hdrivers/net/dsa/motorcomm/chip.c drivers/net/dsa/motorcomm/chip.h drivers/net/dsa/motorcomm/leds.c+10 -100 repliesApplied
7/8net: dsa: motorcomm: Split MDIO bus moduledrivers/net/dsa/motorcomm/Makefile drivers/net/dsa/motorcomm/chip.c drivers/net/dsa/motorcomm/chip.h +2 more+319 -2890 repliesApplied
8/8net: dsa: motorcomm: Add SerDes PCSdrivers/net/dsa/motorcomm/Makefile drivers/net/dsa/motorcomm/chip.c drivers/net/dsa/motorcomm/chip.h +4 more+367 -290 repliesApplied

Reviews trailers per patch

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

PatchAndrew Lunn
1/8R-b
2/8R-b
3/8R-b
4/8R-b
5/8R-b
6/8R-b
7/8R-b
8/8R-b

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

Read the v4 thread

Cover letter [PATCH net-next v4 0/8] net: dsa: motorcomm: Add SerDes PCS

Rework chip_info to tell SERDES ports from xMII ones, identify the port type at runtime from the pad configuration, and add a phylink PCS driver for the internal SerDes, so that the link of SERDES ports can be established through in-band negotiation instead of a fixed configuration.

v4:
- fix 1000basex
- YT921X_SPEED_NUM -> YT921X_SPEED_INVALID
- reword commit message
v3: https://lore.kernel.org/r/[email protected]
- fix build error
v2: https://lore.kernel.org/r/[email protected]
- Remove YT921X_PORT_MASK_* macros
- code style nits
- unconditionally write BMCR_ANRESTART
v1: https://lore.kernel.org/r/[email protected]

David Yang (8):
net: dsa: motorcomm: Remove YT921X_PORT_MASK_* macros
net: dsa: motorcomm: Split xMII and SERDES port masks
net: dsa: motorcomm: Identify port type at runtime
net: dsa: motorcomm: Fix register bit field names
net: dsa: motorcomm: Introduce yt921x_speed
net: dsa: motorcomm: Hoist port_to_priv helper into chip.h
net: dsa: motorcomm: Split MDIO bus module
net: dsa: motorcomm: Add SerDes PCS

 drivers/net/dsa/motorcomm/Makefile   |   2 +
 drivers/net/dsa/motorcomm/chip.c     | 524 +++++++--------------------
 drivers/net/dsa/motorcomm/chip.h     | 106 +++---
 drivers/net/dsa/motorcomm/leds.c     |  14 +-
 drivers/net/dsa/motorcomm/mdio_bus.c | 301 +++++++++++++++
 drivers/net/dsa/motorcomm/mdio_bus.h |  54 +++
 drivers/net/dsa/motorcomm/pcs-921x.c | 247 +++++++++++++
 drivers/net/dsa/motorcomm/pcs.h      |  13 +
 8 files changed, 805 insertions(+), 456 deletions(-)
 create mode 100644 drivers/net/dsa/motorcomm/mdio_bus.c
 create mode 100644 drivers/net/dsa/motorcomm/mdio_bus.h
 create mode 100644 drivers/net/dsa/motorcomm/pcs-921x.c
 create mode 100644 drivers/net/dsa/motorcomm/pcs.h

--
2.53.0