Re: [PATCH 1/5] ptp: Added a brand new class driver for ptp clocks.

From: Christian Riesch
Date: Sun Aug 29 2010 - 09:39:48 EST


Alan Cox wrote:
The master node in a PTP network probably takes its time from a
precise external time source, like GPS. The GPS provides a 1 PPS
directly to the PTP clock hardware, which latches the PTP hardware
clock time on the PPS edge. This provides one sample as input to a
clock servo (in the PTPd) that, in turn, regulates the PTP clock
hardware.

A PTP clock is TAI, Unix time is UTC.

Not necessarily. AFAIK, the time distributed by IEEE1588v2 can either be based on the "PTP epoch" (timePropertiesDS.ptpTimescale=TRUE) and thus represent TAI or be based on an implementation specific arbitrary epoch (timePropertiesDS.ptpTimescale=FALSE) and represent time on some arbitrary time scale.

Christian


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/