Skip to content

Commit 963c5fa

Browse files
mbolivar-nordicrobherring
authored andcommitted
Add note about the initial character in a compatible
Commit 05a3481 ("Add more restrictions on compatible strings") started to add recommendations on the contents of compatible strings. Add an additional recommendation that compatibles should start with a letter. In particular, this matches what dt-schema is doing. Signed-off-by: Martí Bolívar <[email protected]>
1 parent deb8f23 commit 963c5fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/chapter2-devicetree-basics.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -484,9 +484,9 @@ Description:
484484
(such as a stock ticker symbol), and ``model`` specifies the model
485485
number.
486486

487-
The compatible string should consist only of lowercase letters, digits
488-
and dashes. A single comma is typically only used following a vendor
489-
prefix. Underscores should not be used.
487+
The compatible string should consist only of lowercase letters, digits and
488+
dashes, and should start with a letter. A single comma is typically only
489+
used following a vendor prefix. Underscores should not be used.
490490

491491
Example:
492492

0 commit comments

Comments
 (0)