<?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 imx8m low power mode in Linux in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx8m-low-power-mode-in-Linux/m-p/1302079#M176372</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to figure out how imx8m power management is done in Linux and cores are put into low power:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q1-&lt;/STRONG&gt; As I guessed, low power mode relates to &lt;STRONG&gt;power&lt;/STRONG&gt; and &lt;STRONG&gt;clock&lt;/STRONG&gt;. Is there any things except them?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q2-&lt;/STRONG&gt; Which Linux source files implement the reference manual stuffs relating to power and clock?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q3-&lt;/STRONG&gt; Is there any other document except reference manual about imx8m low power mode?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 04 Jul 2021 10:31:05 GMT</pubDate>
    <dc:creator>akbar123</dc:creator>
    <dc:date>2021-07-04T10:31:05Z</dc:date>
    <item>
      <title>imx8m low power mode in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8m-low-power-mode-in-Linux/m-p/1302079#M176372</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to figure out how imx8m power management is done in Linux and cores are put into low power:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q1-&lt;/STRONG&gt; As I guessed, low power mode relates to &lt;STRONG&gt;power&lt;/STRONG&gt; and &lt;STRONG&gt;clock&lt;/STRONG&gt;. Is there any things except them?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q2-&lt;/STRONG&gt; Which Linux source files implement the reference manual stuffs relating to power and clock?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q3-&lt;/STRONG&gt; Is there any other document except reference manual about imx8m low power mode?&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jul 2021 10:31:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8m-low-power-mode-in-Linux/m-p/1302079#M176372</guid>
      <dc:creator>akbar123</dc:creator>
      <dc:date>2021-07-04T10:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: imx8m low power mode in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8m-low-power-mode-in-Linux/m-p/1302089#M176374</link>
      <description>&lt;P&gt;Hi Asghar&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;for description of i.MX8MQ low power modes one can look at&lt;/P&gt;
&lt;P&gt;AN12118&amp;nbsp; &lt;A id="relatedDocsClick_1" href="https://www.nxp.com/docs/en/nxp/application-notes/AN12118.pdf" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;i.MX 8M Quad Power Consumption Measurement&lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;sect.2.5.1 Low Level Power Management (PM), sect.2.5.1.3 Source Code Structure&lt;/P&gt;
&lt;P&gt;&lt;A style="box-sizing: border-box; background-color: transparent; color: #215bd6; text-decoration: none; cursor: pointer;" href="https://www.nxp.com/docs/en/reference-manual/IMX_REFERENCE_MANUAL.pdf" target="_blank" rel="noopener"&gt;i.MX Linux Reference Manual​&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Sun, 04 Jul 2021 23:14:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8m-low-power-mode-in-Linux/m-p/1302089#M176374</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-07-04T23:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: imx8m low power mode in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8m-low-power-mode-in-Linux/m-p/1302215#M176389</link>
      <description>&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;The document describes some benchmarks. My question is about the low power functionality in i.MX8M.&lt;/P&gt;&lt;P&gt;Q1- How does the power management and clock system work at both sides Hardware and Linux?&lt;/P&gt;&lt;P&gt;Q2- Is there any other document except reference manual about these topics?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 05 Jul 2021 05:41:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8m-low-power-mode-in-Linux/m-p/1302215#M176389</guid>
      <dc:creator>akbar123</dc:creator>
      <dc:date>2021-07-05T05:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: imx8m low power mode in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8m-low-power-mode-in-Linux/m-p/1303433#M176481</link>
      <description>&lt;P&gt;also one can look at AN12225 &lt;A id="relatedDocsClick_18" href="https://www.nxp.com/docs/en/application-note/AN12225.pdf" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;How to Reduce SoC Power when Running M4 with A53 on i.MX8M &lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;AN12195&amp;nbsp; &lt;A id="relatedDocsClick_2" href="https://www.nxp.com/docs/en/application-note/AN12195.pdf" target="_blank" rel="noopener"&gt;&lt;STRONG&gt;Implement Low-Power Audio on i.MX8M &lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=AN12195SW&amp;amp;docLang=en" target="_blank" rel="noopener"&gt; AN12195SW&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 00:22:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8m-low-power-mode-in-Linux/m-p/1303433#M176481</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-07-07T00:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: imx8m low power mode in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8m-low-power-mode-in-Linux/m-p/1303788#M176519</link>
      <description>&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;My ultimate goal is to run a program on Cortex-M4 (CM4) to control a peripheral (e.g. GPIO, UART, CAN or etc) when Cortex-A (CA) cores are in sleep (i.e. echo mem &amp;gt; /sys/power/state).&lt;/P&gt;&lt;P&gt;The current implementation puts CM4 in sleep when Linux goes into sleep. As I searched the kernel source code, there are two important files: (These are just my guesses)&lt;/P&gt;&lt;P&gt;1- &lt;STRONG&gt;psci.c:&lt;/STRONG&gt; is used to manage CA cores, e.g. put them into sleep&lt;/P&gt;&lt;P&gt;2- &lt;STRONG&gt;gpc-psci.c:&lt;/STRONG&gt; is used to manage imx8 power domains, e.g. to turn off power of domain and put that domain into sleep&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q1-&lt;/STRONG&gt; Are the power management operations (e.g. putting CA and CM4 into sleep) implemented in Linux source code (psci.c and gpc-psci.c) or in ATF (gpc.c)? I can't realize Linux and ATF relationship in handling power management.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q2-&lt;/STRONG&gt; I guess CA &lt;U&gt;&lt;STRONG&gt;core0&lt;/STRONG&gt;&lt;/U&gt; is &lt;STRONG&gt;always&lt;/STRONG&gt; ON and not put into sleep even if I use "echo mem &amp;gt; /sys/power/state". Is that right?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q3-&lt;/STRONG&gt; Are there any documents about imx8mq power domains except the reference manual?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 11:56:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8m-low-power-mode-in-Linux/m-p/1303788#M176519</guid>
      <dc:creator>akbar123</dc:creator>
      <dc:date>2021-07-07T11:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: imx8m low power mode in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8m-low-power-mode-in-Linux/m-p/1304332#M176571</link>
      <description>&lt;P&gt;Hi asghar&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt; My ultimate goal is to run a program on Cortex-M4 (CM4) to control a peripheral &lt;BR /&gt;&amp;gt;(e.g. GPIO, UART, CAN or etc) when Cortex-A (CA) cores are in sleep &lt;BR /&gt;&amp;gt;(i.e. echo mem &amp;gt; /sys/power/state).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;such use case (example with audio) is provided in&amp;nbsp;AN12195&amp;nbsp; &lt;A id="relatedDocsClick_2" href="https://www.nxp.com/docs/en/application-note/AN12195.pdf" target="_blank" rel="noopener nofollow noreferrer"&gt;&lt;STRONG&gt;Implement Low-Power Audio on i.MX8M &lt;/STRONG&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.nxp.com/webapp/Download?colCode=AN12195SW&amp;amp;docLang=en" target="_blank" rel="noopener nofollow noreferrer"&gt; AN12195SW&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt;Are there any documents about imx8mq power domains except the reference manual?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;not, sorry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 00:58:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8m-low-power-mode-in-Linux/m-p/1304332#M176571</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-07-08T00:58:47Z</dc:date>
    </item>
    <item>
      <title>Re: imx8m low power mode in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8m-low-power-mode-in-Linux/m-p/1304734#M176605</link>
      <description>&lt;P&gt;Hi igor,&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;what about this question:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Q2-&lt;/STRONG&gt; I guess CA &lt;U&gt;&lt;STRONG&gt;core0&lt;/STRONG&gt;&lt;/U&gt; is &lt;STRONG&gt;always&lt;/STRONG&gt; ON and not put into sleep even if I use "echo mem &amp;gt; /sys/power/state". Is that right?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 11:00:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8m-low-power-mode-in-Linux/m-p/1304734#M176605</guid>
      <dc:creator>akbar123</dc:creator>
      <dc:date>2021-07-08T11:00:54Z</dc:date>
    </item>
    <item>
      <title>Re: imx8m low power mode in Linux</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx8m-low-power-mode-in-Linux/m-p/1304850#M176621</link>
      <description>&lt;DIV id="bodyDisplay_4" class="lia-message-body lia-component-message-view-widget-body lia-component-body-signature-highlight-escalation lia-component-message-view-widget-body-signature-highlight-escalation"&gt;
&lt;DIV class="lia-message-body-content"&gt;
&lt;P&gt;Hi asghar&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;gt; I guess CA &lt;U&gt;&lt;STRONG&gt;core0&lt;/STRONG&gt;&lt;/U&gt; is &lt;STRONG&gt;always&lt;/STRONG&gt; ON and not put into sleep even&lt;/P&gt;
&lt;P&gt;&amp;gt;if I use "echo mem &amp;gt; /sys/power/state". Is that right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;not, sorry.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Jul 2021 14:41:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx8m-low-power-mode-in-Linux/m-p/1304850#M176621</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2021-07-08T14:41:41Z</dc:date>
    </item>
  </channel>
</rss>

