2024-01-05 01:50:07

by Richard Cochran

[permalink] [raw]
Subject: Re: [PATCH net-next v6 1/2] ptp: introduce PTP_CLOCK_EXTOFF event for the measured external offset

On Thu, Jan 04, 2024 at 12:12:11PM -0500, Min Li wrote:
> From: Min Li <[email protected]>
>
> This change is for the PHC devices that can measure the phase offset
> between PHC signal and the external signal, such as the 1PPS signal of
> GNSS. Reporting PTP_CLOCK_EXTOFF to user space will be piggy-backed to
> the existing ptp_extts_event so that application such as ts2phc can
> poll the external offset the same way as extts. Hence, ts2phc can use
> the offset to achieve the alignment between PHC and the external signal
> by the help of either SW or HW filters.
>
> Signed-off-by: Min Li <[email protected]>

Acked-by: Richard Cochran <[email protected]>