This patch series adds support for PTP event capture on the Aramda 80x0/70x0. This feature is mainly used by tools linux ts2phc(3) in order to synchronize a timestamping unit (like the mvpp2's TAI) and a system DPLL on the same PCB. The patch series includes 3 patches: the second one implements the actual extts function. Changes in v2: * Fixed a deadlock in the poll worker. * Removed tabs from comments. Changes in v3: * Added more explanation about the change in behavior in mvpp22_tai_start. * Explain the reason for choosing 95ms as a polling rate. Changes in v4: * Add additional lock for the polling worker reference count. Shmuel Hazan (3): net: mvpp2: tai: add refcount for ptp worker net: mvpp2: tai: add extts support dt-bindings: net: marvell,pp2: add extts docs .../devicetree/bindings/net/marvell,pp2.yaml | 18 + .../net/ethernet/marvell/mvpp2/mvpp2_tai.c | 332 ++++++++++++++++-- 2 files changed, 316 insertions(+), 34 deletions(-) base-commit: 3e7bb4f2461710b70887704af7f175383251088e -- 2.40.1