[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250409122830.1977644-12-karol.kolacinski@intel.com>
Date: Wed, 9 Apr 2025 14:24:57 +0200
From: Karol Kolacinski <karol.kolacinski@...el.com>
To: intel-wired-lan@...ts.osuosl.org
Cc: netdev@...r.kernel.org,
anthony.l.nguyen@...el.com,
przemyslaw.kitszel@...el.com,
Karol Kolacinski <karol.kolacinski@...el.com>
Subject: [PATCH v2 iwl-next 00/10] ice: Separate TSPLL from PTP and clean up
Separate TSPLL related functions and definitions from all PTP-related
files and clean up the code by implementing multiple helpers.
Adjust TSPLL wait times and fall back to TCXO on lock failure to ensure
proper init flow of TSPLL.
Karol Kolacinski (10):
ice: move TSPLL functions to a separate file
ice: rename TSPLL and CGU functions and definitions
ice: use designated initializers for TSPLL consts
ice: add TSPLL log config helper
ice: add ICE_READ/WRITE_CGU_REG_OR_DIE helpers
ice: use bitfields instead of unions for CGU regs
ice: add multiple TSPLL helpers
ice: wait before enabling TSPLL
ice: fall back to TCXO on TSPLL lock fail
ice: move TSPLL init calls to ice_ptp.c
drivers/net/ethernet/intel/ice/Makefile | 2 +-
drivers/net/ethernet/intel/ice/ice.h | 1 +
drivers/net/ethernet/intel/ice/ice_cgu_regs.h | 181 ------
drivers/net/ethernet/intel/ice/ice_common.c | 69 ++-
drivers/net/ethernet/intel/ice/ice_common.h | 58 ++
drivers/net/ethernet/intel/ice/ice_ptp.c | 14 +-
.../net/ethernet/intel/ice/ice_ptp_consts.h | 177 +-----
drivers/net/ethernet/intel/ice/ice_ptp_hw.c | 564 +-----------------
drivers/net/ethernet/intel/ice/ice_ptp_hw.h | 54 +-
drivers/net/ethernet/intel/ice/ice_tspll.c | 511 ++++++++++++++++
drivers/net/ethernet/intel/ice/ice_tspll.h | 28 +
drivers/net/ethernet/intel/ice/ice_type.h | 20 +-
12 files changed, 701 insertions(+), 978 deletions(-)
delete mode 100644 drivers/net/ethernet/intel/ice/ice_cgu_regs.h
create mode 100644 drivers/net/ethernet/intel/ice/ice_tspll.c
create mode 100644 drivers/net/ethernet/intel/ice/ice_tspll.h
V1 -> V2: fix compilation issues for patches 02-04 and add missing
return values for patch 07
base-commit: edf956e8bd7d4c7ac8a7643ed74a36227db1fa27
--
2.49.0
Powered by blists - more mailing lists