Skip to content

Commit 092fc2c

Browse files
gmarullnashif
authored andcommitted
doc: release-notes: add device model changes
Most notable changes are DT metadata and deferred initialization. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent 57b0863 commit 092fc2c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/releases/release-notes-3.7.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,15 @@ Kernel
249249
* Added :c:func:`k_realloc`, that uses kernel heap to implement traditional :c:func:`realloc`
250250
semantics.
251251

252+
* Devices can now store devicetree metadata such as nodelabels by turning on
253+
:kconfig:option:`CONFIG_DEVICE_DT_METADATA`. This option may be useful in
254+
e.g. shells as devices can be obtained using human-friendly names thanks to
255+
APIs like :c:func:`device_get_by_dt_nodelabel`.
256+
257+
* Any device initialization can be deferred if its associated devicetree node
258+
has the special ``zephyr,deferred-init`` property set. The device can be
259+
initialized later in time by using :c:func:`device_init`.
260+
252261
Bluetooth
253262
*********
254263
* Audio

0 commit comments

Comments
 (0)