summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/hwlock
diff options
context:
space:
mode:
authorBastian Germann <bage@debian.org>2023-02-14 00:19:28 +0100
committerBjorn Andersson <andersson@kernel.org>2023-02-14 09:33:34 -0800
commit25d10262ed8aae71cd2f0b3c0a90d06a6b79fba2 (patch)
tree7fb1558d578ff951425772df0c946d067b7092c8 /Documentation/devicetree/bindings/hwlock
parentec5c05e5ac8bcb4a6bcd92970e15494a85400d34 (diff)
dt-bindings: hwlock: sun6i: Add missing #hwlock-cells
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
Diffstat (limited to 'Documentation/devicetree/bindings/hwlock')
-rw-r--r--Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml b/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml
index 10e5a53e447b..01b1bbb3061f 100644
--- a/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml
+++ b/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml
@@ -26,11 +26,15 @@ properties:
resets:
maxItems: 1
+ '#hwlock-cells':
+ const: 1
+
required:
- compatible
- reg
- clocks
- resets
+ - "#hwlock-cells"
additionalProperties: false