Commit af4c3bc9 authored by Flavio Ceolin's avatar Flavio Ceolin Committed by Anas Nashif
Browse files

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: default avatarFlavio Ceolin <flavio.ceolin@intel.com>
parent 257df9a2
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
@@ -838,6 +838,32 @@ Libraries / Subsystems
    together have allowed simplifying multiple device power management callback
    implementations.

  * Introduced a new API to allow devices capable of wake up the system
    register themselves was wake up sources. This permits applications to
    select the most appropriate way to wake up the system when it is
    suspended. Devices marked as wake up source are not suspended by the kernel
    when the system is idle. It is possible to declare a device wake up capable
    direct in devicetree like this example::

        &gpio0 {
                compatible = "zephyr,gpio-emul";
                gpio-controller;
                wakeup-source;
        };

    * Removed  ``PM_DEVICE_STATE_FORCE_SUSPEND`` device power state.because it
      is an action and not a state.

    * Removed ``PM_DEVICE_STATE_RESUMING`` and ``PM_DEVICE_STATE_SUSPENDING``.
      They were transitional states and only used in device runtime. Now the
      subsystem is using device flag to keep track of a transition.

    * Implement constraint API as weak symbols so applications or platform
      can override them. Platforms can have their own way to
      set/release constraints in their drivers that are not part of
      Zephyr code base.


* Logging

* MODBUS