From 1f3ca8212651d8b0f0b5b57a8891142526b050a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=AD=20Bol=C3=ADvar?= Date: Tue, 3 Aug 2021 14:27:43 -0700 Subject: [PATCH] doc: release-notes: mention DT compatible changes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Document devicetree compatibles which have changed recently and that have drivers, along with how to handle them. Recent changes to things like / and CPU nodes aren't worth mentioning since there are no drivers for such things. I'm similarly not going to document the vexriscv change since it seems likely that users are getting this compatible via the DTSI file. Signed-off-by: Martí Bolívar --- doc/releases/release-notes-2.7.rst | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/doc/releases/release-notes-2.7.rst b/doc/releases/release-notes-2.7.rst index 26846869b89..d6d829ebbaf 100644 --- a/doc/releases/release-notes-2.7.rst +++ b/doc/releases/release-notes-2.7.rst @@ -281,6 +281,30 @@ Build and Infrastructure * Devicetree + * Various compatibles had incorrect vendor prefixes in their :ref:`compatible + ` properties; the following changes were made to fix + these. + + * ``nios,i2c`` is now ``altr,nios2-i2c`` + * ``colorway,lpd8803`` is now ``greeled,lpd8803`` + * ``colorway,lpd8806`` is now ``greeled,lpd8806`` + * ``grove,light`` is now ``seeed,grove-light`` + * ``grove,temperature`` is now ``seeed,grove-temperature`` + * ``max,max30101`` is now ``maxim,max30101`` + * ``ublox,sara-r4`` is now ``u-blox,sara-r4`` + * ``xtensa,core-intc`` is now ``cdns,xtensa-core-intc`` + + Out of tree users of these compatibles will need to update their + devicetrees. + + You can support multiple versions of Zephyr with one devicetree by + including both the old and new values in your nodes' compatible properties, + like this example for the LPD8803:: + + my-led-strip@0 { + compatible = "colorway,lpd8803", "greeled,lpd8803"; + ... + }; * West (extensions)