Monday, March 20, 2023

Linux Suspend to RAM on TI's AM62x SOC


Last time I tried hitting suspend to RAM with lowest possible power consumption was on OMAP3 - Beagleboard XM :). I was very happy to see this demo from one of my teammate, the video demonstrates the AM62x EVM going into complete suspend - implies all the device drivers have successfully completed suspend to RAM and the power numbers drop. The device then comes up on resume without any crash as expected :).

The patches and these features are now available with Processors SDK version 8.6 . I hereby request all the SOM manufacturers and development board manufacturers to enable this feature in their software and make it available to end customers.

The upstream effort on power management is also in progress, recently Dhruva has hosted a public repo after rebasing the 5.10 patches on upstream 6.x kernel. hereDevelopers can test individual drivers based on this branch after applying their suspend resume patches and if necessary any DT changes. 

Note: This has lpmdemo enabled by default in sk dt so there isn't any lpm DT for upstream Linux.

The patches can also be reviewed here:
https://lore.kernel.org/linux-arm-kernel/20221128140522.49474-1-g-vlaev@ti.com/

The deep sleep core power consumption that we were able hit was as per spec : 7.7mW, the demo video shows HDMI, CSI Camera and many other drivers going into suspend mode and resuming back.

The steps to validate suspend to RAM is documented in the SDK user manual here, the software supports resume from RTC timer and USB.

The technical white paper on AM62x SOC power consumption is here

Thanks to Vibhore and Dhruva for the content and video.

No comments:

Post a Comment