]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: qcom: rpmh-rsc: write sleep/wake requests to TCS
authorLina Iyer <ilina@codeaurora.org>
Wed, 20 Jun 2018 13:27:02 +0000 (18:57 +0530)
committerAndy Gross <andy.gross@linaro.org>
Sat, 21 Jul 2018 18:32:49 +0000 (13:32 -0500)
commite475970df5db213f5a142bde657d8a678803a8db
treec489e03393e120ec205c9170966abfb1816e8a6a
parenta199e17df4296f5d17f4bba6ecdf7e136a621611
drivers: qcom: rpmh-rsc: write sleep/wake requests to TCS

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@codeaurora.org>
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
Reviewed-by: Evan Green <evgreen@chromium.org>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/soc/qcom/rpmh-internal.h
drivers/soc/qcom/rpmh-rsc.c