Skip to content
Commit cfb1ae4e authored by Yongxu Wang's avatar Yongxu Wang Committed by Benjamin Cabé
Browse files

soc: nxp: imx95: set and restore wakeup irq mask in pm context



The CMC interface controls the entry and exit of the
CPU's low-power mode and the identification of the wake-up source.
To ensure the normal operation of the system's low-power timing sequence,
when transfer IDLE_RUN to IDLE_SLEEP, it is necessary to ensure
that the system is not awakened by the wake-up source during this stage.
Therefore, an IRQ MASK needs to be set on the CMC

Before the CPU enters the low power mode, a wake up mask needs to be set
according to the situation where the interrupt controller is enabled
at that time.
After the cpu exits the low power mode, resume needs to be performed

Signed-off-by: default avatarYongxu Wang <yongxu.wang@nxp.com>
parent f94b3b9e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment