net: phy: LAN87xx: add ethtool SQI support
authorArun Ramadoss <arun.ramadoss@microchip.com>
Wed, 20 Apr 2022 15:20:15 +0000 (20:50 +0530)
committerJakub Kicinski <kuba@kernel.org>
Fri, 22 Apr 2022 23:30:04 +0000 (16:30 -0700)
commitb649695248b15bfd921abda7c9096e1a93f8d67d
tree7b35e1caec1c7e4c08f53cfac304a6e9574eb2e7
parent869376d0859acf40c83b2c3942ad9d5a8b5d31e4
net: phy: LAN87xx: add ethtool SQI support

This patch add the support for measuring Signal Quality Index for
LAN87xx and LAN937x T1 Phy. It uses the SQI Method 5 for obtaining the
values.

Signed-off-by: Arun Ramadoss <arun.ramadoss@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/microchip_t1.c