<?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: IMX8MP gpio interrupt issue in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-gpio-interrupt-issue/m-p/2149118#M239977</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest you&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Please make sure the gpio&amp;nbsp; is configured for falling edge only,&amp;nbsp; for example&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;!--ScriptorStartFragment--&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="scriptor-paragraph"&gt;&lt;SPAN&gt;interrupt&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;parent&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;gpio4&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="scriptor-paragraph"&gt;&lt;SPAN&gt;interrupts&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;19&lt;/SPAN&gt; &lt;SPAN&gt;IRQ_TYPE_EDGE_FALLING&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;SPAN&gt;&lt;!--ScriptorEndFragment--&gt;&lt;/SPAN&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;Ensure you are using IRQ_TYPE_EDGE_FALLING and not IRQ_TYPE_EDGE_BOTH&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. check the Pad control flag.&lt;/P&gt;
&lt;P&gt;The pad control value 0x19 might not be enabling input correctly,&amp;nbsp; Try to use a more explicit configuration like&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;!--ScriptorStartFragment--&gt;MX8MP_IOMUXC_SAI1_TXD7__GPIO4_IO19 0x130&lt;!--ScriptorEndFragment--&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;where 0x130 enables input /&amp;nbsp; pull-up / medium drive strength.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Aug 2025 09:50:37 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2025-08-08T09:50:37Z</dc:date>
    <item>
      <title>IMX8MP gpio interrupt issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-gpio-interrupt-issue/m-p/2148156#M239929</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;We are using&amp;nbsp;&lt;STRONG&gt;GPIO12 (pin S142) NXP i.MX 8M Plus:&amp;nbsp; MX8MP_IOMUXC_SAI1_TXD7__GPIO4_IO19 0x19&lt;/STRONG&gt; for one of our usecase&amp;nbsp; and configured as a input and we have a externel pull up resistor of 4.7K ohm . When we configure that as only falling edge we are seeing interrupt for both the rising edge and falling edge Please help us in solving this problem what change we need to do for make it work.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Aug 2025 07:20:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-gpio-interrupt-issue/m-p/2148156#M239929</guid>
      <dc:creator>ajayvk1</dc:creator>
      <dc:date>2025-08-07T07:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP gpio interrupt issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-gpio-interrupt-issue/m-p/2149118#M239977</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest you&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. Please make sure the gpio&amp;nbsp; is configured for falling edge only,&amp;nbsp; for example&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;!--ScriptorStartFragment--&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="scriptor-paragraph"&gt;&lt;SPAN&gt;interrupt&lt;/SPAN&gt;&lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;parent&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;gpio4&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV class="scriptor-paragraph"&gt;&lt;SPAN&gt;interrupts&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;19&lt;/SPAN&gt; &lt;SPAN&gt;IRQ_TYPE_EDGE_FALLING&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;SPAN&gt;&lt;!--ScriptorEndFragment--&gt;&lt;/SPAN&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;Ensure you are using IRQ_TYPE_EDGE_FALLING and not IRQ_TYPE_EDGE_BOTH&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. check the Pad control flag.&lt;/P&gt;
&lt;P&gt;The pad control value 0x19 might not be enabling input correctly,&amp;nbsp; Try to use a more explicit configuration like&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;!--ScriptorStartFragment--&gt;MX8MP_IOMUXC_SAI1_TXD7__GPIO4_IO19 0x130&lt;!--ScriptorEndFragment--&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;where 0x130 enables input /&amp;nbsp; pull-up / medium drive strength.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Daniel&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 09:50:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-gpio-interrupt-issue/m-p/2149118#M239977</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2025-08-08T09:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP gpio interrupt issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-gpio-interrupt-issue/m-p/2150780#M240051</link>
      <description>&lt;P&gt;Hi Daniel,&lt;BR /&gt;I have tried by setting configuration like&lt;BR /&gt;MX8MP_IOMUXC_SAI1_TXD7__GPIO4_IO19 0x130&lt;BR /&gt;But still im facing interrupt is coming for both the edges as we are not using the dtsi file to add like this entry interrupt-parent = &amp;lt;&amp;amp;gpio4&amp;gt;;&lt;BR /&gt;interrupts = &amp;lt;19 IRQ_TYPE_EDGE_FALLING&amp;gt;;&lt;BR /&gt;we have a driver which will have&amp;nbsp; below code&amp;nbsp; to request for falling edge only :-&lt;/P&gt;&lt;P&gt;if (request_irq(irqNumber, irq_handler, IRQF_TRIGGER_FALLING, "device", (void *)(irq_handler))) {&lt;BR /&gt;printk(KERN_INFO "my_device: cannot register IRQ ");&lt;BR /&gt;goto irq;&lt;/P&gt;&lt;P&gt;So please help how to resolve this issue .Is something from GIC will set to both edge type ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Aug 2025 09:12:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-gpio-interrupt-issue/m-p/2150780#M240051</guid>
      <dc:creator>ajayvk1</dc:creator>
      <dc:date>2025-08-12T09:12:33Z</dc:date>
    </item>
    <item>
      <title>Re: IMX8MP gpio interrupt issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-gpio-interrupt-issue/m-p/2154185#M240185</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest you check the GPIO4_ICR2 register,&amp;nbsp; to get the real trigger type configured.&lt;/P&gt;
&lt;P&gt;Bit 6-7 correspond to pin 19.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="danielchen_0-1755589193558.png" style="width: 678px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/352946i81FF44D9837EE42E/image-dimensions/678x323?v=v2" width="678" height="323" role="button" title="danielchen_0-1755589193558.png" alt="danielchen_0-1755589193558.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are not using DTS,&amp;nbsp; ensure you explicitly set the IRQ type in your driver before calling request_irq( );&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;!--ScriptorStartFragment--&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class="scriptor-paragraph"&gt;&lt;SPAN&gt;irq_set_irq_type&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;irqNumber&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt; &lt;SPAN&gt;IRQ_TYPE_EDGE_FALLING&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Aug 2025 07:44:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX8MP-gpio-interrupt-issue/m-p/2154185#M240185</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2025-08-19T07:44:25Z</dc:date>
    </item>
  </channel>
</rss>

