<?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>i.MX ProcessorsのトピックRe: ONOFF button doesn't interrupt</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279484#M31980</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Yibin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is also roughly what I just implemented.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jul 2013 00:36:33 GMT</pubDate>
    <dc:creator>EricNelson</dc:creator>
    <dc:date>2013-07-17T00:36:33Z</dc:date>
    <item>
      <title>ONOFF button doesn't interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279466#M31962</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I try to hook ONOFF button interrupt.&lt;/P&gt;&lt;P&gt;Long press on ONOFF button turns the SoC off - as expected.&lt;/P&gt;&lt;P&gt;I have configured all the interrupt handling in Linux kernel, but what happens is the interrupt arrives only once.&lt;/P&gt;&lt;P&gt;Upon 1-st press, the interrupt is sent.&lt;/P&gt;&lt;P&gt;Any additional press leads to nothing.&lt;/P&gt;&lt;P&gt;Do I have to re-enable ONOFF interrupt (IRQ 36) somehow ?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 18:30:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279466#M31962</guid>
      <dc:creator>andreygelman</dc:creator>
      <dc:date>2013-06-06T18:30:45Z</dc:date>
    </item>
    <item>
      <title>Re: ONOFF button doesn't interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279467#M31963</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you clear the interrupt status of SNVS? you can read the register 0x020cc04c and then write the value which you read before in you ISR. No need re-enable ONOFF interrupt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Jun 2013 02:39:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279467#M31963</guid>
      <dc:creator>RobinGong</dc:creator>
      <dc:date>2013-06-07T02:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: ONOFF button doesn't interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279468#M31964</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you !&lt;/P&gt;&lt;P&gt;Indeed writing 0x00040000 to register 0x020cc04c effectively re-enables ONOFF interrupt.&lt;/P&gt;&lt;P&gt;But why don't I see this information in i.MX6 reference manual ?&lt;/P&gt;&lt;P&gt;I see some code dealing with this register in the kernel, under rtc-snvs, but it all private (i.e. data structures defined inside .c file) ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2013 07:37:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279468#M31964</guid>
      <dc:creator>andreygelman</dc:creator>
      <dc:date>2013-06-10T07:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: ONOFF button doesn't interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279469#M31965</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, you can’t find more information in any document you can get.  Sorry, the document I got only for internal share.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2013 02:35:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279469#M31965</guid>
      <dc:creator>RobinGong</dc:creator>
      <dc:date>2013-06-13T02:35:38Z</dc:date>
    </item>
    <item>
      <title>Re: ONOFF button doesn't interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279470#M31966</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am also working on a custom board with a Linux-3.0.35 kernel. I can put the device into suspend mode but can never wake it up by pressing the power button. This sounds like it could also be my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After reviewing the code in rtc-snvs.c, it appears that the ISR already clears the register 0x020cc04c. Am I missing something in my kernel configuration? Does the IRQ 36 have to be enabled and configured? I assume it is already enabled. Andrey, what do you mean by "I have configured all the interrupt handling in Linux kernel"? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Jun 2013 22:08:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279470#M31966</guid>
      <dc:creator>PaulDeMetrotion</dc:creator>
      <dc:date>2013-06-18T22:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: ONOFF button doesn't interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279471#M31967</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need enable IRQ36 firstly , the  code  in rtc-snvs.c  will not handle this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 01:52:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279471#M31967</guid>
      <dc:creator>RobinGong</dc:creator>
      <dc:date>2013-06-19T01:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: ONOFF button doesn't interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279472#M31968</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1. request_irq 36 ... clearing the register each time the interrupt is handled&lt;/P&gt;&lt;P&gt;2. register IRQ 36 as wake source (enable_irq_wake()) when your device goes to sleep - you can even hook up rtc-snvs.c&lt;/P&gt;&lt;P&gt;3. as waking up is not an interrupt, you have to clear the register on the resume path&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 08:22:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279472#M31968</guid>
      <dc:creator>andreygelman</dc:creator>
      <dc:date>2013-06-19T08:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: ONOFF button doesn't interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279473#M31969</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the assistance. I plan to enable IRQ36 as a wake up source in my custom suspend_enter function. I also plan to clear the SNVS_LPSR register in my custom suspend_exit function. Remaining question is where do I request IRQ36? Did you create a custom handler? Can I attach the IRQ to my pm device? Here is a snippet of my code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static void sbc35_c398_suspend_enter(void) &lt;BR /&gt;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // suspend preparation&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // register irq36 as a wake-up source&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static void sbc35_c398_suspend_exit(void) &lt;BR /&gt;{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // resume restore&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // clear the irq register&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static const struct pm_platform_data mx6q_sbc35_c398_pm_data __initconst = {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .name = "imx_pm",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .suspend_enter = sbc35_c398_suspend_enter,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .suspend_exit = sbc35_c398_suspend_exit,&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Later in the code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;imx6q_add_pm_imx(0, &amp;amp;mx6q_sbc35_c398_pm_data);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I just request the irq within my board initialization routine like below? Also need some assistance on two variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;request_irq( 36,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ???,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // irq handler&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IRQF_NO_SUSPEND.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mx6q_sbc35_c398_pm_data.name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ???)&amp;nbsp;&amp;nbsp;&amp;nbsp; // device&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 14:51:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279473#M31969</guid>
      <dc:creator>PaulDeMetrotion</dc:creator>
      <dc:date>2013-06-19T14:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: ONOFF button doesn't interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279474#M31970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, request the IRQ in your board initialization routine.&lt;/P&gt;&lt;P&gt;You might need to play with the flags - it should be rising edge triggered ...&lt;/P&gt;&lt;P&gt;My observation is that the SNVS_LPSR register should be cleared by a deferred worker rather than the IRQ handler. When it is cleared by the IRQ handler it just occasionally fails to be cleared&amp;nbsp; --&amp;nbsp; may be Yibin Gong would like to comment on this ?&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;Setting IRQ36 as a wake up source in my board's suspend_enter() function did not work out for me - apparently, because it is too late.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;You can hook up the snvs-rtc.c adding&amp;nbsp; {enable | disable}_irq_wake() in appropriate places, or, better, create your own module - snvs-power-button or so ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;When you wake your device up with the power button press, the IRQ handler routine will not be called, so the register will not be cleared - in your custom suspend_exit() add the register clearing and, possibly, additional actions you plan to take upon IRQ 36.&lt;SPAN class="j-post-author"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 08:49:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279474#M31970</guid>
      <dc:creator>andreygelman</dc:creator>
      <dc:date>2013-06-20T08:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: ONOFF button doesn't interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279475#M31971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Andrey and Paul,&lt;/P&gt;&lt;P&gt;     Please check the attached patch. At the last minute ,we give up the patch because ONOFF key can only trigger interrupt after key up which means it can meet with Android’s software requirement(long  press to launch power-off menu ,short press to suspend/resume system). Then, we use another GPIO to connect with the ONOFF  key. Please check our reference design MX6Q-SABRESD board, and below code in arch/arm/mach-mx6/board-mx6q_sabresd.c:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;static struct gpio_keys_button imx6q_buttons[] = {&lt;/P&gt;&lt;P&gt;        GPIO_BUTTON(SABRESD_VOLUME_UP, KEY_VOLUMEUP, 1, "volume-up", 0, 1),&lt;/P&gt;&lt;P&gt;        GPIO_BUTTON(SABRESD_VOLUME_DN, KEY_VOLUMEDOWN, 1, "volume-down", 0, 1),&lt;/P&gt;&lt;P&gt;        GPIO_BUTTON(SABRESD_POWER_OFF, KEY_POWER, 1, "power", 1, 1),&lt;/P&gt;&lt;P&gt;};&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2013 02:36:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279475#M31971</guid>
      <dc:creator>RobinGong</dc:creator>
      <dc:date>2013-06-25T02:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: ONOFF button doesn't interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279476#M31972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You make me cry !&lt;/P&gt;&lt;P&gt;Only yesterday :smileyalert: I have implemented almost identical driver myself.&lt;/P&gt;&lt;P&gt;Thank you again !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2013 10:37:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279476#M31972</guid>
      <dc:creator>andreygelman</dc:creator>
      <dc:date>2013-06-25T10:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: ONOFF button doesn't interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279477#M31973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks!!! Great help. My system now wakes up when the power button is hit. In our implementation the power switch is hooked directly to the ONOFF pin. There is no GPIO used.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is still a problem because the system does not return to a usable state. The video locks up with my wallpaper and a white block. The keyboard and mouse are unresponsive. The serial console is usable so the system is alive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the dmesg output from suspend to wake up. Do you see anything that looks suspicious? Right after wake up I do get the following console message: mxc_hdmi mxc_hdmi: PHY PLL not locked&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;init: anacron main process (5258) killed by TERM signal&lt;/P&gt;&lt;P&gt;PM: Syncing filesystems ... done.&lt;/P&gt;&lt;P&gt;PM: Preparing system for mem sleep&lt;/P&gt;&lt;P&gt;Freezing user space processes ... (elapsed 0.01 seconds) done.&lt;/P&gt;&lt;P&gt;Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.&lt;/P&gt;&lt;P&gt;PM: Entering mem sleep&lt;/P&gt;&lt;P&gt;Suspending console(s) (use no_console_suspend to debug)&lt;/P&gt;&lt;P&gt;ehci_fsl_bus_suspend begins, Host 1&lt;/P&gt;&lt;P&gt;ehci_fsl_bus_suspend ends, Host 1&lt;/P&gt;&lt;P&gt;USB Host suspend begins&lt;/P&gt;&lt;P&gt;ehci_fsl_drv_suspend, pm event&lt;/P&gt;&lt;P&gt;host suspend ends&lt;/P&gt;&lt;P&gt;udc suspend begins&lt;/P&gt;&lt;P&gt;USB Host suspend begins&lt;/P&gt;&lt;P&gt;ehci_fsl_drv_suspend, pm event&lt;/P&gt;&lt;P&gt;host suspend ends&lt;/P&gt;&lt;P&gt;add wake up source irq 36&lt;/P&gt;&lt;P&gt;add wake up source irq 51&lt;/P&gt;&lt;P&gt;PM: suspend of devices complete after 48.710 msecs&lt;/P&gt;&lt;P&gt;PM: late suspend of devices complete after 0.645 msecs&lt;/P&gt;&lt;P&gt;Disabling non-boot CPUs ...&lt;/P&gt;&lt;P&gt;CPU1: shutdown&lt;/P&gt;&lt;P&gt;CPU2: shutdown&lt;/P&gt;&lt;P&gt;CPU3: shutdown&lt;/P&gt;&lt;P&gt;Enabling non-boot CPUs ...&lt;/P&gt;&lt;P&gt;CPU1: Booted secondary processor&lt;/P&gt;&lt;P&gt;Calibrating delay loop (skipped) already calibrated this CPU&lt;/P&gt;&lt;P&gt;i.MXC CPU frequency driver&lt;/P&gt;&lt;P&gt;CPU1 is up&lt;/P&gt;&lt;P&gt;CPU2: Booted secondary processor&lt;/P&gt;&lt;P&gt;Calibrating delay loop (skipped) already calibrated this CPU&lt;/P&gt;&lt;P&gt;i.MXC CPU frequency driver&lt;/P&gt;&lt;P&gt;CPU2 is up&lt;/P&gt;&lt;P&gt;CPU3: Booted secondary processor&lt;/P&gt;&lt;P&gt;Calibrating delay loop (skipped) already calibrated this CPU&lt;/P&gt;&lt;P&gt;i.MXC CPU frequency driver&lt;/P&gt;&lt;P&gt;CPU3 is up&lt;/P&gt;&lt;P&gt;PM: early resume of devices complete after 0.485 msecs&lt;/P&gt;&lt;P&gt;=======snvs_pwrkey_interrupt()lpstatus 0x40040000, lp_cr 0x21&lt;/P&gt;&lt;P&gt;set snvs as DUMP PMIC MODE&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.0: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)&lt;/P&gt;&lt;P&gt;imx-ipuv3 imx-ipuv3.1: IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)&lt;/P&gt;&lt;P&gt;mxc_hdmi mxc_hdmi: PHY PLL not locked&lt;/P&gt;&lt;P&gt;mxc_hdmi mxc_hdmi: PHY PLL not locked&lt;/P&gt;&lt;P&gt;remove wake up source irq 51&lt;/P&gt;&lt;P&gt;remove wake up source irq 36&lt;/P&gt;&lt;P&gt;ehci fsl drv resume begins: DR&lt;/P&gt;&lt;P&gt;ehci_fsl_drv_resume,pm event, wait for wakeup irq if needed&lt;/P&gt;&lt;P&gt;USB Gadget resume begins&lt;/P&gt;&lt;P&gt;fsl_udc_resume, Wait for wakeup thread finishes&lt;/P&gt;&lt;P&gt;ehci_fsl_bus_resume begins, DR&lt;/P&gt;&lt;P&gt;ehci fsl drv resume begins: Host 1&lt;/P&gt;&lt;P&gt;ehci_fsl_drv_resume,pm event, wait for wakeup irq if needed&lt;/P&gt;&lt;P&gt;ehci_fsl_bus_resume begins, Host 1&lt;/P&gt;&lt;P&gt;ehci_fsl_bus_resume ends, Host 1&lt;/P&gt;&lt;P&gt;PM: resume of devices complete after 1398.805 msecs&lt;/P&gt;&lt;P&gt;PM: Finishing wakeup.&lt;/P&gt;&lt;P&gt;Restarting tasks ... done.&lt;/P&gt;&lt;P&gt;eth0: Freescale FEC PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=1:07, irq=-1)&lt;/P&gt;&lt;P&gt;ADDRCONF(NETDEV_UP): eth0: link is not ready&lt;/P&gt;&lt;P&gt;PHY: 1:07 - Link is Up - 1000/Full&lt;/P&gt;&lt;P&gt;ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2013 21:10:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279477#M31973</guid>
      <dc:creator>PaulDeMetrotion</dc:creator>
      <dc:date>2013-06-25T21:10:00Z</dc:date>
    </item>
    <item>
      <title>Re: ONOFF button doesn't interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279478#M31974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;UPDATE: I added the switch no_console_suspend to my command line and the system now wakes up fine. Is this typical behavior? Any idea why this specific switch works?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 13:36:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279478#M31974</guid>
      <dc:creator>PaulDeMetrotion</dc:creator>
      <dc:date>2013-06-26T13:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: ONOFF button doesn't interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279479#M31975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It’s not a typical behavior, no_console_suspend shouldn’t have  so big impact . Without no_console_suspend, the log printed during system suspend will be postponed to resume back.  ‘mxc_hdmi: PHY PLL not locked’ is still here when you add no_console_suspend in command line?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 14:58:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279479#M31975</guid>
      <dc:creator>RobinGong</dc:creator>
      <dc:date>2013-06-26T14:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: ONOFF button doesn't interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279480#M31976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, the HDMI message is displayed with the no_console_suspend selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jun 2013 19:13:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279480#M31976</guid>
      <dc:creator>PaulDeMetrotion</dc:creator>
      <dc:date>2013-06-26T19:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: ONOFF button doesn't interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279481#M31977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kernel seems ok since console is usable after resume back, I doubt there is something wrong about input event notification . Because ONOFF key only trigger interrupt after key up, the code in the patch will report another pseudo ‘down’ event before  every ‘up’ event. I’m not sure this is harmless for your system(or need add some delay between two events?), what’s  your system ? The patch has  been validated on Android .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 02:41:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279481#M31977</guid>
      <dc:creator>RobinGong</dc:creator>
      <dc:date>2013-06-27T02:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: ONOFF button doesn't interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279482#M31978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have our own custom system based on the i.MX6Q. I reviewed the code and the functions uart_suspend_port and uart_resume_port are the only places the variable console_suspend_enable is used. This variable is set based on the no_console_suspend setting. Both functions are in drivers/tty/serial/serial_core.c.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there something within the suspend or resume code of the console that needs to be customized based on my hardware? We use serial port 1 (ttymxc0) as the console. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 14:19:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279482#M31978</guid>
      <dc:creator>PaulDeMetrotion</dc:creator>
      <dc:date>2013-06-27T14:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: ONOFF button doesn't interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279483#M31979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;console_suspend_enable is a common debug option to see the log timely, no need any specific low level code support.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jul 2013 03:46:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279483#M31979</guid>
      <dc:creator>RobinGong</dc:creator>
      <dc:date>2013-07-03T03:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: ONOFF button doesn't interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279484#M31980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Yibin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is also roughly what I just implemented.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2013 00:36:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279484#M31980</guid>
      <dc:creator>EricNelson</dc:creator>
      <dc:date>2013-07-17T00:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: ONOFF button doesn't interrupt</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279485#M31981</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 can't understand this code&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt; &lt;/TD&gt;&lt;TD&gt;GPIO_BUTTON(SABRESD_VOLUME_UP, KEY_VOLUMEUP, 1, "volume-up", 0),&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;-&lt;/TD&gt;&lt;TD&gt;GPIO_BUTTON(SABRESD_VOLUME_DN, KEY_VOLUMEDOWN, 1, "volume-down", 1),&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;+&lt;/TD&gt;&lt;TD&gt;GPIO_BUTTON(SABRESD_VOLUME_DN, KEY_POWER, 1, "volume-down", 1),&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt; &lt;/TD&gt;&lt;TD&gt;GPIO_BUTTON(SABRESD_POWER_OFF, KEY_POWER, 1, "power", 1),&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;any one can explain for me？ thanks！！ &lt;/P&gt;&lt;P&gt;or show&amp;nbsp; me the hardware design？&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jun 2016 02:12:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ONOFF-button-doesn-t-interrupt/m-p/279485#M31981</guid>
      <dc:creator>ningli</dc:creator>
      <dc:date>2016-06-08T02:12:23Z</dc:date>
    </item>
  </channel>
</rss>

