]> git.baikalelectronics.ru Git - kernel.git/commit
bnxt_en: Event handler for PPS events
authorPavan Chebbi <pavan.chebbi@broadcom.com>
Wed, 28 Jul 2021 18:11:44 +0000 (14:11 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Jul 2021 19:23:33 +0000 (20:23 +0100)
commit5eddd36b0f629d9fc03913aeff56f2640dba00bb
tree94ee08c614d3a1070e371dcfb06d8256b9330265
parentaea3abb0161d71d58371666354dfa69796849c38
bnxt_en: Event handler for PPS events

Once the PPS pins are configured, the FW can report
PPS values using ASYNC event. This patch adds the
ASYNC event handler and subsequent reporting of the
events to kernel.

Signed-off-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.c
drivers/net/ethernet/broadcom/bnxt/bnxt_ptp.h