[RFC PATCH v1 0/9] provide cable test support for the ksz886x

From: Oleksij Rempel
Date: Wed May 05 2021 - 05:22:53 EST


This patches provide support for cable testing on the ksz886x switches.
Since it has one special port, we needed to add phylink with validation
and extra quirk for the PHY to signal, that one port will not provide
valid cable testing reports.

Michael Grzeschik (3):
net: phy: micrel: move phy reg offsets to common header
net: dsa: microchip: ksz8795: add phylink support
net: phy: micrel: add patch for erratas on port1

Oleksij Rempel (6):
net: phy: micrel: use consistent indention after define
net: phy: micrel: apply resume errata workaround for ksz8873 and
ksz8863
net: phy: micrel: ksz886x add MDI-X support
net: phy: micrel: ksz8081 add MDI-X support
net: dsa: microchip: ksz8795: add LINK_MD register support
net: phy: micrel: ksz886x/ksz8081: add cabletest support

drivers/net/dsa/microchip/ksz8795.c | 110 +++++++
drivers/net/dsa/microchip/ksz8795_reg.h | 67 +---
drivers/net/ethernet/micrel/ksz884x.c | 70 +---
drivers/net/phy/micrel.c | 416 +++++++++++++++++++++++-
drivers/net/phy/phylink.c | 2 +-
include/linux/micrel_phy.h | 64 ++++
net/dsa/slave.c | 4 +
7 files changed, 586 insertions(+), 147 deletions(-)

--
2.29.2