On Mon, 18 Aug 2025 12:25:50 +0530 Krishna Chaitanya Chundru wrote:
This patch introduces the MHI PHC (PTP Hardware Clock) driver, which
registers a PTP (Precision Time Protocol) clock and communicates with
the MHI core to get the device side timestamps. These timestamps are
then exposed to the PTP subsystem, enabling precise time synchronization
between the host and the device.
+static struct ptp_clock_info qcom_ptp_clock_info = {
+ .owner = THIS_MODULE,
+ .gettimex64 = qcom_ptp_gettimex64,
+};
Yet another device to device clock sync driver. Please see the
discussion here:
https://lore.kernel.org/all/20250815113814.5e135318@kernel.org/ (local)
I think we have a consensus within the community that we should
stop cramming random clocks into the PTP subsystem.
Exporting read-only clocks from another processor is not what PTP
is for.