netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 00/15][pull request] ice: Separate TSPLL from PTP and clean up
@ 2025-06-18 17:42 Tony Nguyen
  2025-06-18 17:42 ` [PATCH net-next 01/15] ice: move TSPLL functions to a separate file Tony Nguyen
                   ` (16 more replies)
  0 siblings, 17 replies; 20+ messages in thread
From: Tony Nguyen @ 2025-06-18 17:42 UTC (permalink / raw)
  To: davem, kuba, pabeni, edumazet, andrew+netdev, netdev
  Cc: Tony Nguyen, karol.kolacinski, jacob.e.keller, przemyslaw.kitszel,
	richardcochran

Jake Keller says:

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.

Change default clock source for E825-C from TCXO to TIME_REF if its
available.
---
IWL: https://lore.kernel.org/intel-wired-lan/20250501-kk-tspll-improvements-alignment-v4-0-24c83d0ce7a8@intel.com/

The following are changes since commit fc4842cd0f117042a648cf565da4db0c04a604be:
  Merge branch 'netconsole-msgid' into main
and are available in the git repository at:
  git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue 100GbE

Jacob Keller (4):
  ice: fix E825-C TSPLL register definitions
  ice: clear time_sync_en field for E825-C during reprogramming
  ice: read TSPLL registers again before reporting status
  ice: default to TIME_REF instead of TXCO on E825-C

Karol Kolacinski (11):
  ice: move TSPLL functions to a separate file
  ice: rename TSPLL and CGU functions and definitions
  ice: remove ice_tspll_params_e825 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   |  71 ++-
 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    | 518 ++++++++++++++++
 drivers/net/ethernet/intel/ice/ice_tspll.h    |  31 +
 drivers/net/ethernet/intel/ice/ice_type.h     |  20 +-
 12 files changed, 712 insertions(+), 979 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

-- 
2.47.1


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

end of thread, other threads:[~2025-06-23 23:43 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-18 17:42 [PATCH net-next 00/15][pull request] ice: Separate TSPLL from PTP and clean up Tony Nguyen
2025-06-18 17:42 ` [PATCH net-next 01/15] ice: move TSPLL functions to a separate file Tony Nguyen
2025-06-18 17:42 ` [PATCH net-next 02/15] ice: rename TSPLL and CGU functions and definitions Tony Nguyen
2025-06-18 17:42 ` [PATCH net-next 03/15] ice: fix E825-C TSPLL register definitions Tony Nguyen
2025-06-18 17:42 ` [PATCH net-next 04/15] ice: remove ice_tspll_params_e825 definitions Tony Nguyen
2025-06-18 17:42 ` [PATCH net-next 05/15] ice: use designated initializers for TSPLL consts Tony Nguyen
2025-06-18 17:42 ` [PATCH net-next 06/15] ice: add TSPLL log config helper Tony Nguyen
2025-06-18 17:42 ` [PATCH net-next 07/15] ice: add ICE_READ/WRITE_CGU_REG_OR_DIE helpers Tony Nguyen
2025-06-21 15:23   ` Jakub Kicinski
2025-06-23 23:43     ` Jacob Keller
2025-06-18 17:42 ` [PATCH net-next 08/15] ice: clear time_sync_en field for E825-C during reprogramming Tony Nguyen
2025-06-18 17:42 ` [PATCH net-next 09/15] ice: read TSPLL registers again before reporting status Tony Nguyen
2025-06-18 17:42 ` [PATCH net-next 10/15] ice: use bitfields instead of unions for CGU regs Tony Nguyen
2025-06-18 17:42 ` [PATCH net-next 11/15] ice: add multiple TSPLL helpers Tony Nguyen
2025-06-18 17:42 ` [PATCH net-next 12/15] ice: wait before enabling TSPLL Tony Nguyen
2025-06-18 17:42 ` [PATCH net-next 13/15] ice: fall back to TCXO on TSPLL lock fail Tony Nguyen
2025-06-18 17:42 ` [PATCH net-next 14/15] ice: move TSPLL init calls to ice_ptp.c Tony Nguyen
2025-06-18 17:42 ` [PATCH net-next 15/15] ice: default to TIME_REF instead of TXCO on E825-C Tony Nguyen
2025-06-21 15:23 ` [PATCH net-next 00/15][pull request] ice: Separate TSPLL from PTP and clean up Jakub Kicinski
2025-06-21 15:30 ` patchwork-bot+netdevbpf

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).