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:
faa55bd44b
drivers: ptp_clock_nxp_enet: avoid configuring
IRQ handlers again
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
This commit is contained in:
parent
2da6257bec
commit
09ff615f67
1 changed files with 1 additions and 0 deletions
|
@ -180,6 +180,7 @@ void nxp_enet_ptp_clock_callback(const struct device *dev,
|
||||||
ENET_Ptp1588SetChannelMode(data->base, kENET_PtpTimerChannel3,
|
ENET_Ptp1588SetChannelMode(data->base, kENET_PtpTimerChannel3,
|
||||||
kENET_PtpChannelPulseHighonCompare, true);
|
kENET_PtpChannelPulseHighonCompare, true);
|
||||||
ENET_Ptp1588StartTimer(data->base, ptp_config.ptp1588ClockSrc_Hz);
|
ENET_Ptp1588StartTimer(data->base, ptp_config.ptp1588ClockSrc_Hz);
|
||||||
|
ENET_EnableInterrupts(data->base, ENET_TS_INTERRUPT);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue