linux-stable/include/linux/fsl
Nikhil Gupta 24a7fffb25 ptp_qoriq: fix latency in ptp_qoriq_adjtime() operation
1588 driver loses about 1us in adjtime operation at PTP slave
This is because adjtime operation uses a slow non-atomic tmr_cnt_read()
followed by tmr_cnt_write() operation.

In the above sequence, since the timer counter operation keeps
incrementing, it leads to latency. The tmr_offset register
(which is added to TMR_CNT_H/L register giving the current time)
must be programmed with the delta nanoseconds.

Signed-off-by: Nikhil Gupta <nikhil.gupta@nxp.com>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://lore.kernel.org/r/20230119204034.7969-1-nikhil.gupta@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-01-20 18:20:38 -08:00
..
bestcomm
edac.h
enetc_mdio.h enetc: Separate C22 and C45 transactions 2023-01-13 21:40:54 -08:00
ftm.h
guts.h soc: fsl: guts: fix comment syntax in file 2021-04-06 15:33:32 -05:00
mc.h Driver core changes for 5.19-rc1 2022-06-03 11:48:47 -07:00
ptp_qoriq.h ptp_qoriq: fix latency in ptp_qoriq_adjtime() operation 2023-01-20 18:20:38 -08:00