[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <55dca281-3cd3-4d8f-a57a-097805526de6@linux.dev>
Date: Mon, 6 Oct 2025 13:43:53 +0100
From: Vadim Fedorenko <vadim.fedorenko@...ux.dev>
To: Peter Robinson <pbrobinson@...il.com>,
Richard Cochran <richardcochran@...il.com>,
Andrew Lunn <andrew+netdev@...n.ch>, "David S. Miller"
<davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Frank Li <Frank.Li@....com>, Wei Fang <wei.fang@....com>,
netdev@...r.kernel.org
Subject: Re: [PATCH] ptp: netc: Add dependency on NXP_ENETC4
On 05/10/2025 21:49, Peter Robinson wrote:
> 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@...il.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
LGTM,
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@...ux.dev>
Powered by blists - more mailing lists