dts: add 'linaro,' prefix to 96b-lscon-1v8, 96b-lscon-3v3

These compatibles don't match the dt-schema regular expression for
compatible properties that we'd like to support in Zephyr because they
do not begin with a letter.

Use linaro, as a vendor prefix to make them compliant. Update the
release notes since out of tree users will need to keep up.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
Martí Bolívar 2021-05-17 08:07:03 -07:00 committed by Kumar Gala
commit b6fbc20de4
6 changed files with 13 additions and 5 deletions

View file

@ -6,7 +6,7 @@
/ { / {
lscon_96b: connector { lscon_96b: connector {
compatible = "96b-lscon-3v3"; compatible = "linaro,96b-lscon-3v3";
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-map-mask = <0xffffffff 0xffffffc0>; gpio-map-mask = <0xffffffff 0xffffffc0>;
gpio-map-pass-thru = <0 0x3f>; gpio-map-pass-thru = <0 0x3f>;

View file

@ -6,7 +6,7 @@
/ { / {
lscon_96b: connector { lscon_96b: connector {
compatible = "96b-lscon-1v8"; compatible = "linaro,96b-lscon-1v8";
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-map-mask = <0xffffffff 0xffffffc0>; gpio-map-mask = <0xffffffff 0xffffffc0>;
gpio-map-pass-thru = <0 0x3f>; gpio-map-pass-thru = <0 0x3f>;

View file

@ -6,7 +6,7 @@
/ { / {
lscon_96b: connector { lscon_96b: connector {
compatible = "96b-lscon-3v3"; compatible = "linaro,96b-lscon-3v3";
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-map-mask = <0xffffffff 0xffffffc0>; gpio-map-mask = <0xffffffff 0xffffffc0>;
gpio-map-pass-thru = <0 0x3f>; gpio-map-pass-thru = <0 0x3f>;

View file

@ -566,6 +566,14 @@ Build and Infrastructure
* Devicetree * Devicetree
- :c:macro:`DT_COMPAT_GET_ANY_STATUS_OKAY`: new macro - :c:macro:`DT_COMPAT_GET_ANY_STATUS_OKAY`: new macro
- the ``96b-lscon-3v3`` and ``96b-lscon-1v8`` :ref:`compatible properties
<dt-important-props>` now have ``linaro,`` vendor prefixes, i.e. they are
now respectively :dtcompatible:`linaro,96b-lscon-3v3` and
:dtcompatible:`linaro,96b-lscon-1v8`.
This change was made to bring Zephyr's devicetrees into compliance with an
upstream Linux regular expression used to validate compatible properties.
This regular expression requires a letter as the first character.
* West * West

View file

@ -3,6 +3,6 @@
description: Represents GPIO pin nodes exposed on the 96Boards 1.8v low-speed header description: Represents GPIO pin nodes exposed on the 96Boards 1.8v low-speed header
compatible: "96b-lscon-1v8" compatible: "linaro,96b-lscon-1v8"
include: [gpio-nexus.yaml, base.yaml] include: [gpio-nexus.yaml, base.yaml]

View file

@ -4,6 +4,6 @@
description: | description: |
Represents GPIO pin nodes exposed on the 96Boards 3.3v low-speed header Represents GPIO pin nodes exposed on the 96Boards 3.3v low-speed header
compatible: "96b-lscon-3v3" compatible: "linaro,96b-lscon-3v3"
include: [gpio-nexus.yaml, base.yaml] include: [gpio-nexus.yaml, base.yaml]