Hello maumont adrien,
Please refer to the following Kernel configuration for Power Management.
Kernel Configuration:
Power management options -->
[*] Suspend to RAM and standby
Device Drivers --->
SOC (System On Chip) specific Drivers --->
[*] Layerscape Soc Drivers
[*] FTM alarm driver
CPU Power Management --->
CPU Idle --->
[*] CPU idle PM support
[*] Ladder governor (for periodic timer tick)
-*- Menu governor (for tickless system)
ARM CPU Idle Drivers --->
[*] Generic ARM/ARM64 CPU idle Driver
After boot up Linux Kernel, sleep and wake up by FTM timer
/* Start a FTM timer. It will trigger an interrupt to wake up the system in 5 seconds. */
$ echo 5 > /sys/devices/platform/soc/29d0000.ftm0/ftm_alarm && echo mem > /sys/power/state
Have a great day,
TIC
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------