On Tue, Nov 03, 2020 at 04:52:10PM +0800, yvonne_cyh wrote:
> Hello
> under a ptp capablities that only external time stamp channels support,
> can we have a work around to get pps out?
> Is there any one can give me an explaination about the capabilities? What
> does external time stamp channels mean? And what the 15 programmable pins are
> used for?
Read the documentation in the Linux kernel sources under
Documentation/ABI/testing/sysfs-ptp
That document explains the sysfs interface.
The exact same functionality is available as ioctls/read on a
character device. See the program
tools/testing/selftests/ptp/testptp.c
for an example on how to use the character device.
HTH,
Richard
_______________________________________________
Linuxptp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-users