[RFC PATCH 0/2] ptp: add control over HW timestamp latch point

From: Arkadiusz Kubalewski
Date: Thu Oct 03 2024 - 17:42:48 EST


HW support of PTP/timesync solutions in network PHY chips can be
achieved with two different approaches, the timestamp maybe latched
either in the beginning or after the Start of Frame Delimiter (SFD) [1].

Allow ptp device drivers to provide user with control over the timestamp
latch point.

Arkadiusz Kubalewski (2):
ptp: add control over HW timestamp latch point
ice: ptp: add control over HW timestamp latch point

drivers/net/ethernet/intel/ice/ice_ptp.c | 48 +++++++++++++++++++
drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 52 +++++++++++++++++++++
drivers/net/ethernet/intel/ice/ice_ptp_hw.h | 3 +-
drivers/ptp/ptp_sysfs.c | 44 +++++++++++++++++
include/linux/ptp_clock_kernel.h | 26 +++++++++++
5 files changed, 172 insertions(+), 1 deletion(-)

--
2.38.1