Re: [PATCH net v2] net: ti: icssg-prueth: Fix 1 PPS sync
From: Anwar, Md Danish
Date: Thu Oct 24 2024 - 09:37:55 EST
Hi Meghana,
On 10/24/2024 5:01 PM, Meghana Malladi wrote:
> 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: 186734c15886 ("net: ti: icssg-prueth: add packet timestamping and ptp support")
> Signed-off-by: Meghana Malladi <m-malladi@xxxxxx>
Reviewed-by: MD Danish Anwar <danishanwar@xxxxxx>
--
Thanks and Regards,
Md Danish Anwar