ice: convert clk_freq capability into time_ref
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 13 Oct 2021 15:53:41 +0000 (08:53 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Tue, 21 Dec 2021 17:11:02 +0000 (09:11 -0800)
commit405efa49b54bb3f769d00cfe6536820848db0648
treedfca019db0c9bea3879a3638de7637e80bf32f23
parentb2ee72565cd0ee24d2067e3de9094a14644493a8
ice: convert clk_freq capability into time_ref

Convert the clk_freq value into the associated time_ref frequency value
for E822 devices. This simplifies determining the time reference value
for the clock.

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_common.c
drivers/net/ethernet/intel/ice/ice_type.h