From 09ff615f67c1c716e0bbcd75a8fdeb326d48086f Mon Sep 17 00:00:00 2001 From: Yangbo Lu Date: Mon, 19 May 2025 11:12:56 +0800 Subject: [PATCH] drivers: ptp_clock_nxp_enet: re-enable ENET timestamp IRQ ENET timestamp IRQ still needed to be enabled from IP. This is a fix-up for below commit: faa55bd44b2 drivers: ptp_clock_nxp_enet: avoid configuring IRQ handlers again Signed-off-by: Yangbo Lu --- drivers/ptp_clock/ptp_clock_nxp_enet.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ptp_clock/ptp_clock_nxp_enet.c b/drivers/ptp_clock/ptp_clock_nxp_enet.c index 4fb9efa8b9b..f80d25bf8e1 100644 --- a/drivers/ptp_clock/ptp_clock_nxp_enet.c +++ b/drivers/ptp_clock/ptp_clock_nxp_enet.c @@ -180,6 +180,7 @@ void nxp_enet_ptp_clock_callback(const struct device *dev, ENET_Ptp1588SetChannelMode(data->base, kENET_PtpTimerChannel3, kENET_PtpChannelPulseHighonCompare, true); ENET_Ptp1588StartTimer(data->base, ptp_config.ptp1588ClockSrc_Hz); + ENET_EnableInterrupts(data->base, ENET_TS_INTERRUPT); } }