On Tue, Jul 25, 2023 at 06:12:50PM +0000, Arun Saravanan via Linuxptp-devel wrote: > Use case is – > ptp4l in free_running mode – PTP syncs the TOD > PHC disciplined by other means, say PPS > phc2sys source is PHC.
>> I'm sorry, I still don't follow. What exactly is "PTP" and "TOD" here? Is >> the ptp4l's PTP port in master or slave state? Slave >> If former, why would you need free_running_mode. If latter, what is the >> point of running ptp4l? When PPS source doesn’t have of Time of Day(TOD), it is got from the Sync Timestamps. > With autocfg option phc2sys tries to get the phc_index from ptp4l to > determine the source. But since ptp4l is free running mode, > pmc_agent_query_port_properties will not give the phc_index. > Ptp4l doesn’t know about PHC since it is not disciplining it. >> Well, to me that would seem like the right thing to do. The PHC is not >> synchronized, so phc2sys shouldn't be using it for synchronization of other >> clocks. -- Miroslav Lichvar
_______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel