netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ptp: netc: Add dependency on NXP_ENETC4
@ 2025-10-05 20:49 Peter Robinson
  2025-10-06 12:43 ` Vadim Fedorenko
  2025-10-08  1:19 ` Jakub Kicinski
  0 siblings, 2 replies; 5+ messages in thread
From: Peter Robinson @ 2025-10-05 20:49 UTC (permalink / raw)
  To: Richard Cochran, Andrew Lunn, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Frank Li, Wei Fang, netdev
  Cc: Peter Robinson

The NETC V4 Timer PTP IP works with the associated NIC
so depend on it, plus compile test, and default it on if
the NIC is enabled similar to the other PTP modules.

Fixes: 87a201d59963e ("ptp: netc: add NETC V4 Timer PTP driver support")
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
---
 drivers/ptp/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/ptp/Kconfig b/drivers/ptp/Kconfig
index 5f8ea34d11d6d..a5542751216d6 100644
--- a/drivers/ptp/Kconfig
+++ b/drivers/ptp/Kconfig
@@ -255,6 +255,8 @@ config PTP_S390
 
 config PTP_NETC_V4_TIMER
 	tristate "NXP NETC V4 Timer PTP Driver"
+	depends on NXP_ENETC4 || COMPILE_TEST
+	default y if NXP_ENETC4
 	depends on PTP_1588_CLOCK
 	depends on PCI_MSI
 	help
-- 
2.51.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-10-09  5:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-05 20:49 [PATCH] ptp: netc: Add dependency on NXP_ENETC4 Peter Robinson
2025-10-06 12:43 ` Vadim Fedorenko
2025-10-08  1:19 ` Jakub Kicinski
2025-10-08  8:50   ` Peter Robinson
2025-10-09  5:51     ` Wei Fang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).