]> git.baikalelectronics.ru Git - kernel.git/commit
ice: implement basic E822 PTP support
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 13 Oct 2021 15:54:51 +0000 (08:54 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 21 Dec 2021 17:11:37 +0000 (09:11 -0800)
commitae5cb05910dbd4b8bc88cb60226bf753e0a4e396
treee6dc1a4b2814b80c049a2d9d4e986545f1250ffd
parent45781172636c4f69b48ef67b78e3772110e563e2
ice: implement basic E822 PTP support

Implement support for the basic operations needed to enable the PTP
hardware clock on E822 devices.

This includes implementations for the various PHY access functions, as
well as the ability to start and stop the PHY timers. This is different
from the E810 device because the configuration depends on link speed, so
we cannot just start the PHYs immediately. We must wait until the link
is up to get proper values for the speed based initialization.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_hw_autogen.h
drivers/net/ethernet/intel/ice/ice_main.c
drivers/net/ethernet/intel/ice/ice_ptp.c
drivers/net/ethernet/intel/ice/ice_ptp.h
drivers/net/ethernet/intel/ice/ice_ptp_consts.h [new file with mode: 0644]
drivers/net/ethernet/intel/ice/ice_ptp_hw.c
drivers/net/ethernet/intel/ice/ice_ptp_hw.h