Skip to content

Commit 3d9b8e6

Browse files
krzkrobherring
authored andcommitted
docs: dt-bindings: add missing address/size-cells to example
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]>
1 parent 8aebf68 commit 3d9b8e6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Documentation/devicetree/bindings/dts-coding-style.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ Example::
144144
#dma-cells = <1>;
145145
clocks = <&clock_controller 0>, <&clock_controller 1>;
146146
clock-names = "bus", "host";
147+
#address-cells = <1>;
148+
#size-cells = <1>;
147149
vendor,custom-property = <2>;
148150
status = "disabled";
149151

0 commit comments

Comments
 (0)