netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 iwl-next 00/10] ice: Separate TSPLL from PTP and clean up
@ 2025-04-09 12:24 Karol Kolacinski
  2025-04-09 12:24 ` [PATCH v2 iwl-next 01/10] ice: move TSPLL functions to a separate file Karol Kolacinski
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: Karol Kolacinski @ 2025-04-09 12:24 UTC (permalink / raw)
  To: intel-wired-lan
  Cc: netdev, anthony.l.nguyen, przemyslaw.kitszel, Karol Kolacinski

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


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2025-04-18  0:06 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-09 12:24 [PATCH v2 iwl-next 00/10] ice: Separate TSPLL from PTP and clean up Karol Kolacinski
2025-04-09 12:24 ` [PATCH v2 iwl-next 01/10] ice: move TSPLL functions to a separate file Karol Kolacinski
2025-04-11 12:36   ` Simon Horman
2025-04-09 12:24 ` [PATCH v2 iwl-next 02/10] ice: rename TSPLL and CGU functions and definitions Karol Kolacinski
2025-04-11 12:36   ` Simon Horman
2025-04-09 12:25 ` [PATCH v2 iwl-next 03/10] ice: use designated initializers for TSPLL consts Karol Kolacinski
2025-04-18  0:06   ` [Intel-wired-lan] " Jacob Keller
2025-04-09 12:25 ` [PATCH v2 iwl-next 04/10] ice: add TSPLL log config helper Karol Kolacinski
2025-04-09 12:25 ` [PATCH v2 iwl-next 05/10] ice: add ICE_READ/WRITE_CGU_REG_OR_DIE helpers Karol Kolacinski
2025-04-09 12:25 ` [PATCH v2 iwl-next 06/10] ice: use bitfields instead of unions for CGU regs Karol Kolacinski
2025-04-17 21:38   ` [Intel-wired-lan] " Jacob Keller
2025-04-09 12:25 ` [PATCH v2 iwl-next 07/10] ice: add multiple TSPLL helpers Karol Kolacinski
2025-04-09 12:25 ` [PATCH v2 iwl-next 08/10] ice: wait before enabling TSPLL Karol Kolacinski
2025-04-09 12:25 ` [PATCH v2 iwl-next 09/10] ice: fall back to TCXO on TSPLL lock fail Karol Kolacinski
2025-04-09 12:25 ` [PATCH v2 iwl-next 10/10] ice: move TSPLL init calls to ice_ptp.c Karol Kolacinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).