[PATCH net-next] net: phy: microchip_t1: Clause-45 PHY loopback support for LAN887x

Tarun Alle posted 1 patch 1 week, 1 day ago
drivers/net/phy/microchip_t1.c | 1 +
1 file changed, 1 insertion(+)
[PATCH net-next] net: phy: microchip_t1: Clause-45 PHY loopback support for LAN887x
Posted by Tarun Alle 1 week, 1 day ago
Adds support for clause-45 PHY loopback for the Microchip LAN887x driver.

Signed-off-by: Tarun Alle <Tarun.Alle@microchip.com>
---
 drivers/net/phy/microchip_t1.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/phy/microchip_t1.c b/drivers/net/phy/microchip_t1.c
index 71d6050b2833..b17bf6708003 100644
--- a/drivers/net/phy/microchip_t1.c
+++ b/drivers/net/phy/microchip_t1.c
@@ -2113,6 +2113,7 @@ static struct phy_driver microchip_t1_phy_driver[] = {
 		.handle_interrupt = lan887x_handle_interrupt,
 		.get_sqi	= lan887x_get_sqi,
 		.get_sqi_max	= lan87xx_get_sqi_max,
+		.set_loopback	= genphy_c45_loopback,
 	}
 };
 
-- 
2.34.1
Re: [PATCH net-next] net: phy: microchip_t1: Clause-45 PHY loopback support for LAN887x
Posted by Andrew Lunn 1 week, 1 day ago
On Thu, Nov 14, 2024 at 03:49:51PM +0530, Tarun Alle wrote:
> Adds support for clause-45 PHY loopback for the Microchip LAN887x driver.
> 
> Signed-off-by: Tarun Alle <Tarun.Alle@microchip.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew