CONFIG_DEVICE_POWER_MANAGEMENT

Device power management

Type: bool

Help

This option enables the device power management interface. The interface consists of hook functions implemented by device drivers that get called by the power manager application when the system is going to suspend state or resuming from suspend state. This allows device drivers to do any necessary power management operations like turning off device clocks and peripherals. The device drivers may also save and restore states in these hook functions.

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At kernel/Kconfig.power_mgmt:48

Included via Kconfig:10Kconfig.zephyr:31kernel/Kconfig:760

Menu path: (top menu) → General Kernel Options

config DEVICE_POWER_MANAGEMENT
    bool
    prompt "Device power management"
    help
      This option enables the device power management interface.  The
      interface consists of hook functions implemented by device drivers
      that get called by the power manager application when the system
      is going to suspend state or resuming from suspend state. This allows
      device drivers to do any necessary power management operations
      like turning off device clocks and peripherals. The device drivers
      may also save and restore states in these hook functions.

(Definitions include propagated dependencies, including from if’s and menus.)