]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
pmdomain: ti-sci: set the GENPD_FLAG_ACTIVE_WAKEUP flag for all PM domains
authorThomas Richard <thomas.richard@bootlin.com>
Tue, 22 Oct 2024 08:23:36 +0000 (10:23 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 30 Oct 2024 16:14:00 +0000 (17:14 +0100)
commit15d392281d0649e6e62427bd368159ceb4ce4334
tree5ad1fcfe60d229a93e4ed9b39df85a7727d78818
parentc2114a0d17631497df99388905353c11f4d5f0dd
pmdomain: ti-sci: set the GENPD_FLAG_ACTIVE_WAKEUP flag for all PM domains

With this flag, if a device is marked on the wakeup path, the corresponding
PM domain is kept powered on.

This commit fixes the no_console_suspend support for some TI platforms
(tested on J7200). In case of no_console_suspend the serial core marks the
device on the wakeup path, but without this patch the power domain is
powered off anyway.

Suggested-by: Théo Lebrun <theo.lebrun@bootlin.com>
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Reviewed-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20241022-8250-omap-no-console-suspend-v2-1-cc3d102b8a1e@bootlin.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/pmdomain/ti/ti_sci_pm_domains.c