docs: dt-bindings: add missing address/size-cells to example
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Mon, 25 Mar 2024 09:11:39 +0000 (10:11 +0100)
committerRob Herring <robh@kernel.org>
Mon, 25 Mar 2024 16:09:12 +0000 (11:09 -0500)
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>
Documentation/devicetree/bindings/dts-coding-style.rst

index a9bdd2b59dcab62b3cf6eac23dbefb44a71d648d..8a68331075a098ab8f0a1fece9525c7a2f7d6ddc 100644 (file)
@@ -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";