net: phy: marvell: implement cable test for 88E1111
authorPawel Dembicki <paweldembicki@gmail.com>
Thu, 4 Apr 2024 09:07:26 +0000 (11:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 6 Apr 2024 17:21:53 +0000 (18:21 +0100)
commitd133ef1ee2a256ba5a589493cd28dccfede6af11
tree7456bc96bdc2bbb3f075ae66d62784c29b5f9473
parent8e69b3459ca1ed4f6f7bd0b0a11962ddb3e7d34a
net: phy: marvell: implement cable test for 88E1111

The same implementation is also valid for 88E1145. VCT in 88E1111 is
similar to the 88E609x family. The main difference lies in register
organization and required workarounds.

It utilizes the same fields in registers but requires a simpler
implementation.

Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/marvell.c