Skip to content

Commit f3ba1a7

Browse files
committed
doc: contribute: Add DTS encoding style
Add link to upstream Linux Kernel DTS coding style. Signed-off-by: James Roy <rruuaanng@outlook.com>
1 parent d740201 commit f3ba1a7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

doc/contribute/guidelines.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,19 @@ guidelines, maintainers may decide which style should be adopted.
626626

627627
.. _Continuous Integration:
628628

629+
Devicetree Style
630+
================
631+
632+
.. _Devicetree sources coding style:
633+
https://kernel.org/doc/html/latest/devicetree/bindings/dts-coding-style.html
634+
635+
In general, follow the `Devicetree sources coding style`_, with the following
636+
exceptions:
637+
638+
* Property names with underscores should be used only when strictly necessary
639+
and already present in the upstream Linux kernel or other authoritative
640+
third-party sources.
641+
629642
Continuous Integration (CI)
630643
===========================
631644

0 commit comments

Comments
 (0)