Skip to content

ice: Cleanup and refactor PTP pin handling

Karol Kolacinski intel-wired-lan netdev 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest7 patches 7 repliesIn review
  2. v37 patches 0 repliesSuperseded
  3. v27 patches 13 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v17 patches10 repliesSuperseded

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7ice: Implement ice_ptp_pin_descdrivers/net/ethernet/intel/ice/ice_ptp.c drivers/net/ethernet/intel/ice/ice_ptp.h+214 -1071 reply
2/7ice: Add SDPs support for E825Cdrivers/net/ethernet/intel/ice/ice_ptp.c+18 -21 reply
3/7ice: Align E810T GPIO to other productsdrivers/net/ethernet/intel/ice/ice_gnss.c drivers/net/ethernet/intel/ice/ice_ptp.c drivers/net/ethernet/intel/ice/ice_ptp.h +2 more+155 -4051 reply
4/7ice: Cache perout/extts requests and check flagsdrivers/net/ethernet/intel/ice/ice_ptp.c drivers/net/ethernet/intel/ice/ice_ptp.h drivers/net/ethernet/intel/ice/ice_ptp_consts.h +1 more+212 -2041 reply
5/7ice: Disable shared pin on E810 on setfuncdrivers/net/ethernet/intel/ice/ice_ptp.c+65 -01 reply
6/7ice: Read SDP section from NVM for pin definitionsdrivers/net/ethernet/intel/ice/ice_adminq_cmd.h drivers/net/ethernet/intel/ice/ice_ptp.c drivers/net/ethernet/intel/ice/ice_ptp.h +2 more+186 -281 reply
7/7ice: Enable 1PPS out from CGU for E825C productsdrivers/net/ethernet/intel/ice/ice_ptp.c drivers/net/ethernet/intel/ice/ice_ptp_hw.c drivers/net/ethernet/intel/ice/ice_ptp_hw.h+34 -01 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by.

PatchArkadiusz KubalewskiSimon HormanPucha Himasekhar Reddy
1/7R-b R-b T-b
2/7R-b R-b T-b
3/7R-b R-b T-b
4/7R-b R-b T-b
5/7R-b R-b T-b
6/7R-b R-b T-b
7/7R-b R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 iwl-next 0/7] ice: Cleanup and refactor PTP pin handling

This series cleans up current PTP GPIO pin handling, fixes minor bugs, refactors implementation for all products, introduces SDP (Software Definable Pins) for E825C and implements reading SDP section from NVM for E810 products.

Karol Kolacinski (5):
ice: Implement ice_ptp_pin_desc
ice: Add SDPs support for E825C
ice: Align E810T GPIO to other products
ice: Cache perout/extts requests and check flags
ice: Disable shared pin on E810 on setfunc

Sergey Temerkhanov (1):
ice: Enable 1PPS out from CGU for E825C products

Yochai Hagvi (1):
ice: Read SDP section from NVM for pin definitions

 .../net/ethernet/intel/ice/ice_adminq_cmd.h   |    9 +
 drivers/net/ethernet/intel/ice/ice_gnss.c     |    4 +-
 drivers/net/ethernet/intel/ice/ice_ptp.c      | 1121 +++++++++--------
 drivers/net/ethernet/intel/ice/ice_ptp.h      |  119 +-
 .../net/ethernet/intel/ice/ice_ptp_consts.h   |    2 +-
 drivers/net/ethernet/intel/ice/ice_ptp_hw.c   |  103 +-
 drivers/net/ethernet/intel/ice/ice_ptp_hw.h   |   72 +-
 7 files changed, 784 insertions(+), 646 deletions(-)

V3 -> V4: rebased patchset and replaced uints with unsigned ints V2 -> V3: swapped in/out pin numbers in all patches introducing them V1 -> V2: fixed formatting issues for:
- ice: Implement ice_ptp_pin_desc
- ice: Add SDPs support for E825C
- ice: Align E810T GPIO to other products
- ice: Cache perout/extts requests and check flags
- ice: Disable shared pin on E810 on setfunc
- ice: Enable 1PPS out from CGU for E825C products

base-commit: 05b5f6e89970647ddaaca100f545ef6e1f7989f8

Signature · 1 line
2.46.0