]> www.infradead.org Git - users/jedix/linux-maple.git/commit
pmdomain: ti_sci: add wakeup constraint management
authorKevin Hilman <khilman@baylibre.com>
Fri, 6 Dec 2024 22:12:51 +0000 (14:12 -0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 10 Dec 2024 11:37:26 +0000 (12:37 +0100)
commit9d8aa0dd3be4099019ce258c1635062aaf56b737
tree33d4bc9e3266f2b017148aa61b46d354efa543d8
parentb5fc9453651d0aacaf412ae636d1960bd6a4a3d7
pmdomain: ti_sci: add wakeup constraint management

During system-wide suspend, check all devices connected to PM domain
to see if they are wakeup-enabled.  If so, set a TI SCI device
constraint.

Note: DM firmware clears all constraints on resume.

Co-developed-by: Vibhore Vardhan <vibhore@ti.com>
Signed-off-by: Vibhore Vardhan <vibhore@ti.com>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Dhruva Gole <d-gole@ti.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Message-ID: <20241206-lpm-v6-10-constraints-pmdomain-v6-2-833980158c68@baylibre.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/pmdomain/ti/ti_sci_pm_domains.c