Skip to content

net: phy: Add 2.5G/5GBASET PHYs support

Maxime Chevallier linux-arm-kernel lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: phy: Mask-out non-compatible modes when setting the max-speeddrivers/net/phy/phy-core.c drivers/net/phy/phy_device.c include/linux/phy.h+46 -530 replies
2/4net: phy: Move of_set_phy_eee_broken to phy-core.cdrivers/net/phy/phy-core.c drivers/net/phy/phy_device.c include/linux/phy.h+28 -280 replies
3/4net: phy: Extract genphy_c45_pma_read_abilities from marvell10gdrivers/net/phy/marvell10g.c drivers/net/phy/phy-c45.c include/linux/phy.h+83 -701 reply
4/4net: phy: Add generic support for 2.5GBaseT and 5GBaseTdrivers/net/phy/phy-c45.c include/uapi/linux/mdio.h+53 -02 replies

Reviews trailers per patch

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

PatchAndrew LunnHeiner Kallweit
1/4R-b
2/4R-b
3/4R-b
4/4R-b R-b

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

Read the v1 thread

Cover letter [PATCH net-next 0/4] net: phy: Add 2.5G/5GBASET PHYs support

The 802.3bz standard defines 2 modes based on the NBASET alliance work that allow to use 2.5Gbps and 5Gbps speeds on Cat 5e, 6 and 7 cables.

This series adds the necessary infrastructure to handle these modes with C45 PHYs. This series was originally part of a bigger one, that has seen 2 iterations [1] [2] that added support for these modes on Marvell Alaska PHYs.

Following some discussions with Heiner and Andrew [3], we decided to split-out the generic parts so that we can work together on the following steps to get these mode fully working with Aquantia and Marvell PHYS.

The first 3 patches are reworking some of the internal network phy infrastructure to handle the new modes in a more generic way.

The 4th patch adds all the C45 register definition and accesses that follows the 802.3bz standard to support 2.5GBASET and 5GBASET.

[1] : https://lore.kernel.org/netdev/[email protected]/
[2] : https://lore.kernel.org/netdev/[email protected]/
[3] : https://lore.kernel.org/netdev/[email protected]/

Maxime Chevallier (4):
net: phy: Mask-out non-compatible modes when setting the max-speed
net: phy: Move of_set_phy_eee_broken to phy-core.c
net: phy: Extract genphy_c45_pma_read_abilities from marvell10g
net: phy: Add generic support for 2.5GBaseT and 5GBaseT

 drivers/net/phy/marvell10g.c |  78 +++---------------------
 drivers/net/phy/phy-c45.c    | 111 +++++++++++++++++++++++++++++++++++
 drivers/net/phy/phy-core.c   |  72 +++++++++++++++++++++++
 drivers/net/phy/phy_device.c |  81 -------------------------
 include/linux/phy.h          |   3 +
 include/uapi/linux/mdio.h    |  16 +++++
 6 files changed, 210 insertions(+), 151 deletions(-)
Signature · 1 line
2.19.2