diff options
author | 2023-08-07 20:14:32 +0800 | |
---|---|---|
committer | 2023-08-11 22:14:10 +0800 | |
commit | c081197a33a2813881b534c44666024c97fb025d (patch) | |
tree | 89e83b4a70546a5d8c301eaaf549603e5a643330 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | firmware: imx: scu-irq: enlarge the IMX_SC_IRQ_NUM_GROUP (diff) | |
download | wireguard-linux-c081197a33a2813881b534c44666024c97fb025d.tar.xz wireguard-linux-c081197a33a2813881b534c44666024c97fb025d.zip |
firmware: imx: scu-irq: support identifying SCU wakeup source from sysfs
Record SCU wakeup interrupt in /sys/power/pm_wakeup_irq
The user can further identify the exact wakeup source by using the
following interface:
cat /sys/firmware/scu_wakeup_source/wakeup_src
The above will print the wake groups and the irqs that could have
contributed to waking up the kernel. For example if ON/OFF button was the
wakeup source:
cat /sys/firmware/scu_wakeup_source/wakeup_src
Wakeup source group = 3, irq = 0x1
The user can refer to the SCFW API documentation to identify all the
wake groups and irqs.
Signed-off-by: Ranjani Vaidyanathan <ranjani.vaidyanathan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions