Skip to content

Commit a5aab42

Browse files
committed
doc: Add a new migration guide entry
Bindings now use hyphens(-) instead of underscores(_) as property separators. Signed-off-by: James Roy <rruuaanng@outlook.com>
1 parent bb9a238 commit a5aab42

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/releases/migration-guide-4.2.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,11 @@ Devicetree
100100
* The :c:macro:`DT_ENUM_HAS_VALUE` and :c:macro:`DT_INST_ENUM_HAS_VALUE` macros are now
101101
checking all values, when used on an array, not just the first one.
102102

103+
* Property names in devicetree and bindings use hyphens(``-``) as separators, and replacing
104+
all previously used underscores(``_``). For local code, you can migrate property names in
105+
bindings to use hyphens by running the ``scripts/migrate_bindings_style.py`` script.
106+
107+
103108
DAI
104109
===
105110

0 commit comments

Comments
 (0)