<?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: DDR Suspend mode in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/DDR-Suspend-mode/m-p/1628622#M203787</link>
    <description>&lt;P&gt;From code layer, the DDR&amp;nbsp;&lt;SPAN&gt;self refresh mode&lt;/SPAN&gt; is realized by below code in ATF.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-imx/imx-atf/blob/lf_v2.6/plat/imx/imx8m/ddr/dram_retention.c" target="_blank"&gt;https://github.com/nxp-imx/imx-atf/blob/lf_v2.6/plat/imx/imx8m/ddr/dram_retention.c&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You can refer the code design.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;void self_refresh_enter()
{
	mmio_setbits_32(DDR_SDRAM_CFG_2, BIT(31));
}

void self_refresh_exit()
{
	mmio_clrbits_32(DDR_SDRAM_CFG_2,BIT(31));
}
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Apr 2023 02:40:13 GMT</pubDate>
    <dc:creator>Zhiming_Liu</dc:creator>
    <dc:date>2023-04-06T02:40:13Z</dc:date>
    <item>
      <title>DDR Suspend mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-Suspend-mode/m-p/1628057#M203748</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I want to figure out how imx8m low power management is done in DDR during a power glitch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. How to command the scu to put DDR to self refresh mode from one of A53.&lt;/P&gt;&lt;P&gt;2. Once DDR is in self refresh mode, will A53 crash if so how to we send command to scu to run DDR in normal mode once good power signal is receivd.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2023 06:09:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-Suspend-mode/m-p/1628057#M203748</guid>
      <dc:creator>Lakshmi_AG</dc:creator>
      <dc:date>2023-04-05T06:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: DDR Suspend mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-Suspend-mode/m-p/1628622#M203787</link>
      <description>&lt;P&gt;From code layer, the DDR&amp;nbsp;&lt;SPAN&gt;self refresh mode&lt;/SPAN&gt; is realized by below code in ATF.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/nxp-imx/imx-atf/blob/lf_v2.6/plat/imx/imx8m/ddr/dram_retention.c" target="_blank"&gt;https://github.com/nxp-imx/imx-atf/blob/lf_v2.6/plat/imx/imx8m/ddr/dram_retention.c&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;You can refer the code design.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;void self_refresh_enter()
{
	mmio_setbits_32(DDR_SDRAM_CFG_2, BIT(31));
}

void self_refresh_exit()
{
	mmio_clrbits_32(DDR_SDRAM_CFG_2,BIT(31));
}
&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 02:40:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-Suspend-mode/m-p/1628622#M203787</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2023-04-06T02:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: DDR Suspend mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-Suspend-mode/m-p/1628811#M203806</link>
      <description>&lt;P&gt;Thank you for the quick response.&lt;/P&gt;&lt;P&gt;To my second question,&lt;/P&gt;&lt;P&gt;We are trying to put all cores to suspend and DDR to self refresh mode, so my question in once we put all cores to suspend mode by sending command to SCFW, how to drive DDR to self-refresh mode, can we do same from SCFW or any other approach.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 06:56:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-Suspend-mode/m-p/1628811#M203806</guid>
      <dc:creator>Lakshmi_AG</dc:creator>
      <dc:date>2023-04-06T06:56:36Z</dc:date>
    </item>
    <item>
      <title>Re: DDR Suspend mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-Suspend-mode/m-p/1629412#M203854</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/215301"&gt;@Lakshmi_AG&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Which board you are using? From the first description , you are using i.MX8M. But this board doesn't support SCFW. The SCFW is used by i.MX8QM/QXP.&lt;/P&gt;
&lt;P&gt;BR&lt;/P&gt;
&lt;P&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Fri, 07 Apr 2023 01:25:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-Suspend-mode/m-p/1629412#M203854</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2023-04-07T01:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: DDR Suspend mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-Suspend-mode/m-p/1629447#M203858</link>
      <description>imx8qm</description>
      <pubDate>Fri, 07 Apr 2023 02:59:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-Suspend-mode/m-p/1629447#M203858</guid>
      <dc:creator>Lakshmi_AG</dc:creator>
      <dc:date>2023-04-07T02:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: DDR Suspend mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-Suspend-mode/m-p/1631995#M204063</link>
      <description>&lt;P&gt;Still waiting for the response:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are trying to put all cores(A53) to suspend and DDR to self refresh mode, so my question in once we put all cores to suspend mode by sending command to SCFW, how to drive DDR to self-refresh mode, can we do same from SCFW or any other approach.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And since A53 is in suspend, how to resume to normal on GIC.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 09:27:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-Suspend-mode/m-p/1631995#M204063</guid>
      <dc:creator>Lakshmi_AG</dc:creator>
      <dc:date>2023-04-12T09:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: DDR Suspend mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/DDR-Suspend-mode/m-p/1632748#M204112</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;Interrupts from each subsystem are mapped on both GIC and interrupt steer and have the&lt;BR /&gt;same index starting at 32. &lt;/SPAN&gt; &lt;/P&gt;
&lt;P&gt;&lt;SPAN class="fontstyle0"&gt;Interrupt Steer is used to route interrupts to the two M4 subsystems and the SCU. GIC500 is used to&amp;nbsp;route interrupts to A53 and A72&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Qmiller_2-1681355623563.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/219021i9CB8DE169348E08A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Qmiller_2-1681355623563.png" alt="Qmiller_2-1681355623563.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;how to drive DDR to self-refresh mode&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;--&amp;gt; Please refer these API in&amp;nbsp; sc_fw_port.pdf&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Qmiller_3-1681358686185.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/219025i7AB2D88D13DF917A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Qmiller_3-1681358686185.png" alt="Qmiller_3-1681358686185.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And since A53 is in suspend, how to resume to normal on GIC.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;-&amp;gt; You can refer&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;imx_domain_suspend_finish function&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Apr 2023 04:05:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/DDR-Suspend-mode/m-p/1632748#M204112</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2023-04-13T04:05:09Z</dc:date>
    </item>
  </channel>
</rss>

