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.

Default

  • n

Kconfig definitions

At soc/arm/microchip_mec/mec1501/Kconfig.defconfig.mec1501hsz:108

Included via Kconfig:8Kconfig.zephyr:28soc/arm/microchip_mec/Kconfig.defconfig:3soc/arm/microchip_mec/mec1501/Kconfig.defconfig.series:17

Menu path: (Top)

config DEVICE_POWER_MANAGEMENT
    bool
    default n
    depends on SOC_POWER_MANAGEMENT && SOC_MEC1501_HSZ && SOC_SERIES_MEC1501X

At kernel/Kconfig.power_mgmt:45

Included via Kconfig:8Kconfig.zephyr:36kernel/Kconfig:765

Menu path: (Top) → General Kernel Options

config DEVICE_POWER_MANAGEMENT
    bool "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.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)