Add cable tester support for the Broadcom PHYs. Support for it was developed on a BCM54140 Quad PHY which RDB register access.
If there is a link partner the results are not as good as with an open cable. I guess we could retry if the measurement until all pairs had at least one valid result. Please note that this patch depends on Andrew's latest cable testing series: https://lore.kernel.org/netdev/20200509162851.362346-1-and...@lunn.ch/ Michael Walle (4): net: phy: broadcom: add exp register access methods without buslock net: phy: broadcom: add bcm_phy_modify_exp() net: phy: broadcom: add cable test support net: phy: bcm54140: add cable diagnostics support drivers/net/phy/bcm-phy-lib.c | 264 +++++++++++++++++++++++++++++++++- drivers/net/phy/bcm-phy-lib.h | 10 ++ drivers/net/phy/bcm54140.c | 2 + include/linux/brcmphy.h | 52 +++++++ 4 files changed, 321 insertions(+), 7 deletions(-) -- 2.20.1