<?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: Re: GPIO interrupt on i.MX6 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-interrupt-on-i-MX6/m-p/364285#M51544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;Thanks for your support. Actually my original code was almost fine, I only missed to include the GPL licence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Apr 2015 13:45:11 GMT</pubDate>
    <dc:creator>nluca</dc:creator>
    <dc:date>2015-04-07T13:45:11Z</dc:date>
    <item>
      <title>GPIO interrupt on i.MX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-interrupt-on-i-MX6/m-p/364279#M51538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to configure an interrupt on a GPIO of my board i.MX6, in order to toggle another GPIO once the first has changed its value (this is the first stage of a more complicated project). I want to build a module and insert it on the running kernel. Attached is the source code and the Makefile I'm using to compile it. I'm actually able to compile the source code in a linux x86 system, but once I try to insert it on the i.MX6 environment (using insmod), I get these errors:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;luca_gpio: Unknown symbol gpio_free (err 0)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;luca_gpio: Unknown symbol __gpio_to_irq (err 0)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;luca_gpio: Unknown symbol gpio_direction_output (err 0)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;luca_gpio: Unknown symbol __gpio_set_value (err 0)&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;luca_gpio: Unknown symbol gpio_request (err 0)&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could anyone give me any suggestion to solve this issue, please?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-336933"&gt;sources.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Mar 2015 15:28:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-interrupt-on-i-MX6/m-p/364279#M51538</guid>
      <dc:creator>nluca</dc:creator>
      <dc:date>2015-03-30T15:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO interrupt on i.MX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-interrupt-on-i-MX6/m-p/364280#M51539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luca&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest at below links for overview of i.MX6 gpio interrupt handling&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://blog.skerpa.com/dschnell/blog/2013/10/27/linux-and-gpio-userspace-interrupts/" title="http://blog.skerpa.com/dschnell/blog/2013/10/27/linux-and-gpio-userspace-interrupts/"&gt;Linux &amp;amp; GPIO userspace interrupts - Monocoques in Software&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://android.serverbox.ch/?p=972" title="http://android.serverbox.ch/?p=972"&gt;Working with GPIO on the Wandboard and Writing an Android Driver for GPIO Interrupts | Using Android in Industrial Autom…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.cnblogs.com/cyc2009/p/4127496.html" title="http://www.cnblogs.com/cyc2009/p/4127496.html"&gt;linux系统下标准GPIO按键驱动 - tiger_chen - 博客园&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 01:43:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-interrupt-on-i-MX6/m-p/364280#M51539</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-03-31T01:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO interrupt on i.MX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-interrupt-on-i-MX6/m-p/364281#M51540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;Thanks for your suggestions.&lt;/P&gt;&lt;P&gt;Actually I've already looked at the references you suggested and they have been very helpful as a start point. However, the method explained is working in polling mode and in user space: this means I'm not able to take a real-time action based on the state change of the input pin (e.g. change the state of another output pin). That's why I was asking about interrupts and kernel space modules. Any suggestion/explanation on how to achieve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks guys,&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Mar 2015 12:08:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-interrupt-on-i-MX6/m-p/364281#M51540</guid>
      <dc:creator>nluca</dc:creator>
      <dc:date>2015-03-31T12:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: Re: GPIO interrupt on i.MX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-interrupt-on-i-MX6/m-p/364282#M51541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luca&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can look at sect.3.2.4 Interrupt Source Code Structure&lt;/P&gt;&lt;P&gt;attached Linux Manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 00:26:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-interrupt-on-i-MX6/m-p/364282#M51541</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-04-01T00:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Re: GPIO interrupt on i.MX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-interrupt-on-i-MX6/m-p/364283#M51542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;Thanks for your suggestions. This is very interesting and a good starting point !&lt;/P&gt;&lt;P&gt;Just after having read the first pages, one more question is how to get all the starting point SW. I can download the 3.10.53 Linux kernel, but what about the BSP? And how should I combine the two software packages to get the full features OS for my i.MX6 Solo board? &lt;SPAN style="font-size: 13.3333330154419px;"&gt;And what about the RFS?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Apr 2015 08:47:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-interrupt-on-i-MX6/m-p/364283#M51542</guid>
      <dc:creator>nluca</dc:creator>
      <dc:date>2015-04-01T08:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Re: GPIO interrupt on i.MX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-interrupt-on-i-MX6/m-p/364284#M51543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Luca&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for SW starting point suggest to start with&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.nxp.com/docs/DOC-1616" title="https://community.freescale.com/docs/DOC-1616"&gt;https://community.freescale.com/docs/DOC-1616&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2015 02:35:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-interrupt-on-i-MX6/m-p/364284#M51543</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-04-02T02:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: Re: GPIO interrupt on i.MX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-interrupt-on-i-MX6/m-p/364285#M51544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Igor,&lt;/P&gt;&lt;P&gt;Thanks for your support. Actually my original code was almost fine, I only missed to include the GPL licence.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Luca&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Apr 2015 13:45:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-interrupt-on-i-MX6/m-p/364285#M51544</guid>
      <dc:creator>nluca</dc:creator>
      <dc:date>2015-04-07T13:45:11Z</dc:date>
    </item>
    <item>
      <title>Re: GPIO interrupt on i.MX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPIO-interrupt-on-i-MX6/m-p/364286#M51545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Luca,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to configure a GPIO pin and registered the ISR, (For more details please refer &lt;A _jive_internal="true" href="https://community.nxp.com/thread/474144"&gt;474144&lt;/A&gt;). I have successfully registerd interrupt but my ISR is not getting hit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please share the DTS changes you have done and also updated source code, so that it will be helpful for us to resolve this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Phani Movva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Apr 2018 07:37:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPIO-interrupt-on-i-MX6/m-p/364286#M51545</guid>
      <dc:creator>phaniteja</dc:creator>
      <dc:date>2018-04-19T07:37:52Z</dc:date>
    </item>
  </channel>
</rss>

