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 <krzysztof.kozlowski@linaro.org> Reviewed-by: Tudor Ambarus <tudor.ambarus@linaro.org> Link: https://lore.kernel.org/r/20240325091139.18602-1-krzysztof.kozlowski@linaro.org Signed-off-by: Rob Herring <robh@kernel.org>
1 parent 8aebf68 commit 3d9b8e6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

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)