From 92b22be24ce4836d725a006604169030b5f557ea Mon Sep 17 00:00:00 2001 From: James Roy Date: Thu, 12 Jun 2025 20:31:57 +0800 Subject: [PATCH] doc: Add a new migration guide entry Bindings now use hyphens(-) instead of underscores(_) as property separators. Signed-off-by: James Roy --- doc/releases/migration-guide-4.2.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/releases/migration-guide-4.2.rst b/doc/releases/migration-guide-4.2.rst index e382db763e5..1ffe7b5196f 100644 --- a/doc/releases/migration-guide-4.2.rst +++ b/doc/releases/migration-guide-4.2.rst @@ -100,6 +100,11 @@ Devicetree * The :c:macro:`DT_ENUM_HAS_VALUE` and :c:macro:`DT_INST_ENUM_HAS_VALUE` macros are now checking all values, when used on an array, not just the first one. +* Property names in devicetree and bindings use hyphens(``-``) as separators, and replacing + all previously used underscores(``_``). For local code, you can migrate property names in + bindings to use hyphens by running the ``scripts/migrate_bindings_style.py`` script. + + DAI ===