Re: [PATCH v4 05/10] drivers: qcom: rpmh-rsc: write sleep/wake requests to TCS

From: Evan Green
Date: Fri Mar 16 2018 - 20:36:42 EST


On Fri, Mar 9, 2018 at 3:27 PM Lina Iyer <ilina@xxxxxxxxxxxxxx> wrote:

> Sleep and wake requests are sent when the application processor
> subsystem of the SoC is entering deep sleep states like in suspend.
> These requests help lower the system power requirements when the
> resources are not in use.

> Sleep and wake requests are written to the TCS slots but are not
> triggered at the time of writing. The TCS are triggered by the firmware
> after the last of the CPUs has executed its WFI. Since these requests
> may come in different batches of requests, it is the job of this
> controller driver to find and arrange the requests into the available
> TCSes.

> Signed-off-by: Lina Iyer <ilina@xxxxxxxxxxxxxx>
> ---
> drivers/soc/qcom/rpmh-internal.h | 9 ++-
> drivers/soc/qcom/rpmh-rsc.c | 120
+++++++++++++++++++++++++++++++++++++++
> 2 files changed, 128 insertions(+), 1 deletion(-)


Reviewed-by: Evan Green <evgreen@xxxxxxxxxxxx>