pmdomain: raspberrypi-power: set flag GENPD_FLAG_ACTIVE_WAKEUP
authorStefan Wahren <wahrenst@gmx.net>
Sun, 28 Jul 2024 11:41:49 +0000 (13:41 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 14 Aug 2024 12:22:39 +0000 (14:22 +0200)
commit562cdeadac06176b3a99bd457d9463a3b58df60f
tree0e1fa654821820e301a77fb9cd646d8f57120d8b
parenteb3896ea9e2829c8c3aa2e86d3f90765b06a41c6
pmdomain: raspberrypi-power: set flag GENPD_FLAG_ACTIVE_WAKEUP

Set flag GENPD_FLAG_ACTIVE_WAKEUP to rpi_power genpd, then when a device
is set as wakeup source using device_set_wakeup_enable, the power
domain could be kept on to make sure the device could wakeup the system.

Signed-off-by: Stefan Wahren <wahrenst@gmx.net>
Link: https://lore.kernel.org/r/20240728114200.75559-6-wahrenst@gmx.net
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/pmdomain/bcm/raspberrypi-power.c