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.

Do i need to build the drivers in linux in order to put the peripherals to sleep?

Other Parts Discussed in Thread: OMAP-L138

For example, I am using an OMAP-L138, if I want to disable the SATA and the USB, do I have to build driver in the linux kernel support for SATA and USB in order to put them in a suspend/sleep state? 

Would not building in the drivers in the kernel for these devices just disable these devices and enable the lowest power consumption for my OMAP already?

  • Carson,

    If I understand you right:

    1. You don't want to build/use SATA and USB drivers in your kernel image.
    2. You want to know if the system would hit low power states once these drivers are excluded.

    If yes:

    You can safely remove these drivers from your kernel via make menuconfig - or manually by editing .config based on your comfort level.

    When these drivers are not built, i would expect the reference count for the clocks corresponding to these IPs to remain at "0". This would/should indicate to the PM components that they are not in use - and should be put in low power state.

    I am not familiar with OMAP-L138, but expect the kernel to behave as described above.

    If you don't observe this behavior, do let us know...

    If i haven't understood the question, can you try adding more details?

  • Thanks! You've understood me right. Thanks for your answer.