]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: phy: micrel: Add PTP support for lan8842
authorHoratiu Vultur <horatiu.vultur@microchip.com>
Tue, 2 Sep 2025 12:18:32 +0000 (14:18 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 4 Sep 2025 00:28:46 +0000 (17:28 -0700)
commit13d8f54d92a99c7ce6820a02f448132f58357da3
treeb7fc36a21def69c3ea5608d9814f74f917f534e4
parentb9e0c62057a8fbbf90182caa19cc460e4aca051b
net: phy: micrel: Add PTP support for lan8842

It has the same PTP IP block as lan8814, only the number of GPIOs is
different, all the other functionality is the same. So reuse the same
functions as lan8814 for lan8842.
There is a revision of lan8842 called lan8832 which doesn't have the PTP
IP block. So make sure in that case the PTP is not initialized.

Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com>
Link: https://patch.msgid.link/20250902121832.3258544-3-horatiu.vultur@microchip.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/micrel.c