diff options
author | Filip Drazic <filip.drazic@aggios.com> | 2016-07-26 12:11:33 +0200 |
---|---|---|
committer | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2016-09-13 09:19:03 -0700 |
commit | b516b7dc5dfeaf14f452f608ce9014c79153ce59 (patch) | |
tree | 1bdd5ff37fc03683e00b7a95b3b04bf7302fda30 /lib/psci/psci_stat.c | |
parent | 6aa4c533b815df625f960eb58c44e98d667e91ab (diff) |
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: Filip Drazic <filip.drazic@aggios.com>
Diffstat (limited to 'lib/psci/psci_stat.c')
0 files changed, 0 insertions, 0 deletions