Skip to content

net: Introduce QUSGMII phy mode

Maxime Chevallier linux-arm-kernel linux-devicetree lkml netdev 4 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest posting 2/24 patches 2 repliesApplied 4/4
  2. v4 posting 1/24 patches 1 replySuperseded
  3. v34 patches 4 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches6 repliesSuperseded

Patches in v4 posting 2/2 All 4 applied

#Subject and filesSizeRepliesApplied
1/4net: phy: Introduce QUSGMII PHY modeDocumentation/networking/phy.rst drivers/net/phy/phylink.c include/linux/phy.h+16 -00 repliesApplied
2/4dt-bindings: net: ethernet-controller: add QUSGMII modeDocumentation/devicetree/bindings/net/ethernet-controller.yaml+1 -00 repliesApplied
3/4net: phy: Add helper to derive the number of ports from a phy modedrivers/net/phy/phy-core.c include/linux/phy.h+54 -01 replyApplied
4/4net: lan966x: Add QUSGMII support for lan966xdrivers/net/ethernet/microchip/lan966x/lan966x_main.c drivers/net/ethernet/microchip/lan966x/lan966x_phylink.c drivers/net/ethernet/microchip/lan966x/lan966x_port.c +1 more+26 -71 replyApplied

Reviews trailers per patch

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

PatchAndrew LunnRob Herring
1/4R-b
2/4R-b A-b
3/4R-b
4/4R-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 RESEND v4 0/4] net: Introduce QUSGMII phy mode

Hello everyone,

Re-sending, since the previous v4 was sent while net-next was closed.

This is a resend of the V4 of a previous series [1] initially aimed at introducing inband extensions, with modes like QUSGMII. This mode allows passing info in the ethernet preamble between the MAC and the PHY, such as timestamps.

This series has now become a preliminary series, that simply introduces the new interface mode, without support for inband extensions, that will come later.

The reasonning is that work will need to be done in the networking subsystem, but also in the generic phy driver subsystem to allow serdes configuration for qusgmii.

This series add the mode, the relevant binding changes, adds support for it in the lan966x driver, and also introduces a small helper to get the number of links a given phy mode can carry (think 1 for SGMII and 4 for QSGMII). This allows for better readability and will prove useful when (if) we support PSGMII (5 links on 1 interface) and OUSGMII (8 links on one interface).

V4 contains no change but the collected Reviewed-by from Andrew.

Best regards,

Maxime

Maxime Chevallier (4):
net: phy: Introduce QUSGMII PHY mode
dt-bindings: net: ethernet-controller: add QUSGMII mode
net: phy: Add helper to derive the number of ports from a phy mode
net: lan966x: Add QUSGMII support for lan966x

 .../bindings/net/ethernet-controller.yaml     |  1 +
 Documentation/networking/phy.rst              |  9 ++++
 .../ethernet/microchip/lan966x/lan966x_main.c |  2 +
 .../microchip/lan966x/lan966x_phylink.c       |  3 +-
 .../ethernet/microchip/lan966x/lan966x_port.c | 22 +++++---
 .../ethernet/microchip/lan966x/lan966x_regs.h |  6 +++
 drivers/net/phy/phy-core.c                    | 52 +++++++++++++++++++
 drivers/net/phy/phylink.c                     |  3 ++
 include/linux/phy.h                           |  6 +++
 9 files changed, 97 insertions(+), 7 deletions(-)
Signature · 1 line
2.37.1