Skip to content

Commit af4c3bc

Browse files
Flavio Ceolinnashif
authored andcommitted
doc: release: 2.7: add release notes for PM
Update V2.7.0 release notes document with noticeable changes related to power management. Signed-off-by: Flavio Ceolin <[email protected]>
1 parent 257df9a commit af4c3bc

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

doc/releases/release-notes-2.7.rst

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -838,6 +838,32 @@ Libraries / Subsystems
838838
together have allowed simplifying multiple device power management callback
839839
implementations.
840840

841+
* Introduced a new API to allow devices capable of wake up the system
842+
register themselves was wake up sources. This permits applications to
843+
select the most appropriate way to wake up the system when it is
844+
suspended. Devices marked as wake up source are not suspended by the kernel
845+
when the system is idle. It is possible to declare a device wake up capable
846+
direct in devicetree like this example::
847+
848+
&gpio0 {
849+
compatible = "zephyr,gpio-emul";
850+
gpio-controller;
851+
wakeup-source;
852+
};
853+
854+
* Removed ``PM_DEVICE_STATE_FORCE_SUSPEND`` device power state.because it
855+
is an action and not a state.
856+
857+
* Removed ``PM_DEVICE_STATE_RESUMING`` and ``PM_DEVICE_STATE_SUSPENDING``.
858+
They were transitional states and only used in device runtime. Now the
859+
subsystem is using device flag to keep track of a transition.
860+
861+
* Implement constraint API as weak symbols so applications or platform
862+
can override them. Platforms can have their own way to
863+
set/release constraints in their drivers that are not part of
864+
Zephyr code base.
865+
866+
841867
* Logging
842868

843869
* MODBUS

0 commit comments

Comments
 (0)