Add PTP RX and TX hardware timestamp support on 575XX devices. These
devices use the two-step method to implement the IEEE-1588 timestamping
support.
v2: Add spinlock to serialize access to the timecounter.
Use .do_aux_work() for the periodic timer reading and to get the TX
timestamp from the firmware.
Propagate error code from ptp_clock_register().
Make the 64-bit timer access safe on 32-bit CPUs.
Read PHC using direct register access.
Michael Chan (4):
bnxt_en: Update firmware interface to 1.10.2.47
bnxt_en: Get PTP hardware capability from firmware
bnxt_en: Add PTP clock APIs, ioctls, and ethtool methods
bnxt_en: Enable hardware PTP support
Pavan Chebbi (3):
bnxt_en: Get the full 48-bit hardware timestamp periodically
bnxt_en: Get the RX packet timestamp
bnxt_en: Transmit and retrieve packet timestamps
drivers/net/ethernet/broadcom/Kconfig | 1 +
drivers/net/ethernet/broadcom/bnxt/Makefile | 2 +-
drivers/net/ethernet/broadcom/bnxt/bnxt.c | 134 +++-
drivers/net/ethernet/broadcom/bnxt/bnxt.h | 10 +-
.../net/ethernet/broadcom/bnxt/bnxt_ethtool.c | 34 +
drivers/net/ethernet/broadcom/bnxt/bnxt_hsi.h | 667 ++++++++++++++++--
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c | 473 +++++++++++++
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h | 81 +++
.../net/ethernet/broadcom/bnxt/bnxt_sriov.c | 4 +-
9 files changed, 1355 insertions(+), 51 deletions(-)
create mode 100644 drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c
create mode 100644 drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h
--
2.18.1