-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Mastering Embedded Linux Development
By :

The discussion up to now has been about CPUs and how to reduce power consumption when they are running or idling. Now it is time to focus on other parts of the system and see whether we can achieve power savings here.
In the Linux kernel, this is managed by the runtime power management system, or runtime pm for short. It works with drivers that support runtime pm by shutting down those that are not in use and waking them again when they are next needed.
It is dynamic and should be transparent to user space. It is up to the device driver to decide how to power down the hardware. Typically, runtime pm includes turning off the clock to the subsystem, also known as clock gating, and turning off core circuitry where possible.
Runtime power management is exposed via a sysfs
interface. Each device has a subdirectory named power
where you will find these files:
control
: This allows user space to determine whether runtime pm is used on this...