From 596ef0a519eec584e2c403927543b130a7166a45 Mon Sep 17 00:00:00 2001 From: Flavio Ceolin Date: Mon, 8 Jul 2024 11:21:19 -0700 Subject: [PATCH] doc: release-notes-3.7: Power management notes This adds some bits about additions and improvements on Power Management. Signed-off-by: Flavio Ceolin --- doc/releases/release-notes-3.7.rst | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/doc/releases/release-notes-3.7.rst b/doc/releases/release-notes-3.7.rst index 067add377e43d2..aff3f2cdfb6c2d 100644 --- a/doc/releases/release-notes-3.7.rst +++ b/doc/releases/release-notes-3.7.rst @@ -116,6 +116,9 @@ Removed APIs in this release * Removed deprecated ``CONFIG_EMUL_EEPROM_AT2X`` Kconfig option. + * Removed ``pm_device_state_lock``, ``pm_device_state_is_locked`` and ``pm_device_state_unlock`` + functions from the Device PM APIs. + Deprecated in this release ========================== @@ -144,6 +147,11 @@ Deprecated in this release * Deprecated the :c:macro:`CAN_MAX_STD_ID` and :c:macro:`CAN_MAX_EXT_ID` macros in favor of :c:macro:`CAN_STD_ID_MASK` and :c:macro:`CAN_EXT_ID_MASK`. +* PM + + * Deprecated :kconfig:option:`CONFIG_PM_DEVICE_RUNTIME_EXCLUSIVE`. Similar behavior can be achieved + using :kconfig:option:`CONFIG_PM_DEVICE_SYSTEM_MANAGED`. + .. _zephyr_3.7_posix_api_deprecations: * POSIX API @@ -1311,6 +1319,23 @@ Libraries / Subsystems * Power management + * Devices can now declare which system power states cause power loss. + This information can be used to set and release power state + constraints when it is needed by the device. This feature is enabled with + :kconfig:option:`CONFIG_PM_POLICY_DEVICE_CONSTRAINTS`. Use functions + :c:func:`pm_policy_device_power_lock_get` and :c:func:`pm_policy_device_power_lock_put` + to lock and unlock all power states that cause power loss in a device. + + * Added shell support for device power management. + + * Device power management was de-coupled from system power management. The new + :kconfig:option:`CONFIG_PM_DEVICE_SYSTEM_MANAGED` option is used to enable + whether or not devices must be suspended when the system sleeps. + + * Make it possible to disable system device power management individually per + power state using ``zephyr,pm-device-disabled``. This allows targets tuning which + states should (and which should not) trigger device power management. + * Crypto * Mbed TLS was updated to 3.6.0. Release notes can be found at: