Re: Re: [PATCH 2/2] soc: s4: Add support for power domains controller

From: Kevin Hilman
Date: Fri Feb 11 2022 - 13:52:46 EST


Hi Shunzhou,

"shunzhou.jiang@xxxxxxxxxxx" <shunzhou.jiang@xxxxxxxxxxx> writes:

> Hi Kevin:
> Thanks your kindly reply

You're welcome. For future reference, please avoid top-posting. See:
https://www.kernel.org/doc/html/latest/process/2.Process.html?highlight=top-posting#mailing-lists

> For those domains, default is active, we hope not close when in use or not in use, in our case,
> only runtime PM (include suspend) control this, so set always on flag to avoid domain shutdown,

my question remains: why do want to keep these powered on even when they
are not in use?

The goal of the power-domain framework + runtime PM is to be able to
save power by turnin off power domains when they are not in use.

> if you also have concern, we can control this not in kernel, but this not our expect.

My strong preference is that this is controlled by the kernel.

Kevin