dt-bindings: hwlock: sun6i: Add missing #hwlock-cells
authorBastian Germann <bage@debian.org>
Mon, 13 Feb 2023 23:19:28 +0000 (00:19 +0100)
committerBjorn Andersson <andersson@kernel.org>
Tue, 14 Feb 2023 17:33:34 +0000 (09:33 -0800)
The allwinner,sun6i-a31-hwspinlock.yaml binding needs #hwlock-cells
which is required by the hwlock type.

Fixes: f9e784dcb63f ("dt-bindings: hwlock: add sun6i_hwspinlock")
Signed-off-by: Bastian Germann <bage@debian.org>
Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230213231931.6546-2-bage@debian.org
Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml

index 10e5a53..01b1bbb 100644 (file)
@@ -26,11 +26,15 @@ properties:
   resets:
     maxItems: 1
 
+  '#hwlock-cells':
+    const: 1
+
 required:
   - compatible
   - reg
   - clocks
   - resets
+  - "#hwlock-cells"
 
 additionalProperties: false