[net-next PATCH 0/4] Externel ptp clock support

From: Hariprasad Kelam
Date: Tue Sep 28 2021 - 07:31:26 EST


Externel ptp support is required in a scenario like connecting
a external timing device to the chip for time synchronization.
This series of patches adds support to ptp driver to use external
clock and enables PTP config in CN10K MAC block (RPM). Currently
PTP configuration is left unchanged in FLR handler these patches
addresses the same.

Hariprasad Kelam (1):
octeontx2-af: cn10k: RPM hardware timestamp configuration

Harman Kalra (1):
octeontx2-af: Reset PTP config in FLR handler

Subbaraya Sundeep (1):
octeontx2-af: Use ptp input clock info from firmware data

Yi Guo (1):
octeontx2-af: Add external ptp input clock

.../net/ethernet/marvell/octeontx2/af/cgx.c | 10 +-
.../marvell/octeontx2/af/lmac_common.h | 5 +
.../net/ethernet/marvell/octeontx2/af/mbox.h | 44 +++---
.../net/ethernet/marvell/octeontx2/af/ptp.c | 133 +++++++++++-------
.../net/ethernet/marvell/octeontx2/af/ptp.h | 1 +
.../net/ethernet/marvell/octeontx2/af/rpm.c | 17 +++
.../net/ethernet/marvell/octeontx2/af/rpm.h | 3 +
.../net/ethernet/marvell/octeontx2/af/rvu.c | 4 +
.../net/ethernet/marvell/octeontx2/af/rvu.h | 5 +-
.../ethernet/marvell/octeontx2/af/rvu_cgx.c | 7 +-
.../ethernet/marvell/octeontx2/af/rvu_nix.c | 16 +++
.../marvell/octeontx2/nic/otx2_common.h | 6 +
.../ethernet/marvell/octeontx2/nic/otx2_ptp.c | 120 +++++++++++++++-
13 files changed, 292 insertions(+), 79 deletions(-)

--
2.17.1