Samsung / TizenRT

TizenRT is a lightweight RTOS-based platform to support low-end IoT devices
Apache License 2.0
561 stars 560 forks source link

os/pm: Add PM Process & LCD Dimming #6235

Open gSahitya-samsung opened 3 weeks ago

gSahitya-samsung commented 3 weeks ago

This commit add pm process for state transition. It limit the idle thread to only make board sleep, while other pm state transition is done by software timer which follow pm_process. The pm_suspend and pm_resume will now suspend / resume pm_process, to work in coordination with the PM software timer. This commit also add the functionality of LCD dimming and it is done with pm_changestate. The pm software timer is auto suspending, it means they stop the pm transition whenever low power saving state transition not needed.