> -----Original Message-----
> From: Zhang, Qi Z <[email protected]>
> Sent: Tuesday, August 10, 2021 10:51
> To: Yang, Qiming <[email protected]>
> Cc: Guo, Junfeng <[email protected]>; [email protected]; Zhang, Qi Z
> <[email protected]>; Keller, Jacob E <[email protected]>
> Subject: [PATCH 09/28] net/ice/base: implement Vernier calibration logic
> for E822 devices
>
> Move the implementation of Vernier calibration from Linux core ice_ptp.c
> into the shared ice_ptp_hw.c file.
>
> This implementation was recently refactored in Linux, so the move should
> be verbatim with the latest Linux code that we had implemented.
>
> This includes a new constant table with pre-determined values based on
> link speed, new functions to aide in reading the multi-register values
> from the PHY, functions to program the PAR/PCS conversion ratios, and
> the UIX conversion ratios, functions to program the total Tx and Rx
> offset after vernier calibration in the hardware completes, and finally
> a function to start and stop the PHY timestamping block.
>
> Signed-off-by: Jacob Keller <[email protected]>
> Signed-off-by: Qi Zhang <[email protected]>
> ---
> drivers/net/ice/base/ice_ptp_consts.h | 216 ++++++
> drivers/net/ice/base/ice_ptp_hw.c | 999
> ++++++++++++++++++++++++++
> drivers/net/ice/base/ice_ptp_hw.h | 47 ++
> 3 files changed, 1262 insertions(+)
>
> --
> 2.26.2
Acked-by: Junfeng Guo <[email protected]>
Regards,
Junfeng Guo