Skip to content

Commit f8a4a2f

Browse files
decsnymmahadevan108
authored andcommitted
doc: dts: Link Linux binding guidelines.
The Linux binding DO's and DONT's about designing DT bindings pretty much all apply to Zephyr as well, and a lot of these issues come up in reviews in Zephyr, which is the reason that Linux has this page in the first place, to list common binding review topics. Signed-off-by: Declan Snyder <[email protected]>
1 parent b73c557 commit f8a4a2f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/build/dts/bindings-upstream.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@ In particular, this rule applies if:
4141
General rules
4242
*************
4343

44+
Wherever possible, when writing Devicetree bindings for Zephyr, try to follow
45+
the same `design guidelines laid out by Linux`_.
46+
47+
.. _design guidelines laid out by Linux:
48+
https://docs.kernel.org/devicetree/bindings/writing-bindings.html
49+
4450
File names
4551
==========
4652

0 commit comments

Comments
 (0)