mbox series

[net-next,0/6] bnxt_en: PTP enhancements

Message ID 1627495905-17396-1-git-send-email-michael.chan@broadcom.com
Headers show
Series bnxt_en: PTP enhancements | expand

Message

Michael Chan July 28, 2021, 6:11 p.m. UTC
This series adds two PTP enhancements.  This first one is to register
the PHC during probe time and keep it registered whether it is in
ifup or ifdown state.  It will get unregistered and possibly
reregistered if the firmware PTP capability changes after firmware
reset.  The second one is to add the 1PPS (one pulse per second)
feature to support input/output of the 1PPS signal.

Michael Chan (2):
  bnxt_en: Move bnxt_ptp_init() from bnxt_open() back to bnxt_init_one()
  bnxt_en: Do not read the PTP PHC during chip reset

Pavan Chebbi (4):
  bnxt_en: 1PPS support for 5750X family chips
  bnxt_en: 1PPS functions to configure TSIO pins
  bnxt_en: Event handler for PPS events
  bnxt_en: Log if an invalid signal detected on TSIO pin

 drivers/net/ethernet/broadcom/bnxt/bnxt.c     |  62 +++-
 drivers/net/ethernet/broadcom/bnxt/bnxt.h     |  11 +
 drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c | 319 +++++++++++++++++-
 drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h |  53 +++
 4 files changed, 423 insertions(+), 22 deletions(-)