<?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: Configure Interrupt mode for Ethernet in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Configure-Interrupt-mode-for-Ethernet/m-p/1176225#M164337</link>
    <description>&lt;P&gt;Hi a_thomas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if DP83TC811 "INT" output signal is connected to i.MX gpio, one can look at example for&lt;BR /&gt;i.MX6Q where GPIO6 is selected to service ENET interrupts :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6q-arm2.dts?h=imx_5.4.47_2.2.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6q-arm2.dts?h=imx_5.4.47_2.2.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;amp;fec {&lt;BR /&gt;pinctrl-names = "default";&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_enet&amp;gt;;&lt;BR /&gt;phy-mode = "rgmii";&lt;BR /&gt;interrupts-extended = &amp;lt;&amp;amp;gpio1 6 IRQ_TYPE_LEVEL_HIGH&amp;gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
    <pubDate>Sun, 01 Nov 2020 08:56:04 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2020-11-01T08:56:04Z</dc:date>
    <item>
      <title>Configure Interrupt mode for Ethernet</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configure-Interrupt-mode-for-Ethernet/m-p/1175841#M164304</link>
      <description>&lt;P&gt;Hi There,&lt;/P&gt;&lt;P&gt;I am running on imx8 and on linux imx branch 5.4.24_2.3.0&lt;/P&gt;&lt;P&gt;I am not able to change the polling mode of the ethernet driver.&lt;/P&gt;&lt;P&gt;In dp83811_driver , i tried changing the variable "flags" in the phy_driver structure to PHY_HAS_INTERRUPT. But after booting i still get this message in kernel log.&lt;/P&gt;&lt;P&gt;attached PHY driver [TI DP83TC811] (mii_bus:phy_addr=5b040000.ethernet-1:00, irq=POLL)&lt;/P&gt;&lt;P&gt;Should this be done in Uboot or in kernel driver?&lt;/P&gt;&lt;P&gt;can anyone point me to a right direction on how to do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Oct 2020 09:54:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configure-Interrupt-mode-for-Ethernet/m-p/1175841#M164304</guid>
      <dc:creator>a_thomas</dc:creator>
      <dc:date>2020-10-30T09:54:39Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Interrupt mode for Ethernet</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configure-Interrupt-mode-for-Ethernet/m-p/1176225#M164337</link>
      <description>&lt;P&gt;Hi a_thomas&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;if DP83TC811 "INT" output signal is connected to i.MX gpio, one can look at example for&lt;BR /&gt;i.MX6Q where GPIO6 is selected to service ENET interrupts :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6q-arm2.dts?h=imx_5.4.47_2.2.0" target="_blank"&gt;https://source.codeaurora.org/external/imx/linux-imx/tree/arch/arm/boot/dts/imx6q-arm2.dts?h=imx_5.4.47_2.2.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;amp;fec {&lt;BR /&gt;pinctrl-names = "default";&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_enet&amp;gt;;&lt;BR /&gt;phy-mode = "rgmii";&lt;BR /&gt;interrupts-extended = &amp;lt;&amp;amp;gpio1 6 IRQ_TYPE_LEVEL_HIGH&amp;gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Sun, 01 Nov 2020 08:56:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configure-Interrupt-mode-for-Ethernet/m-p/1176225#M164337</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2020-11-01T08:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Configure Interrupt mode for Ethernet</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Configure-Interrupt-mode-for-Ethernet/m-p/1177004#M164420</link>
      <description>&lt;P&gt;Hello Igor,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the quick reply, yes a similar approach seems to work. But, i don't understand a few things completely.&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. why a new interrupt number is given by Linux (cat /proc/interrupts).&amp;nbsp; Is there another mechanism where Linux internally calculates an interrupt number?&lt;/P&gt;&lt;P&gt;2. The Link seems to be Up, but Speed and Duplex setting seems to be Unknown for some reason. all i changed was the entry in DTS and the PHY_HAS_INTERRUPT flag in driver.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Thomas&lt;/P&gt;</description>
      <pubDate>Tue, 03 Nov 2020 06:13:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Configure-Interrupt-mode-for-Ethernet/m-p/1177004#M164420</guid>
      <dc:creator>a_thomas</dc:creator>
      <dc:date>2020-11-03T06:13:20Z</dc:date>
    </item>
  </channel>
</rss>

