This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_PM_DEVICE

Device power management

Type: bool

Help

Enable device power management support.

Help

Enable device power management support.

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

  • n

  • y

  • y

  • y

  • y

  • y

  • y

  • y

Symbols that select this symbol

Kconfig definitions

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

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

Menu path: (Top)

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

At soc/arm/nuvoton_npcx/npcx7/Kconfig.defconfig.series:102

Included via Kconfig:8Kconfig.zephyr:27soc/arm/nuvoton_npcx/Kconfig.defconfig:6

Menu path: (Top)

config PM_DEVICE
    bool
    default y
    depends on SOC_POWER_MANAGEMENT && SOC_SERIES_NPCX7
    help
      Enable device power management support.

At soc/arm/nuvoton_npcx/npcx9/Kconfig.defconfig.series:112

Included via Kconfig:8Kconfig.zephyr:27soc/arm/nuvoton_npcx/Kconfig.defconfig:6

Menu path: (Top)

config PM_DEVICE
    bool
    default y
    depends on SOC_POWER_MANAGEMENT && SOC_SERIES_NPCX9
    help
      Enable device power management support.

At soc/arm/st_stm32/stm32l0/Kconfig.defconfig.series:16

Included via Kconfig:8Kconfig.zephyr:27soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (Top)

config PM_DEVICE
    bool
    default y
    depends on PM && SOC_SERIES_STM32L0X

At soc/arm/st_stm32/stm32l4/Kconfig.defconfig.series:17

Included via Kconfig:8Kconfig.zephyr:27soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (Top)

config PM_DEVICE
    bool
    default y
    depends on PM && SOC_SERIES_STM32L4X

At soc/arm/st_stm32/stm32l5/Kconfig.defconfig.series:14

Included via Kconfig:8Kconfig.zephyr:27soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (Top)

config PM_DEVICE
    bool
    default y
    depends on PM && SOC_SERIES_STM32L5X

At soc/arm/st_stm32/stm32wb/Kconfig.defconfig.series:14

Included via Kconfig:8Kconfig.zephyr:27soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (Top)

config PM_DEVICE
    bool
    default y
    depends on PM && SOC_SERIES_STM32WBX

At soc/arm/st_stm32/stm32wl/Kconfig.defconfig.series:14

Included via Kconfig:8Kconfig.zephyr:27soc/arm/st_stm32/Kconfig.defconfig:3

Menu path: (Top)

config PM_DEVICE
    bool
    default y
    depends on PM && SOC_SERIES_STM32WLX

At subsys/pm/Kconfig:46

Included via Kconfig:8Kconfig.zephyr:42subsys/Kconfig:43

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

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