linux-yocto/drivers/net/ethernet/ti/icssg
Meghana Malladi dc065076ee net: ti: icssg-prueth: Fix 1 PPS sync
The first PPS latch time needs to be calculated by the driver
(in rounded off seconds) and configured as the start time
offset for the cycle. After synchronizing two PTP clocks
running as master/slave, missing this would cause master
and slave to start immediately with some milliseconds
drift which causes the PPS signal to never synchronize with
the PTP master.

Fixes: 186734c158 ("net: ti: icssg-prueth: add packet timestamping and ptp support")
Signed-off-by: Meghana Malladi <m-malladi@ti.com>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Reviewed-by: MD Danish Anwar <danishanwar@ti.com>
Link: https://patch.msgid.link/20241111095842.478833-1-m-malladi@ti.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-11-14 10:34:56 +01:00
..
icss_iep.c net: ti: icss-iep: Move icss_iep structure 2024-09-14 15:14:07 -07:00
icss_iep.h net: ti: icss-iep: Move icss_iep structure 2024-09-14 15:14:07 -07:00
icssg_classifier.c net: ti: icssg-prueth: Add support for HSR frame forward offload 2024-09-14 15:14:07 -07:00
icssg_common.c net: ti: icssg-prueth: Enable HSR Tx duplication, Tx Tag and Rx Tag offload 2024-09-14 15:14:07 -07:00
icssg_config.c net: ti: icssg-prueth: Fix race condition for VLAN table access 2024-10-09 12:18:01 +01:00
icssg_config.h net: ti: icssg-prueth: Enable HSR Tx duplication, Tx Tag and Rx Tag offload 2024-09-14 15:14:07 -07:00
icssg_ethtool.c net: ti: icssg-prueth: Make pa_stats optional 2024-09-09 17:43:06 -07:00
icssg_mii_cfg.c net: ti: icssg-prueth: Split out common object into module 2024-07-15 13:50:40 +01:00
icssg_mii_rt.h
icssg_prueth_sr1.c net: ti: icssg_prueth: populate netdev of_node 2024-08-08 19:59:31 -07:00
icssg_prueth.c net: ti: icssg-prueth: Fix 1 PPS sync 2024-11-14 10:34:56 +01:00
icssg_prueth.h net: ti: icssg-prueth: Fix 1 PPS sync 2024-11-14 10:34:56 +01:00
icssg_queues.c net: ti: icssg-prueth: Split out common object into module 2024-07-15 13:50:40 +01:00
icssg_stats.c net: ti: icssg-prueth: Make pa_stats optional 2024-09-09 17:43:06 -07:00
icssg_stats.h net: ti: icssg-prueth: Add support for PA Stats 2024-08-26 09:35:49 -07:00
icssg_switch_map.h
icssg_switchdev.c net: ti: icssg-prueth: Split out common object into module 2024-07-15 13:50:40 +01:00
icssg_switchdev.h net: ti: icssg-switch: Add switchdev based driver for ethernet switch support 2024-05-30 15:37:26 +02:00