Thread View: linux.kernel.netdev
2 messages
2 total messages
Started by Selvamani Rajagopal via B4 Relay
Fri, 13 Nov 2026 16:59
[PATCH net-next v11 05/14] net: ethernet: microchip: lan865x: Depends on PTP_1588_CLOCK_OPTIONAL
Author: Selvamani Rajagopal via B4 Relay
Date: Fri, 13 Nov 2026 16:59
Date: Fri, 13 Nov 2026 16:59
33 lines
11617 bytes
11617 bytes
From: Selvamani Rajagopal <Selvamani.Rajagopal@onsemi.com> Add the PTP_1588_CLOCK_OPTIONAL dependency to LAN865X. A following patch makes OA_TC6 depend on it, but "select" ignores that, so LAN865X built in with PTP_1588_CLOCK=m would link-fail on ptp_clock_register(). Signed-off-by: Selvamani Rajagopal <Selvamani.Rajagopal@onsemi.com> --- changes in v11 - Moved the vendor changes into its own patch. - New patch in v11. --- drivers/net/ethernet/microchip/lan865x/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/microchip/lan865x/Kconfig b/drivers/net/ethernet/microchip/lan865x/Kconfig index 7f2a4e7e1915..342172cb8837 100644 --- a/drivers/net/ethernet/microchip/lan865x/Kconfig +++ b/drivers/net/ethernet/microchip/lan865x/Kconfig @@ -8,6 +8,7 @@ if NET_VENDOR_MICROCHIP config LAN865X tristate "LAN865x support" depends on SPI + depends on PTP_1588_CLOCK_OPTIONAL select OA_TC6 help Support for the Microchip LAN8650/1 Rev.B0/B1 MACPHY Ethernet chip. It -- 2.43.0
Re: [PATCH net-next v11 05/14] net: ethernet: microchip: lan865x: Depends on PTP_1588_CLOCK_OPTIONAL
Author: netdev-bot+sashiko
Date: Tue, 17 Nov 2026 19:53
Date: Tue, 17 Nov 2026 19:53
40 lines
9752 bytes
9752 bytes
Thank you for your contribution! Sashiko AI review found more severe issue(s) in other patches of this series. This mail is only an FYI, in case you want to address the nit picks below when you respin. Low priority / nit picks for your consideration: - [Low] Rejected as a false positive. -- net: ethernet: microchip: lan865x: Depends on PTP_1588_CLOCK_OPTIONAL This patch adds a PTP_1588_CLOCK_OPTIONAL dependency to the LAN865X Kconfig entry. It prepares for a later patch in the series that makes OA_TC6 depend on PTP_1588_CLOCK_OPTIONAL. A select of OA_TC6 does not pick up that dependency, so without this change LAN865X=y with PTP_1588_CLOCK=m could fail to link on ptp_clock_register(). > diff --git a/drivers/net/ethernet/microchip/lan865x/Kconfig b/drivers/net/ethernet/microchip/lan865x/Kconfig > index 7f2a4e7e1915f..342172cb8837d 100644 > --- a/drivers/net/ethernet/microchip/lan865x/Kconfig > +++ b/drivers/net/ethernet/microchip/lan865x/Kconfig > @@ -8,6 +8,7 @@ if NET_VENDOR_MICROCHIP > config LAN865X > tristate "LAN865x support" > depends on SPI > + depends on PTP_1588_CLOCK_OPTIONAL > select OA_TC6 > help I didn't find any regressions in this patch. The next patch in the series adds the same dependency to ADIN1140, which also selects OA_TC6. That happens before "net: ethernet: oa_tc6: Support for hardware timestamp" adds the dependency to OA_TC6 itself, so no commit in the series should hit the link failure. -- Sashiko AI review ยท https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261113-s2500-mac-phy-support-v11-0-7a186141952c%40onsemi.com
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads