]> Gentwo Git Trees - linux/.git/commit
net: phy: microchip_t1s: add SQI support for LAN867x Rev.D0 PHYs
authorParthiban Veerasooran <parthiban.veerasooran@microchip.com>
Mon, 1 Dec 2025 03:23:46 +0000 (08:53 +0530)
committerJakub Kicinski <kuba@kernel.org>
Mon, 1 Dec 2025 23:08:24 +0000 (15:08 -0800)
commit16416c8352875deca61d359e44a419fae0d8993c
treefe0606e5089c8a18df9adf4abb81d157578e9864
parent5e1bf5ae5e3ba3588b474669ba05f5d202003d84
net: phy: microchip_t1s: add SQI support for LAN867x Rev.D0 PHYs

Add support for Signal Quality Index (SQI) reporting in the
Microchip T1S PHY driver for LAN867x Rev.D0 (OATC14-compliant) PHYs.

This patch registers the following callbacks in the microchip_t1s driver
structure:

- .get_sqi      - returns the current SQI value
- .get_sqi_max  - returns the maximum SQI value

This enables ethtool to report the SQI value for LAN867x Rev.D0 PHYs.

Signed-off-by: Parthiban Veerasooran <parthiban.veerasooran@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20251201032346.6699-3-parthiban.veerasooran@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/microchip_t1s.c