Skip to content
Commit b516b7dc authored by Filip Drazic's avatar Filip Drazic Committed by Soren Brinkmann
Browse files

zynqmp: pm: Call set_wakeup_source for all wake devices on sys-suspend



During system suspend, identify slaves which are configured
as wake sources and call pm_set_wakeup_source API for each of them.

Identifying if device may wake the system is done by checking if any
interrupt of that device is enabled in GICD_ISENABLER when the APU is
about to enter SUSPEND_TO_RAM state. If such interrupt is found,
pm_set_wakeup_source is called with corresponding PM node ID as
argument.

Signed-off-by: default avatarFilip Drazic <filip.drazic@aggios.com>
parent 6aa4c533
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment