summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2024-03-25 12:11:39 +0300
committerRob Herring <robh@kernel.org>2024-03-25 19:09:12 +0300
commit3d9b8e6db9bda4463bbf2a97411f0716215254da (patch)
treea0ba130e2f20388dfee9b3d849028619a2f83201 /Documentation
parent8aebf68dfd4b482f7fb1f82864fdda08020f62b4 (diff)
downloadlinux-3d9b8e6db9bda4463bbf2a97411f0716215254da.tar.xz
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>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/devicetree/bindings/dts-coding-style.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/dts-coding-style.rst b/Documentation/devicetree/bindings/dts-coding-style.rst
index a9bdd2b59dca..8a68331075a0 100644
--- a/Documentation/devicetree/bindings/dts-coding-style.rst
+++ b/Documentation/devicetree/bindings/dts-coding-style.rst
@@ -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";