Re: [RFC] Defining a home/maintenance model for non-NIC PHC devices using the /dev/ptpX API

From: Vadim Fedorenko

Date: Mon Jan 12 2026 - 09:52:38 EST


On 12/01/2026 13:24, Andrew Lunn wrote:
drivers/ptp/core - API as written above
drivers/ptp/virtual - all PtP drivers somehow emulating a PtP clock
(like the ptp_s390 driver)
drivers/ptp/net - all NIC related drivers.



Well, drivers/ptp/virtual is not really good, because some drivers are
for physical devices exporting PTP interface, but without NIC.

If the lack of a NIC is the differentiating property:

drivers/ptp/net - all NIC related drivers.
drivers/ptp/netless - all related drivers which are not associated to a NIC.

Or

drivers/ptp/emulating - all drivers emulating a PtP clock

I would go with "emulating" then.


Andrew