ptp: add ptp virtual clock driver framework
This patch is to add ptp virtual clock driver framework utilizing timecounter/cyclecounter. The patch just exports two essential APIs for PTP driver. - ptp_vclock_register() - ptp_vclock_unregister() Signed-off-by:Yangbo Lu <yangbo.lu@nxp.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/ptp/Makefile 1 addition, 1 deletiondrivers/ptp/Makefile
- drivers/ptp/ptp_private.h 15 additions, 0 deletionsdrivers/ptp/ptp_private.h
- drivers/ptp/ptp_vclock.c 150 additions, 0 deletionsdrivers/ptp/ptp_vclock.c
- include/linux/ptp_clock_kernel.h 3 additions, 1 deletioninclude/linux/ptp_clock_kernel.h
Please register or sign in to comment