> -----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 06/28] net/ice/base: add clock initialization function
> 
> Before the device PTP hardware clock can be initialized, some steps must
> be taken by the driver. This includes writing some registers and
> initializing the PHY.
> 
> Some of these steps are distinct depending on the device type (E810 or
> E822). Additionally, a future change will introduce more steps for E822
> devices to program the Clock Generation Unit.
> 
> Introduce ice_ptp_init_phc as well as device-specific sub-functions for
> e810 and e822 devices.
> 
> Signed-off-by: Jacob Keller <[email protected]>
> Signed-off-by: Qi Zhang <[email protected]>
> ---
>  drivers/net/ice/base/ice_cgu_regs.h   | 117 +++++++++
>  drivers/net/ice/base/ice_ptp_consts.h |  74 ++++++
>  drivers/net/ice/base/ice_ptp_hw.c     | 348
> +++++++++++++++++++++++++-
>  drivers/net/ice/base/ice_ptp_hw.h     |  24 ++
>  4 files changed, 562 insertions(+), 1 deletion(-)
> --
> 2.26.2

Acked-by: Junfeng Guo <[email protected]>

Regards,
Junfeng Guo

Reply via email to