Hi Richard
Thank you for you reply.I have another issue please help to confirm.
We are using marvel switch on an imx8 platform, we are running the switch with 
dsa driver, under kernel 4.19.
we have one external network port, rj45 on the board and connected to one port 
of the switch chip.And the fec of imx8 connected to one port of the switch chip 
as a cpu port(eth0).
we setup a bridge br0.
Using ptp4l L2 transport we can sync to external network clock by rj45, but it 
seems we can not get sync by eth0, the cpu port.
Is there any patch for this to work? We could like to get pps  supported 
by eth0, since dsa driver of marvel switch we are using does not support pps.
Thank you. 




------------------ Original ------------------
From: &nbsp;"Richard Cochran";<richardcoch...@gmail.com&gt;;
Date: &nbsp;Nov 3, 2020
To: &nbsp;"yvonne_cyh"<1992184...@qq.com&gt;; 
Cc: 
&nbsp;"linuxptp-users@lists.sourceforge.net"<linuxptp-users@lists.sourceforge.net&gt;;
 
Subject: &nbsp;Re: [Linuxptp-users] is there a workaround for us to get pps 
out??



On Tue, Nov 03, 2020 at 04:52:10PM +0800, yvonne_cyh wrote:
&gt; Hello
&gt; under a ptp&amp;nbsp; capablities that only external time stamp channels 
support, can we have a work around to get pps out?
&gt; 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?&amp;nbsp;&amp;nbsp;

Read the documentation in the Linux kernel sources under

&nbsp;&nbsp;&nbsp; Documentation/ABI/testing/sysfs-ptp

That document explains the sysfs interface.

The exact same functionality is available as ioctls/read on a
character device.&nbsp; See the program

&nbsp;&nbsp;&nbsp; tools/testing/selftests/ptp/testptp.c

for an example on how to use the character device.

HTH,
Richard
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to