On Sat, Aug 29, 2020 at 12:58:58PM -0700, Richard Cochran wrote: > > A while back there were patches for the TI am335x (aka Beagle Bone) > that enabled a PPS output on a PWM pin based on the feedback from the > signal back into the MAC's external time stamp unit. > > Did you see those patches?
I probably did, but since I hadn't bothered to read the problem statement at https://usermanual.wiki/Document/SetupGuide.632280828.pdf, I simply didn't understand and forgot about them. > And if so, do you think that your new framework could support that > operations? > So, my changes weren't made with phc2pwm in mind at all. > (I'm asking because the PWM patch series had an ad-hoc user space > utility that I disliked. It would be much better to add that mode to > ts2phc if we can make it fit.) > I think we can. We must add a PWM kind of PHC, that does whatever it takes to make a PWM tick at the requested period and duty cycle. Then we should be able to run ts2phc, with the PHC that drives the PWM, as extts slave. I am not familiar with the cpts driver, but as long as it supports the extts API, it should be good to go. I think it's a very interesting application, in fact! Thanks, -Vladimir _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel