<?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: Low power mode support in 3.10.9 kernel in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Low-power-mode-support-in-3-10-9-kernel/m-p/284195#M33229</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use &lt;CODE&gt;gpio-key,wakeup. &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;An example is available here:&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/imx6qdl-sabresd.dtsi?id=refs/tags/v3.14-rc1" title="https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/imx6qdl-sabresd.dtsi?id=refs/tags/v3.14-rc1"&gt;https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/imx6qdl-sabresd.dtsi?id=refs/tags…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Feb 2014 17:16:33 GMT</pubDate>
    <dc:creator>fabio_estevam</dc:creator>
    <dc:date>2014-02-07T17:16:33Z</dc:date>
    <item>
      <title>Low power mode support in 3.10.9 kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Low-power-mode-support-in-3-10-9-kernel/m-p/284194#M33228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to enable power saving mode on my i.MX6 Solo based board. The board used same&amp;nbsp; configuration&amp;nbsp; of sabrelite&amp;nbsp; with additional PMIC (PF0100&amp;nbsp; as pmic). &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;All I need is to&amp;nbsp; switch the device&amp;nbsp; to STANDBY mode based on a GPIO interrupt (looks like mem mode is not supported by the kernel)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the power state modes supported in my board.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;root@imx6qsabrelite:/# cat /sys/power/state&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;freeze standby mem&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am also able to make&amp;nbsp; switch&amp;nbsp; board to STOP mode by&amp;nbsp; below command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;root@imx6qsabrelite:~# echo standby &amp;gt; /sys/power/state&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;PM: Syncing filesystems ... done.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;Freezing user space processes ... (elapsed 0.01 seconds) done.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;PM: Calling sched_clock_suspend+0x0/0x2c&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;PM: Calling fw_suspend+0x0/0x24&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;PM: Calling cpufreq_bp_suspend+0x0/0xc4&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;PM: Calling cpu_pm_suspend+0x0/0x20&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I configure a GPIO&amp;nbsp; as the wake up source? &lt;/P&gt;&lt;P&gt;Appreciate your pointers...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Krishnan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 11:53:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Low-power-mode-support-in-3-10-9-kernel/m-p/284194#M33228</guid>
      <dc:creator>krishnanp</dc:creator>
      <dc:date>2014-02-07T11:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Low power mode support in 3.10.9 kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Low-power-mode-support-in-3-10-9-kernel/m-p/284195#M33229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use &lt;CODE&gt;gpio-key,wakeup. &lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;An example is available here:&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/imx6qdl-sabresd.dtsi?id=refs/tags/v3.14-rc1" title="https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/imx6qdl-sabresd.dtsi?id=refs/tags/v3.14-rc1"&gt;https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/imx6qdl-sabresd.dtsi?id=refs/tags…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fabio Estevam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 17:16:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Low-power-mode-support-in-3-10-9-kernel/m-p/284195#M33229</guid>
      <dc:creator>fabio_estevam</dc:creator>
      <dc:date>2014-02-07T17:16:33Z</dc:date>
    </item>
    <item>
      <title>Re: Low power mode support in 3.10.9 kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Low-power-mode-support-in-3-10-9-kernel/m-p/284196#M33230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From hardware design perspective, to enable an interrupt as an wakeup source of STOP mode, you just need to ensure this interrupt is triggered and its mask bit in GPC is not set, you can refer to the routine imx_gpc_irq_mask in arch/arm/mach-imx/gpc.c. In kernel, you should call enable_irq_wake before suspend, just as Fabio said, you can refer to the code of gpio-key, drivers/input/keyboard/gpio_keys.c, gpio_keys_suspend. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Feb 2014 05:17:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Low-power-mode-support-in-3-10-9-kernel/m-p/284196#M33230</guid>
      <dc:creator>AnsonHuang</dc:creator>
      <dc:date>2014-02-08T05:17:57Z</dc:date>
    </item>
  </channel>
</rss>

