net: phy: at803x: add cable diagnostics support for ATH9331 and ATH8032
authorOleksij Rempel <o.rempel@pengutronix.de>
Wed, 27 May 2020 05:08:43 +0000 (07:08 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2020 06:26:04 +0000 (23:26 -0700)
commitdc0f3ed1973f101508957b59e529e03da1349e09
tree6a4bd984ec6081e366295b3e4a45ca5dd533d6ac
parent943bbe1de5fcdec06765de182f30b1b2d05f9c43
net: phy: at803x: add cable diagnostics support for ATH9331 and ATH8032

Add support for Atheros 100Base-T PHYs. The only difference seems to be
the ability to test 2 pairs instead of 4 and the lack of 1000Base-T
specific register.

Only the ATH9331 was tested with this patch.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c