> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of
> Milena Olech
> Sent: Thursday, March 13, 2025 11:04 AM
> To: [email protected]
> Cc: [email protected]; Nguyen, Anthony L
> <[email protected]>; Kitszel, Przemyslaw
> <[email protected]>; Olech, Milena <[email protected]>;
> Lobakin, Aleksander <[email protected]>; Willem de Bruijn
> <[email protected]>; Mina Almasry <[email protected]>
> Subject: [Intel-wired-lan] [PATCH v9 iwl-next 02/10] virtchnl: add PTP
> virtchnl
> definitions
>
> PTP capabilities are negotiated using virtchnl commands. There are two
> available modes of the PTP support: direct and mailbox. When the direct
> access to PTP resources is negotiated, virtchnl messages returns a set of
> registers that allow read/write directly. When the mailbox access to PTP
> resources is negotiated, virtchnl messages are used to access PTP clock and to
> read the timestamp values.
>
> Virtchnl API covers both modes and exposes a set of PTP capabilities.
>
> Using virtchnl API, the driver recognizes also HW abilities - maximum
> adjustment of the clock and the basic increment value.
>
> Additionally, API allows to configure the secondary mailbox, dedicated
> exclusively for PTP purposes.
>
> Reviewed-by: Alexander Lobakin <[email protected]>
> Reviewed-by: Willem de Bruijn <[email protected]>
> Tested-by: Mina Almasry <[email protected]>
> Signed-off-by: Milena Olech <[email protected]>
> ---
> 2.31.1
Tested-by: Samuel Salin <[email protected]>