<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: DTS Needs for PTP on IMX? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/DTS-Needs-for-PTP-on-IMX/m-p/1945640#M227938</link>
    <description>&lt;P&gt;Alright. I am aware of some of the needs to use that event in/out pin. It seems like some people issues with that AFTER ptp4l is able to detect a foreign clock and sync the system clock to a PTP time source. Does that fec_ptp driver need to be linked for ptp4l to see a foreign clock at all? That is my primary issue right now.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Sep 2024 20:13:17 GMT</pubDate>
    <dc:creator>clementLollygag</dc:creator>
    <dc:date>2024-09-02T20:13:17Z</dc:date>
    <item>
      <title>DTS Needs for PTP on IMX?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DTS-Needs-for-PTP-on-IMX/m-p/1943870#M227829</link>
      <description>&lt;P&gt;Been trying to run ptp4l on my Linux build on an IMXMP with a grandmaster clock on the same network. I can never get the foreign clock to be detected even though I can see with tcpdump that I am receiving PTP multicast messages over ethernet from the expected grandmaster IP address.&lt;/P&gt;&lt;P&gt;Starting to expect a device tree thing and, per most device tree topics, there seems to be minimal information online for PTP-specific device tree needs. Also possible we are missing something in the kernel config file but, for any suggested config options I see online, we already have that option implemented. So wondering if anyone can suggest anything to try in the device tree or kernel config OR point me to a resource for ensuring PTP is able to work in our Linux build.&lt;/P&gt;&lt;P&gt;Thanks for any help in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 30 Aug 2024 00:04:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DTS-Needs-for-PTP-on-IMX/m-p/1943870#M227829</guid>
      <dc:creator>clementLollygag</dc:creator>
      <dc:date>2024-08-30T00:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: DTS Needs for PTP on IMX?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DTS-Needs-for-PTP-on-IMX/m-p/1944903#M227883</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;
&lt;P&gt;For dts, you may need add iomux about XXX_XXX_&lt;SPAN&gt;1588_EVENT0_OUT, for example, add&amp;nbsp;MX8MP_IOMUXC_SAI1_RXC__ENET1_1588_EVENT0_OUT in eth pinctrl node. This is decided by your hardware design using which gpio.&lt;/SPAN&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;MX8MP_IOMUXC_SAI1_RXFS__ENET1_1588_EVENT0_IN	0x100
MX8MP_IOMUXC_SAI1_RXC__ENET1_1588_EVENT0_OUT	0x1c0&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For&amp;nbsp;drivers/net/ethernet/freescale/fec_ptp.c, need to use&amp;nbsp;&lt;SPAN&gt;FEC_TMODE_TOGGLE for&amp;nbsp;capturing signal with normal oscilloscope.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zhiming_Liu_0-1725240683973.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/296412i8F9AB5C75201ED5D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zhiming_Liu_0-1725240683973.png" alt="Zhiming_Liu_0-1725240683973.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2024 01:32:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DTS-Needs-for-PTP-on-IMX/m-p/1944903#M227883</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2024-09-02T01:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: DTS Needs for PTP on IMX?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DTS-Needs-for-PTP-on-IMX/m-p/1945640#M227938</link>
      <description>&lt;P&gt;Alright. I am aware of some of the needs to use that event in/out pin. It seems like some people issues with that AFTER ptp4l is able to detect a foreign clock and sync the system clock to a PTP time source. Does that fec_ptp driver need to be linked for ptp4l to see a foreign clock at all? That is my primary issue right now.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Sep 2024 20:13:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DTS-Needs-for-PTP-on-IMX/m-p/1945640#M227938</guid>
      <dc:creator>clementLollygag</dc:creator>
      <dc:date>2024-09-02T20:13:17Z</dc:date>
    </item>
    <item>
      <title>Re: DTS Needs for PTP on IMX?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DTS-Needs-for-PTP-on-IMX/m-p/1947600#M228050</link>
      <description>&lt;P&gt;Also another note here - I am using the ENET_QOS rather than ENET1. I'm unsure this uses the fec_ptp driver since, according to some example device trees online, the ENET_QOS does not use the fec drivers.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2024 23:24:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DTS-Needs-for-PTP-on-IMX/m-p/1947600#M228050</guid>
      <dc:creator>clementLollygag</dc:creator>
      <dc:date>2024-09-04T23:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: DTS Needs for PTP on IMX?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DTS-Needs-for-PTP-on-IMX/m-p/1947931#M228076</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;
&lt;P&gt;Only FEC driver use ptp function.&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 07:06:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DTS-Needs-for-PTP-on-IMX/m-p/1947931#M228076</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2024-09-05T07:06:37Z</dc:date>
    </item>
    <item>
      <title>Re: DTS Needs for PTP on IMX?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DTS-Needs-for-PTP-on-IMX/m-p/1948424#M228109</link>
      <description>&lt;P&gt;So the nxp,imx8mp-dwmac-eqos driver (driver we link in the device tree) doesn't support PTP/PTP4L? I am pretty confident the ENET EQOS supports IEEE 1588 so this is surprising.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2024 16:26:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DTS-Needs-for-PTP-on-IMX/m-p/1948424#M228109</guid>
      <dc:creator>clementLollygag</dc:creator>
      <dc:date>2024-09-05T16:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: DTS Needs for PTP on IMX?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DTS-Needs-for-PTP-on-IMX/m-p/1948608#M228122</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;
&lt;P&gt;Sorry, just declear again, the EQOS use&amp;nbsp;drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c, not fec_ptp.c. There is no need to modify stmmac_ptp.c. After setting the dts pinctl about IEEE1588 EVENT OUT, you can try below commands, then you may see pluse.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;#  ptp4l -i ethX -p /dev/ptp0 -m -2 &amp;amp;
# T=$(($(date +%s) + 20))
# echo "0 $T 0 1 1" &amp;gt; /sys/class/ptp/ptp0/period&lt;/LI-CODE&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;echo "0 $(date +%s) 100000000 1 0" &amp;gt; /sys/class/ptp/ptp0/period&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 01:29:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DTS-Needs-for-PTP-on-IMX/m-p/1948608#M228122</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2024-09-06T01:29:52Z</dc:date>
    </item>
    <item>
      <title>Re: DTS Needs for PTP on IMX?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DTS-Needs-for-PTP-on-IMX/m-p/1949246#M228152</link>
      <description>&lt;P&gt;Alright good to know it supports it. From the bindings &lt;A href="https://www.kernel.org/doc/Documentation/devicetree/bindings/net/snps%2Cdwmac.yaml" target="_self"&gt;here&lt;/A&gt;, I might need to add a ptp route to my device tree...regardless my problem is still not with the GPIO out pin. It is with getting ptp4l to actually see a foreign master clock even though I can see foreign master on wireshark, tcpdump, etc.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Sep 2024 18:27:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DTS-Needs-for-PTP-on-IMX/m-p/1949246#M228152</guid>
      <dc:creator>clementLollygag</dc:creator>
      <dc:date>2024-09-06T18:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: DTS Needs for PTP on IMX?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DTS-Needs-for-PTP-on-IMX/m-p/1951352#M228274</link>
      <description>&lt;P&gt;Update on this - pretty sure this was not a device tree issue but a configuration issue with the IMX8 clock and the test PTP device we were using. On a Wireshark examination, saw that the domain number for PTP was not matching between the 2 devices, causing the IMX8 to never detect a foreign master clock.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Sep 2024 18:11:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DTS-Needs-for-PTP-on-IMX/m-p/1951352#M228274</guid>
      <dc:creator>clementLollygag</dc:creator>
      <dc:date>2024-09-10T18:11:07Z</dc:date>
    </item>
    <item>
      <title>Re: DTS Needs for PTP on IMX?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DTS-Needs-for-PTP-on-IMX/m-p/1951673#M228289</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;
&lt;P&gt;Can you please share the eqos device tree including pinctrl node and hardware design about eqos?&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2024 05:03:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DTS-Needs-for-PTP-on-IMX/m-p/1951673#M228289</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2024-09-11T05:03:40Z</dc:date>
    </item>
  </channel>
</rss>

