Skip to content

Commit 3f0a014

Browse files
krzkrobherring
authored andcommitted
docs: dt: writing-schema: Document preferred order of properties
Document established Devicetree bindings maintainers review practice: using DTS coding style property order in both 'properties' and 'required' secions. Signed-off-by: Krzysztof Kozlowski <[email protected]> Reviewed-by: Conor Dooley <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent 6a57cf2 commit 3f0a014

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Documentation/devicetree/bindings/writing-schema.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@ Coding style
171171
Use YAML coding style (two-space indentation). For DTS examples in the schema,
172172
preferred is four-space indentation.
173173

174+
Place entries in 'properties' and 'required' sections in the same order, using
175+
style from Documentation/devicetree/bindings/dts-coding-style.rst.
176+
174177
Testing
175178
-------
176179

0 commit comments

Comments
 (0)