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

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 subsys/pm/Kconfig:40

Included via Kconfig:8Kconfig.zephyr:44subsys/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.)