This series adds support for PTP to the KSZ956x and KSZ9477 devices. 1/9: Convert device tree binding from .txt to .yaml 2/9: Split ksz_common.h, so it can be included in tag_ksz.c 3/9: ksz9477.c --> ksz9477_main.c (ksz9477_ptp.c will be added soon) 4/9: Add dt-bindings for interrupts 5/9: Infrastructure for interrupts 6/9: Posix clock routines for chip PTP clock 7/9: Support for hardware time stamping 8/9: Support for PPS 9/9: Support for perout There is only little documentation for PTP available on the data sheet [1] (more or less only the register reference). Questions to the Microchip support were seldom answered comprehensively or in reasonable time. So this is more or less the result of reverse engineering. [1] http://ww1.microchip.com/downloads/en/DeviceDoc/KSZ9563R-Data-Sheet-DS00002419D.pdf