]> 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)
commit4b1e0826f3a78f5bf9ef527f1c62a06f3d766a9f
treee6dc1a4b2814b80c049a2d9d4e986545f1250ffd
parent72722b3af1bf5d3ac8f30b7db1ae7a00d8adf7a3
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