Re: [PATCH 2/2] ARM: dts: rockchip: correct regulator PM properties

From: Heiko Stuebner
Date: Thu Aug 27 2015 - 16:51:36 EST


Am Donnerstag, 27. August 2015, 12:30:51 schrieb Doug Anderson:
> Hi,
>
> On Tue, Aug 18, 2015 at 11:19 PM, Heiko Stuebner <heiko@xxxxxxxxx> wrote:
> > great, just take into account the deep vs. shallow suspend modes :-)
>
> One note: do you think it would make sense to re-implement shallow
> suspend as "standby"? I had a proof of concept doing that in
> <https://chromium-review.googlesource.com/#/c/275123/>. One nice
> advantage is that you "magically" get a second set of regulator states
> for standby vs "mem".

Somewhere I've read something about keeping wifi associated to an ap during
suspend which might be a candidate for such a distinction?


> If I understand correctly, the distinction between "standby" and "mem"
> is not too clearly defined, so if we wanted to use it for this it
> wouldn't be terrible?

>From reading Documentation/power/states.txt it looks like the boot-cpu is
supposed to retain power in the suspend state. Although we also do not lose
"operating state" in our suspend I guess?

So using the shallow suspend as standby sounds interesting, for the time when
the deep suspend works too. If there is only one suspend state it
automatically becomes the "mem"-state it seems.


Heiko
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/