<?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: Power off i.MX6 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Power-off-i-MX6/m-p/275554#M30548</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"The system hangs when writing bits" usually means "Clock to domain *FOO* aren't enabled" . Try checking the clock please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Feb 2014 02:56:34 GMT</pubDate>
    <dc:creator>MarekVasut</dc:creator>
    <dc:date>2014-02-05T02:56:34Z</dc:date>
    <item>
      <title>Power off i.MX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Power-off-i-MX6/m-p/275553#M30547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have developed a custom board with i.MX6DL and MMPF0100 PMIC running android 4.2. We have problems powering off the board from SW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have followed the instructions in:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;* &lt;/SPAN&gt;&lt;A class="jive-link-message-small" data-containerid="2004" data-containertype="14" data-objectid="369704" data-objecttype="2" href="https://community.freescale.com/message/369704#369704"&gt;https://community.freescale.com/message/369704#369704&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;* &lt;/SPAN&gt;&lt;A class="jive-link-wiki-small" data-containerid="2004" data-containertype="14" data-objectid="97660" data-objecttype="102" href="https://community.freescale.com/docs/DOC-97660"&gt;https://community.freescale.com/docs/DOC-97660&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;* &lt;/SPAN&gt;&lt;A class="" data-containerid="-1" data-containertype="-1" data-objectid="266974" data-objecttype="13" href="https://community.freescale.com/servlet/JiveServlet/download/97660-1-266974/1256-ENGR00178629-i.MX6-sabresd-support-software-power-of.patch.txt.zip"&gt;https://community.freescale.com/servlet/JiveServlet/download/97660-1-266974/1256-ENGR00178629-i.MX6-sabresd-support-software-power-of.patch.txt.zip&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Result:&lt;/P&gt;&lt;P&gt;&amp;nbsp; - The function pm_power_off is assigned in board file (pm_power_off = mx6_snvs_poweroff;)&lt;/P&gt;&lt;P&gt;&amp;nbsp; - The function mx6_snvs_poweroff writes bits TOP &amp;amp; DP_EN to register SNVS_LPCR.&lt;/P&gt;&lt;P&gt;&amp;nbsp; - We have verified that mx6_snvs_poweroff is called when powering off from android GUI (long press power button and accept the popup box).&lt;/P&gt;&lt;P&gt;&amp;nbsp; - The systems hangs when writing bits TOP &amp;amp; DP_EN to register SNVS_LPCR.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following have also been tried:&lt;/P&gt;&lt;P&gt;* Calling linux command 'reboot' from adb shell with various flags including -p. &lt;/P&gt;&lt;P&gt;&amp;nbsp; Result: Hangs the system (seems to call pm_power_off)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* Calling busybox poweroff.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Result: Nothing happens&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;* Power off by calling the 'reboot' system call from a c program (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://man7.org/linux/man-pages/man2/reboot.2.html"&gt;http://man7.org/linux/man-pages/man2/reboot.2.html&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Result: Hangs the system&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;* Enter PMIC 'OFF' state by setting:&lt;/P&gt;&lt;P&gt;&amp;nbsp; - All SWxOMODE bits=0&lt;/P&gt;&lt;P&gt;&amp;nbsp; - PWRON_CFG = 0&lt;/P&gt;&lt;P&gt;&amp;nbsp; - PWRONRSTEN = 1&lt;/P&gt;&lt;P&gt;&amp;nbsp; - Finally trigger PWRON by setting various bit combinations in WDOGx_WCR.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Result: Hangs the system (or in some cases =&amp;gt; reboots the system).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any input is appreciated!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 11:10:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Power-off-i-MX6/m-p/275553#M30547</guid>
      <dc:creator>danielmattsson</dc:creator>
      <dc:date>2014-02-04T11:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: Power off i.MX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Power-off-i-MX6/m-p/275554#M30548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;"The system hangs when writing bits" usually means "Clock to domain *FOO* aren't enabled" . Try checking the clock please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Feb 2014 02:56:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Power-off-i-MX6/m-p/275554#M30548</guid>
      <dc:creator>MarekVasut</dc:creator>
      <dc:date>2014-02-05T02:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Power off i.MX6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Power-off-i-MX6/m-p/275555#M30549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have done some further investigations and it looks like it was a HW problem, but thanks for your input.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 06:44:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Power-off-i-MX6/m-p/275555#M30549</guid>
      <dc:creator>danielmattsson</dc:creator>
      <dc:date>2014-02-07T06:44:36Z</dc:date>
    </item>
  </channel>
</rss>

