diff options
author | Ranjani Vaidyanathan <ranjani.vaidyanathan@nxp.com> | 2021-10-06 11:54:26 -0500 |
---|---|---|
committer | Philippe Schenker <philippe.schenker@toradex.com> | 2022-05-18 16:41:20 +0200 |
commit | 16dca2c7b2822eb3e0bec15e6a16a7d2ba434395 (patch) | |
tree | ec56605fe1047a2b2e25f7be376c388026471ff3 /drivers/base | |
parent | f04bac0476413576c8f5047c74325ecd7fd05b7a (diff) |
MLK-25649-1 firmware: imx: imx-scu-irq: Add support for 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>
(cherry picked from commit d49daabfb43eddf94144560fc2eef58015311454)
(cherry picked from commit fed9f95ad512fd4b4cca7c8bfd08a78ddcaebeb9)
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions