dt-bindings: hwlock: sun6i: Add #hwlock-cells to example
authorBastian Germann <bage@debian.org>
Wed, 15 Feb 2023 20:37:07 +0000 (21:37 +0100)
committerBjorn Andersson <andersson@kernel.org>
Tue, 21 Feb 2023 02:02:01 +0000 (18:02 -0800)
The dt-bindings tools will compile the yaml dt examples
and this prevents an error about this node not existing.

Signed-off-by: Bastian Germann <bage@debian.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230215203711.6293-3-bage@debian.org
Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml

index 01b1bbb..38478da 100644 (file)
@@ -48,5 +48,6 @@ examples:
         reg = <0x01c18000 0x1000>;
         clocks = <&ccu CLK_BUS_SPINLOCK>;
         resets = <&ccu RST_BUS_SPINLOCK>;
+        #hwlock-cells = <1>;
     };
 ...