Skip to content

mvneta: SGMII-based in-band link state signaling

Stas Sergeev linux-devicetree lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 21 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6fixed_phy: pass phy_device instead of net_device to link_update() functiondrivers/net/phy/fixed_phy.c include/linux/phy_fixed.h net/dsa/slave.c+7 -70 replies
2/6fixed_phy: add fixed_phy_unregister()drivers/net/phy/fixed_phy.c drivers/net/phy/phy_device.c include/linux/phy.h +1 more+23 -00 replies
3/6of_mdio: restructure of_phy_register_fixed_link() for further modificationsdrivers/of/of_mdio.c+18 -140 replies
4/6of: add API for changing parameters of fixed linkdrivers/of/of_mdio.c include/linux/of_mdio.h+89 -010 replies
5/6mvneta: implement SGMII-based in-band link state signalingdrivers/net/ethernet/marvell/mvneta.c+81 -115 replies
6/6mvneta: port marvell's official in-band status enabling proceduredrivers/net/ethernet/marvell/mvneta.c+12 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/6] mvneta: SGMII-based in-band link state signaling

Hello.

Currently the fixed-link DT binding is pre-configured and cannot be changed in run-time. This means the cable unplug events are not being detected, and the link parameters can't be negotiated.

The following patches are needed when mvneta is used in fixed-link mode (without MDIO).
They add an API to of_mdio for updating the fixed_phy status, and use that API in the mvneta driver when parsing the SGMII in-band status.