Skip to content

Commit

Permalink
docs: dt-bindings: add missing address/size-cells to example
Browse files Browse the repository at this point in the history
Complete the example of recommended order of properties by adding
missing address/size-cells.  They are not necessary to illustrate the
style, but lack of them us bit really correct DTS code which might
confuse readers.

Signed-off-by: Krzysztof Kozlowski <[email protected]>
Reviewed-by: Tudor Ambarus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Rob Herring <[email protected]>
  • Loading branch information
krzk authored and robherring committed Mar 25, 2024
1 parent 8aebf68 commit 3d9b8e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/dts-coding-style.rst
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,8 @@ Example::
#dma-cells = <1>;
clocks = <&clock_controller 0>, <&clock_controller 1>;
clock-names = "bus", "host";
#address-cells = <1>;
#size-cells = <1>;
vendor,custom-property = <2>;
status = "disabled";

Expand Down

0 comments on commit 3d9b8e6

Please sign in to comment.