<?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: How to Resume from LPSR mode on imx7D sabre in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Resume-from-LPSR-mode-on-imx7D-sabre/m-p/595295#M89424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The voltages are definitely not configured for power-off mode, and the SABRE SD equivalent&amp;nbsp;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/board/freescale/mx7d_12x12_lpddr3_arm2/mx7d_12x12_lpddr3_arm2.c?h=imx_v2015.04_4.1.15_1.0.0_ga&amp;amp;id=47f82f3978cda0c1fd637adcd9e8aa070f616493#n846"&gt;of this patch for the mx7d_12x12_lpddr3_arm2 board&lt;/A&gt;&amp;nbsp;is necessary to enable power to remain on for some rails.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It appears that some other changes to U-Boot are also needed though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While trying to understand where DDR is taken out of self-refresh in LPSR mode, I ran across&amp;nbsp;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/commit/board/freescale/mx7d_12x12_lpddr3_arm2/plugin.S?h=imx_v2015.04_4.1.15_1.0.0_ga&amp;amp;id=47f82f3978cda0c1fd637adcd9e8aa070f616493"&gt;this patch for the mx7d_12x12_lpddr3_arm2 board&lt;/A&gt;. If I understand this correctly,&amp;nbsp;the LPSR resume process actually boots through the boot rom, which will load U-Boot and that U-Boot must be configured with a plugin that operates out of internal RAM by un-commenting&amp;nbsp;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/include/configs/mx7dsabresd.h?h=imx_v2015.04_4.1.15_1.0.0_ga#n24"&gt;this #define in the board's configuration header file&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Sep 2016 23:21:19 GMT</pubDate>
    <dc:creator>ericnelsonaz</dc:creator>
    <dc:date>2016-09-10T23:21:19Z</dc:date>
    <item>
      <title>How to Resume from LPSR mode on imx7D sabre</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Resume-from-LPSR-mode-on-imx7D-sabre/m-p/595288#M89417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="font-size: 14.666666666666666px; color: #222222; background-color: #ffffff; font-weight: 400; text-decoration: none;"&gt;Hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="font-size: 14.666666666666666px; color: #222222; background-color: #ffffff; font-weight: 400; text-decoration: none;"&gt;We’re working with a imx7D sabre board (EVK) and trying to test LPSR mode, but we’re not able to resume once the system enters the low power mode.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="font-size: 14.666666666666666px; color: #222222; background-color: #ffffff; font-weight: 400; text-decoration: none;"&gt;To enable LPSR, we modified the dts file per imx7d-12x12-lpddr3-arm2.dt (details below). Boot log shows message: LPSR mode enabled, DSM will go into LPSR mode!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="font-size: 14.666666666666666px; color: #222222; background-color: #ffffff; font-weight: 400; text-decoration: none;"&gt;We let the system enter LPSR mode via: “echo mem &amp;gt; /sys/power/state” &amp;nbsp;This results in power rails being disabled (except VSNVS and VLPSR).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="font-size: 14.666666666666666px; color: #222222; background-color: #ffffff; font-weight: 400; text-decoration: none;"&gt;However, once in LPSR mode, pressing the ON/OFF push button on the SABRE board results in the system cold booting (loading uboot and then OS) rather than resuming.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="font-size: 14.666666666666666px; color: #222222; background-color: #ffffff; font-weight: 400; text-decoration: none;"&gt;We're running the 4.1.15_ga_1.0.0 kernel and Yocto FS.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="font-size: 14.666666666666666px; color: #222222; background-color: #ffffff; font-weight: 400; text-decoration: none;"&gt;Did we miss something? Seems LPSR is supported on the arm2 board but I don't see any particular info on this configuration except the dts.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="font-size: 14.666666666666666px; color: #222222; background-color: #ffffff; font-weight: 400; text-decoration: none;"&gt;Thank you&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="font-size: 14.666666666666666px; color: #222222; background-color: #ffffff; font-weight: 400; text-decoration: none;"&gt;&lt;SPAN&gt;Changes applied to add support for lpsr are based on the following dts for the arm2 board: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fgit.freescale.com%2Fgit%2Fcgit.cgi%2Fimx%2Flinux-2.6-imx.git%2Ftree%2Farch%2Farm%2Fboot%2Fdts%2Fimx7d-12x12-lpddr3-arm2.dts%3Fh%3Dimx_4.1.15_1.0.0_ga" rel="nofollow" target="_blank"&gt;http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2.dts?h=imx_4.1.15_1.0.0_ga&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt;diff --git a/arch/arm/boot/dts/imx7d-sdb.dts b/arch/arm/boot/dts/imx7d-sdb.dts&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt;index 09089bb..ea2bc21 100644&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt;--- a/arch/arm/boot/dts/imx7d-sdb.dts&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt;+++ b/arch/arm/boot/dts/imx7d-sdb.dts&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt;@@ -296,13 +296,15 @@&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt; &amp;amp;i2c1 {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;clock-frequency = &amp;lt;100000&amp;gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt;- &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pinctrl-names = "default";&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt;+ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pinctrl-names = "default", "sleep";&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_i2c1&amp;gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt;+ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pinctrl-1 = &amp;lt;&amp;amp;pinctrl_i2c1&amp;gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;status = "okay";&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pmic: pfuze3000@08 {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&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;compatible = "fsl,pfuze3000";&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&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;reg = &amp;lt;0x08&amp;gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&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;fsl,lpsr-mode;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&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;regulators {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&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;sw1a_reg: sw1a {&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt;@@ -1008,6 +1009,10 @@&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;};&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt; };&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt;+&amp;amp;ocrams {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt;+ &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;fsl,enable-lpsr;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt;+};&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt;+&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt; &amp;amp;pcie {&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;pinctrl-names = "default";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #222222; background-color: #ffffff; font-weight: 400; font-size: 14.666666666666666px;"&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;reset-gpio = &amp;lt;&amp;amp;gpio_spi 1 GPIO_ACTIVE_LOW&amp;gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P style="margin-top: 0pt; margin-bottom: 0pt;"&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Sep 2016 22:11:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Resume-from-LPSR-mode-on-imx7D-sabre/m-p/595288#M89417</guid>
      <dc:creator>mooreaa</dc:creator>
      <dc:date>2016-09-06T22:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to Resume from LPSR mode on imx7D sabre</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Resume-from-LPSR-mode-on-imx7D-sabre/m-p/595289#M89418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aaron&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are right, &lt;SPAN style="font-size: 14.666666666666666px; color: #222222; background-color: #ffffff; font-weight: 400; text-decoration: none;"&gt;arm2 board &lt;/SPAN&gt;populated with lpddr3 while sdb with ddr3&lt;/P&gt;&lt;P&gt;and NVCC_DRAM which powers ddr3, is turned off in lpsr mode.&lt;/P&gt;&lt;P&gt;In &lt;SPAN style="font-size: 14.666666666666666px; color: #222222; background-color: #ffffff; font-weight: 400; text-decoration: none;"&gt;arm2 board lpddr3 has several ddr power lines (NVCC_DRAM, NVCC_DRAM_SW, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14.666666666666666px; color: #222222; background-color: #ffffff; font-weight: 400; text-decoration: none;"&gt;NVCC_1V8) which used differently.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Schematics (2)&lt;BR /&gt;Design files for i.MX 7Dual (REV D) &lt;BR /&gt;Design files, including hardware schematics, Gerbers, and OrCAD files for i.MX 7Dual (REV D)&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fproducts%2Fmicrocontrollers-and-processors%2Farm-processors%2Fi.mx-applications-processors%2Fi.mx-7-processors%2Fi.mx-7dual-processors-heterogeneous-processing-with-dual-arm-cortex-a7-cores-and-cortex-m4-core%3Ai.MX7D%3Ffpsp%3D1%26tab%3DDesign_Tools_Tab" rel="nofollow" target="_blank"&gt;http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-processors/i.mx-7-processors/i.mx-7dual-processors-heterogeneous-processing-with-dual-arm-cortex-a7-cores-and-cortex-m4-core:i.MX7D?fpsp=1&amp;amp;tab=Design_Tools_Tab&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>Wed, 07 Sep 2016 09:59:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Resume-from-LPSR-mode-on-imx7D-sabre/m-p/595289#M89418</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-09-07T09:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to Resume from LPSR mode on imx7D sabre</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Resume-from-LPSR-mode-on-imx7D-sabre/m-p/595290#M89419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Igor,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Do you know if there's a reason that the SABRE-SD doesn't have a configuration for use with LPSR?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The&amp;nbsp;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/commit/arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2.dts?h=imx_4.1.15_1.0.0_ga&amp;amp;id=2020f83de129723ff0ac19453338b8e3b9761c07"&gt;patch adding enable-lpsr to the ARM2 board&lt;/A&gt;&amp;nbsp;says the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 13.3333px;"&gt;&amp;nbsp; &amp;nbsp; Add property "fsl,enable-lpsr" to enable lpsr mode by default, when this property is set, DSM &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 13.3333px;"&gt;&amp;nbsp; &amp;nbsp; mode will go into LPSR mode. &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 13.3333px;"&gt;&amp;nbsp; &amp;nbsp; As many modules save/restore is NOT ready, to make tiny kernel enter/exit LPSR mode work, &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 13.3333px;"&gt;&amp;nbsp; &amp;nbsp; only enable those necessary modules for now. &lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;SPAN style="color: #333333; background-color: #ffffff; font-size: 13.3333px;"&gt;&amp;nbsp; &amp;nbsp; Other modules will be enabled after their drivers are ready to support LPSR mode.&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;We've tried cutting the device tree used for testing down to the minimal (UART + SD card), but see the same results, and it's not clear whether some updates are needed to U-Boot (to configure the PMIC), or whether there's something specific to the ARM2 in the kernel code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The comments above hint that perhaps Anson Huang knows the answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 21:56:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Resume-from-LPSR-mode-on-imx7D-sabre/m-p/595290#M89419</guid>
      <dc:creator>ericnelsonaz</dc:creator>
      <dc:date>2016-09-08T21:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to Resume from LPSR mode on imx7D sabre</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Resume-from-LPSR-mode-on-imx7D-sabre/m-p/595291#M89420</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;every board specification is defined my marketing,&lt;/P&gt;&lt;P&gt;I do not know reasons why one board implemented&lt;/P&gt;&lt;P&gt;some features and other not. SABRE-SD and ARM2&lt;/P&gt;&lt;P&gt;board have compeltely different ddr3 chips: one ddr3 another lpddr3.&lt;/P&gt;&lt;P&gt;Memory power design of these boards are quite different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Sep 2016 23:31:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Resume-from-LPSR-mode-on-imx7D-sabre/m-p/595291#M89420</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-09-08T23:31:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to Resume from LPSR mode on imx7D sabre</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Resume-from-LPSR-mode-on-imx7D-sabre/m-p/595292#M89421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Be careful Igor.&amp;nbsp;Anson may not like being called "marketing"!&amp;nbsp;:smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that the boards are different, but was hoping some guidance about this feature on the EVK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 00:16:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Resume-from-LPSR-mode-on-imx7D-sabre/m-p/595292#M89421</guid>
      <dc:creator>ericnelsonaz</dc:creator>
      <dc:date>2016-09-09T00:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to Resume from LPSR mode on imx7D sabre</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Resume-from-LPSR-mode-on-imx7D-sabre/m-p/595293#M89422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;According to lpddr3 jedec in self refresh mode power supply pins (VDD1, VDD2, &lt;BR /&gt;and VDDCA) must be at valid levels, while VDDQ may be turned off during Self-Refresh. &lt;BR /&gt;On ARM2 board NVCC_DRAM_SW power line is connected to processor &lt;BR /&gt;NVCC_DRAM and lpddr3 VDDQ and may be turned off during LPSR mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following&amp;nbsp; ddr3 jedec for self refresh operation, all power supply and reference pins&lt;BR /&gt;(VDD, VDDQ, VSS, VSSQ, VRefCA and VRefDQ) must be at valid levels. &lt;BR /&gt;(VrefDQ supply may be turned OFF). In i.MX7D Sabre SD processor &lt;BR /&gt;NVCC_DRAM connected to memory VDD, VDDQ lines. So putting processor&lt;BR /&gt;to LPSR mode (Table 5-4. Power Mode i.MX7 RM) turns off NVCC_DRAM and &lt;BR /&gt;powers off memory, loosing all data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 01:11:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Resume-from-LPSR-mode-on-imx7D-sabre/m-p/595293#M89422</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-09-09T01:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to Resume from LPSR mode on imx7D sabre</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Resume-from-LPSR-mode-on-imx7D-sabre/m-p/595294#M89423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Igor!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This was exactly the feedback we were hoping for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Sep 2016 01:16:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Resume-from-LPSR-mode-on-imx7D-sabre/m-p/595294#M89423</guid>
      <dc:creator>ericnelsonaz</dc:creator>
      <dc:date>2016-09-09T01:16:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to Resume from LPSR mode on imx7D sabre</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Resume-from-LPSR-mode-on-imx7D-sabre/m-p/595295#M89424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The voltages are definitely not configured for power-off mode, and the SABRE SD equivalent&amp;nbsp;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/board/freescale/mx7d_12x12_lpddr3_arm2/mx7d_12x12_lpddr3_arm2.c?h=imx_v2015.04_4.1.15_1.0.0_ga&amp;amp;id=47f82f3978cda0c1fd637adcd9e8aa070f616493#n846"&gt;of this patch for the mx7d_12x12_lpddr3_arm2 board&lt;/A&gt;&amp;nbsp;is necessary to enable power to remain on for some rails.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;It appears that some other changes to U-Boot are also needed though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While trying to understand where DDR is taken out of self-refresh in LPSR mode, I ran across&amp;nbsp;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/commit/board/freescale/mx7d_12x12_lpddr3_arm2/plugin.S?h=imx_v2015.04_4.1.15_1.0.0_ga&amp;amp;id=47f82f3978cda0c1fd637adcd9e8aa070f616493"&gt;this patch for the mx7d_12x12_lpddr3_arm2 board&lt;/A&gt;. If I understand this correctly,&amp;nbsp;the LPSR resume process actually boots through the boot rom, which will load U-Boot and that U-Boot must be configured with a plugin that operates out of internal RAM by un-commenting&amp;nbsp;&lt;A href="http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/include/configs/mx7dsabresd.h?h=imx_v2015.04_4.1.15_1.0.0_ga#n24"&gt;this #define in the board's configuration header file&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Sep 2016 23:21:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Resume-from-LPSR-mode-on-imx7D-sabre/m-p/595295#M89424</guid>
      <dc:creator>ericnelsonaz</dc:creator>
      <dc:date>2016-09-10T23:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to Resume from LPSR mode on imx7D sabre</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-Resume-from-LPSR-mode-on-imx7D-sabre/m-p/595296#M89425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;agree, linux saves lpsr return address in IOMUXC_LPSR_GPR_IOMUXC_LPSR_GPR0&lt;BR /&gt;(#0x30270000) and plugin checks whether it is a valid LPSR resume address and if !=0 , puts &lt;BR /&gt;DDR out of self-refresh and jumps there&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fgit.freescale.com%2Fgit%2Fcgit.cgi%2Fimx%2Fuboot-imx.git%2Ftree%2Fboard%2Ffreescale%2Fmx7d_12x12_lpddr3_arm2%2Fplugin.S%3Fh%3Dimx_v2015.04_4.1.15_1.0.0_ga" rel="nofollow" target="_blank"&gt;http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/board/freescale/mx7d_12x12_lpddr3_arm2/plugin.S?h=imx_v2015.04_4.1.15_1.0.0_ga&lt;/A&gt;&lt;BR /&gt;..&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;/* jump to kernel resume */&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ldr&amp;nbsp;&amp;nbsp; &amp;nbsp;r1, =0x30270000&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;ldr&amp;nbsp;&amp;nbsp; &amp;nbsp;r7, [r1]&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;mov&amp;nbsp;&amp;nbsp; &amp;nbsp;pc, r7&lt;BR /&gt;kernel sets it in imx7_pm_set_lpsr_resume_addr(), pm-imx7.c&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fgit.freescale.com%2Fgit%2Fcgit.cgi%2Fimx%2Flinux-2.6-imx.git%2Ftree%2Farch%2Farm%2Fmach-imx%2Fpm-imx7.c%3Fh%3Dimx_4.1.15_1.0.0_ga" rel="nofollow" target="_blank"&gt;http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/tree/arch/arm/mach-imx/pm-imx7.c?h=imx_4.1.15_1.0.0_ga&lt;/A&gt;&lt;BR /&gt;lpsr power design is given in RM :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/5026i83DE4F1C3A9401E2/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.jpg" alt="pastedImage_1.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 11 Sep 2016 14:16:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-Resume-from-LPSR-mode-on-imx7D-sabre/m-p/595296#M89425</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2016-09-11T14:16:07Z</dc:date>
    </item>
  </channel>
</rss>

