:orphan: .. title:: CONFIG_PM_DEVICE .. kconfig:: CONFIG_PM_DEVICE CONFIG_PM_DEVICE ################ *Device power management* Type: ``bool`` Help ==== .. code-block:: none Enable device power management support. Help ==== .. code-block:: none Enable device power management support. Help ==== .. code-block:: none Enable device power management support. Help ==== .. code-block:: none Enable device power management support. Help ==== .. code-block:: none 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 - n - y - y Symbols that select this symbol =============================== - \ :kconfig:`DEVICE_POWER_MANAGEMENT ` Kconfig definitions =================== At ``/arm/microchip_mec/mec1501/Kconfig.defconfig.mec1501hsz:67`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:25`` → ``/kconfig/Kconfig.soc.defconfig:1`` → ``/arm/microchip_mec/Kconfig.defconfig:3`` → ``/arm/microchip_mec/mec1501/Kconfig.defconfig.series:17`` Menu path: (Top) .. code-block:: kconfig config PM_DEVICE bool default n depends on SOC_POWER_MANAGEMENT && SOC_MEC1501_HSZ && SOC_SERIES_MEC1501X ---- At ``/arm/nuvoton_npcx/npcx7/Kconfig.defconfig.series:102`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:25`` → ``/kconfig/Kconfig.soc.defconfig:1`` → ``/arm/nuvoton_npcx/Kconfig.defconfig:6`` Menu path: (Top) .. code-block:: kconfig config PM_DEVICE bool default y depends on SOC_POWER_MANAGEMENT && SOC_SERIES_NPCX7 help Enable device power management support. ---- At ``/arm/nuvoton_npcx/npcx9/Kconfig.defconfig.series:112`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:25`` → ``/kconfig/Kconfig.soc.defconfig:1`` → ``/arm/nuvoton_npcx/Kconfig.defconfig:6`` Menu path: (Top) .. code-block:: kconfig config PM_DEVICE bool default y depends on SOC_POWER_MANAGEMENT && SOC_SERIES_NPCX9 help Enable device power management support. ---- At ``/arm/microchip_mec/mec1501/Kconfig.defconfig.mec1501hsz:67`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:27`` → ``/arm/microchip_mec/Kconfig.defconfig:3`` → ``/arm/microchip_mec/mec1501/Kconfig.defconfig.series:17`` Menu path: (Top) .. code-block:: kconfig config PM_DEVICE bool default n depends on SOC_POWER_MANAGEMENT && SOC_MEC1501_HSZ && SOC_SERIES_MEC1501X ---- At ``/arm/nuvoton_npcx/npcx7/Kconfig.defconfig.series:102`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:27`` → ``/arm/nuvoton_npcx/Kconfig.defconfig:6`` Menu path: (Top) .. code-block:: kconfig config PM_DEVICE bool default y depends on SOC_POWER_MANAGEMENT && SOC_SERIES_NPCX7 help Enable device power management support. ---- At ``/arm/nuvoton_npcx/npcx9/Kconfig.defconfig.series:112`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:27`` → ``/arm/nuvoton_npcx/Kconfig.defconfig:6`` Menu path: (Top) .. code-block:: kconfig config PM_DEVICE bool default y depends on SOC_POWER_MANAGEMENT && SOC_SERIES_NPCX9 help Enable device power management support. ---- At ``/pm/Kconfig:46`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:43`` Menu path: (Top) → Sub Systems and OS Services → Power Management .. code-block:: kconfig 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.)*