Searched hist:b516b7dc5dfeaf14f452f608ce9014c79153ce59 (Results 1 – 1 of 1) sorted by relevance
| /rk3399_ARM-atf/plat/xilinx/zynqmp/pm_service/ |
| H A D | pm_client.c | b516b7dc5dfeaf14f452f608ce9014c79153ce59 Tue Jul 26 10:11:33 UTC 2016 Filip Drazic <filip.drazic@aggios.com> 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>
|