This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

system idle vs device idle

Guru 20755 points

Hello,

When the system is idle mode (using cpuidle) , does it mean that all devices are also get into idle in terms of PM (power-management) or is it that each device is responsible for its own idle/sleep mode ?
If each device is responsible for its own, than is the meaning of idle system (cpuidle) ?

What is the different between idle/sleep/resume mode ?

Thanks,
Ran

  • Hi Ran,

    CPUIdle PM framework would run into power down mode when CPU don't have thread/work to process.

    CPUIdle / CPUFreq -> PM frameworks (automated)

    It has some governors to control, like userspace, performance,conservative etc.,

    suspend/resume -> These functions are used in platform drivers and these function will be called when we initiate PM manually like "echo "mem" /sys/power/state"

    These are the generic to linux.

    If you want PM to be device specific then you should check your appropriate TRM guide ie Power Management.

    Ex:

    USB PHY shutdown

    Ethernet PHY shutdown

    Module clock OFF

    PLL bypass

    DDR self refresh mode

    DEEPSLEEP mode

    etc.,