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 <Zephyr>/soc/arm/microchip_mec/mec1501/Kconfig.defconfig.mec1501hsz:79

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:25<BuildDir>/Kconfig/Kconfig.soc.defconfig:1<Zephyr>/soc/arm/microchip_mec/Kconfig.defconfig:3<Zephyr>/soc/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 <Zephyr>/subsys/power/Kconfig:84

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:36

Menu path: (Top) → Sub Systems and OS Services → Power Management

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.)