]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
net: stmmac: add stmmac_setup_ptp()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 11 Sep 2025 11:10:18 +0000 (12:10 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sun, 14 Sep 2025 19:01:19 +0000 (12:01 -0700)
commit84b994ac4e4ea60b7752372c581796b95fc88656
treec260f8a660d74ab776c9eaf978c6398180b45255
parentb09f58ddc6ca8ae09e3df9ca485d92cc504b238f
net: stmmac: add stmmac_setup_ptp()

Add a function to setup PTP, which will enable the clock, initialise
the timestamping, and register with the PTP clock subsystem. Call this
when we want to register the PTP clock in stmmac_hw_setup(), otherwise
just call the

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c