<?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 Problem with wakeup from sleep with GPIO in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Problem-with-wakeup-from-sleep-with-GPIO/m-p/705049#M109530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a Linux kernel with version 4.1.15-1.2.0 running on a custom board that is very similar to the iMX6DL Sabre.&lt;/P&gt;&lt;P&gt;I am trying to get the system to wake up from standby and suspend-to-ram mode using GPIOs.&lt;/P&gt;&lt;P&gt;This works for GPIO2 and GPIO9 (gpio1 IO2 and gpio1 IO9) but does *not* work for GPIO203 and GPIO204 (gpio7 IO11 and gpio7 IO12).&lt;/P&gt;&lt;P&gt;When I export the gpios under sysfs and activate the edge-triggered interrupts (echo falling &amp;gt; edge), I can see the value change when I examine the 'value' file and I can also see the interrupts getting triggered when I examine /proc/interrupts.&lt;/P&gt;&lt;P&gt;So,&lt;/P&gt;&lt;P&gt;a) the GPIO is seeing a change and is reflecting the changed value&lt;/P&gt;&lt;P&gt;b) is triggering an interrupt according to the change.&lt;/P&gt;&lt;P&gt;However, this does *not* wake the system up for GPIO203 and GPIO204.&lt;/P&gt;&lt;P&gt;This *does* work for GPIO2 and GPIO9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that some irq wakeup flag is set for GPIO2 and GPIO9 and is not set for GPIO203 and GPIO204.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what I'm doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Oct 2017 15:47:03 GMT</pubDate>
    <dc:creator>geraldheinig</dc:creator>
    <dc:date>2017-10-12T15:47:03Z</dc:date>
    <item>
      <title>Problem with wakeup from sleep with GPIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-with-wakeup-from-sleep-with-GPIO/m-p/705049#M109530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have a Linux kernel with version 4.1.15-1.2.0 running on a custom board that is very similar to the iMX6DL Sabre.&lt;/P&gt;&lt;P&gt;I am trying to get the system to wake up from standby and suspend-to-ram mode using GPIOs.&lt;/P&gt;&lt;P&gt;This works for GPIO2 and GPIO9 (gpio1 IO2 and gpio1 IO9) but does *not* work for GPIO203 and GPIO204 (gpio7 IO11 and gpio7 IO12).&lt;/P&gt;&lt;P&gt;When I export the gpios under sysfs and activate the edge-triggered interrupts (echo falling &amp;gt; edge), I can see the value change when I examine the 'value' file and I can also see the interrupts getting triggered when I examine /proc/interrupts.&lt;/P&gt;&lt;P&gt;So,&lt;/P&gt;&lt;P&gt;a) the GPIO is seeing a change and is reflecting the changed value&lt;/P&gt;&lt;P&gt;b) is triggering an interrupt according to the change.&lt;/P&gt;&lt;P&gt;However, this does *not* wake the system up for GPIO203 and GPIO204.&lt;/P&gt;&lt;P&gt;This *does* work for GPIO2 and GPIO9.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that some irq wakeup flag is set for GPIO2 and GPIO9 and is not set for GPIO203 and GPIO204.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know what I'm doing wrong?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 15:47:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-with-wakeup-from-sleep-with-GPIO/m-p/705049#M109530</guid>
      <dc:creator>geraldheinig</dc:creator>
      <dc:date>2017-10-12T15:47:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with wakeup from sleep with GPIO</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-with-wakeup-from-sleep-with-GPIO/m-p/705050#M109531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gerald&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one can check if gpio7 IO11 and gpio7 IO12 are configured in uboot for other purposes&lt;/P&gt;&lt;P&gt;and try to debug it using jtag or printf gpio7 IO11 and gpio7 IO12&lt;/P&gt;&lt;P&gt;registers. Also may be useful to test with baremetal SDK:&lt;/P&gt;&lt;P&gt;Github SDK&lt;BR /&gt;&lt;A href="https://github.com/backenklee/swp-report/tree/master/iMX6_Platform_SDK"&gt;https://github.com/backenklee/swp-report/tree/master/iMX6_Platform_SDK&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Oct 2017 23:39:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-with-wakeup-from-sleep-with-GPIO/m-p/705050#M109531</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-10-12T23:39:25Z</dc:date>
    </item>
  </channel>
</rss>

