Re: [RFC PATCH] power-management elements for 603e/fsl
From: Paul Mackerras <hidden>
Date: 2007-03-19 00:34:57
Guennadi Liakhovetski writes:
As some of you would know, it is not a real suspend-to-RAM, since kurobox' hardware doesn't support powering down CPU and peripherals while keeping RAM in self-refresh. So, this patch just sends the SoC and the CPU to SLEEP. It also needs some extra patches for timer suspend / resume, so,
The early powerbooks also put the CPU into sleep mode, rather than powering it off, so I think you can say that what you are doing is suspend to RAM, as long as it manages to reduce power consumption substantially, and you have a way to wake it up (e.g. via a keypress or a LAN packet).
this alone will not work properly. Besides, I am not where to put and how to call these functions. So far I put them in fsl namespace as that'll, probably, be similar among Freescale chips? Maybe it's better to call this mode standby, not str?
What you have done looks OK to me. If we need to move things around later, that can be done easily enough. Paul.