From: Peter Robinson <pbrobinson@gmail.com>
To: Richard Cochran <richardcochran@gmail.com>,
Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Frank Li <Frank.Li@nxp.com>, Wei Fang <wei.fang@nxp.com>,
netdev@vger.kernel.org
Cc: Peter Robinson <pbrobinson@gmail.com>
Subject: [PATCH] ptp: netc: Add dependency on NXP_ENETC4
Date: Sun, 5 Oct 2025 21:49:42 +0100 [thread overview]
Message-ID: <20251005204946.2150340-1-pbrobinson@gmail.com> (raw)
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
next reply other threads:[~2025-10-05 20:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-05 20:49 Peter Robinson [this message]
2025-10-06 12:43 ` [PATCH] ptp: netc: Add dependency on NXP_ENETC4 Vadim Fedorenko
2025-10-08 1:19 ` Jakub Kicinski
2025-10-08 8:50 ` Peter Robinson
2025-10-09 5:51 ` Wei Fang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251005204946.2150340-1-pbrobinson@gmail.com \
--to=pbrobinson@gmail.com \
--cc=Frank.Li@nxp.com \
--cc=andrew+netdev@lunn.ch \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=richardcochran@gmail.com \
--cc=wei.fang@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).