]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: phy: micrel: Add support for non PTP SKUs for lan8814
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Tue, 21 Oct 2025 07:07:26 +0000 (09:07 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 23 Oct 2025 11:11:55 +0000 (13:11 +0200)
commit61b7ade9ba8c3b16867e25411b5f7cf1abe35879
tree463ca27b5e746840d60d043149e0d26256503468
parente0665df8c501829f09e6a2a7c06b9860209d3a70
net: phy: micrel: Add support for non PTP SKUs for lan8814

The lan8814 has 4 different SKUs and for 2 of these SKUs the PTP is
disabled. All these SKUs have the same value in the register 2 and 3.
Meaning that we can't differentiate them based on device id, therefore
check the SKU register and based on this allow or not to create a PTP
device.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20251021070726.3690685-1-horatiu.vultur@microchip.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/phy/micrel.c