<span class="Apple-style-span" style="font-family: &#39;Times New Roman&#39;; font-size: 14px; border-collapse: collapse; "><pre style="white-space: pre-wrap; word-wrap: break-word; ">&quot;fsl,mpc8349-pmc&quot; has .has_deep_sleep = 0, deep_sleeping=0 so the mem should not do anything and just do a standby.</pre>
<pre style="white-space: pre-wrap; word-wrap: break-word; ">I am not sure if mem is a valid state in that case under /sys/power/state. </pre><pre style="white-space: pre-wrap; word-wrap: break-word; ">Scott, u can fix it!</pre>
<pre style="white-space: pre-wrap; word-wrap: break-word; ">-mj</pre></span><br><div class="gmail_quote">On Mon, Mar 23, 2009 at 11:15 AM, Li Yang-R58472 <span dir="ltr">&lt;<a href="mailto:LeoLi@freescale.com">LeoLi@freescale.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">&gt; -----Original Message-----<br>
&gt; From: Wood Scott-B07421<br>
</div><div class="im">&gt; Sent: Friday, March 20, 2009 10:42 PM<br>
&gt; To: Li Yang-R58472<br>
&gt; Cc: Soohyung Cho; <a href="mailto:linuxppc-dev@ozlabs.org">linuxppc-dev@ozlabs.org</a><br>
&gt; Subject: Re: suspend-to-mem on the mpc8349e-mitx-gp?<br>
&gt;<br>
</div><div class="im">&gt; Li Yang-R58472 wrote:<br>
&gt; &gt;&gt; However, the code should treat &quot;mem&quot; as &quot;standby&quot; on chips<br>
&gt; that don&#39;t<br>
&gt; &gt;&gt; support deep sleep.  What does the device tree<br>
&gt; &gt;<br>
&gt; &gt; Well, shouldn&#39;t the valid() callback reject unsupported<br>
&gt; states instead<br>
&gt; &gt; of covering up?<br>
&gt;<br>
&gt; I don&#39;t think so, in this case.  The user is not asking for<br>
&gt; &quot;sleep&quot; or deep sleep&quot;; they are asking for a power state<br>
&gt; that meets the definition of &quot;standby&quot; (which sleep does) or<br>
&gt; which meets the definition of &quot;mem&quot;<br>
&gt; (which both sleep and deep sleep do).  When the user asks for<br>
&gt; &quot;mem&quot;, we provide the lowest power mode that qualifies.<br>
<br>
</div>In my understanding, &quot;mem&quot; which is suspend-to-ram means all CPU states and registers are kept in memory and the CPU is completely off during suspension.  I don&#39;t think the sleep mode of 8349 qualifies, does it?<br>

<br>
- Leo<br>
<div><div></div><div class="h5">_______________________________________________<br>
Linuxppc-dev mailing list<br>
<a href="mailto:Linuxppc-dev@ozlabs.org">Linuxppc-dev@ozlabs.org</a><br>
<a href="https://ozlabs.org/mailman/listinfo/linuxppc-dev" target="_blank">https://ozlabs.org/mailman/listinfo/linuxppc-dev</a><br>
</div></div></blockquote></div><br>