net: micrel: Cable Diagnostics feature for lan8841 PHY
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Wed, 8 Feb 2023 11:44:06 +0000 (12:44 +0100)
committerJakub Kicinski <kuba@kernel.org>
Fri, 10 Feb 2023 06:29:52 +0000 (22:29 -0800)
commita136391ae4216a5713f9527c8a05e9364f059a31
treed94f16677a1488fc69c81c6002e9453fa3208dbf
parent436396f26d502ada54281958db0a9f6fc12ff256
net: micrel: Cable Diagnostics feature for lan8841 PHY

Add support for cable diagnostics in lan8841 PHY. It has the same
registers layout as lan8814 PHY, therefore reuse the functionality.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20230208114406.1666671-1-horatiu.vultur@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/micrel.c