Skip to content

Commit 234462b

Browse files
sumanannaandersson
authored andcommitted
dt-bindings: hwlock: sun6i: Fix various warnings in binding
The allwinner,sun6i-a31-hwspinlock.yaml binding has a mismatched $id and fails to compile the example due to undefined args specifier values for clocks and resets. Fix both of these issues. Acked-by: Rob Herring <[email protected]> Fixes: f9e784d ("dt-bindings: hwlock: add sun6i_hwspinlock") Signed-off-by: Suman Anna <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Bjorn Andersson <[email protected]>
1 parent 3c881e0 commit 234462b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
22
%YAML 1.2
33
---
4-
$id: http://devicetree.org/schemas/hwlock/allwinner,sun6i-hwspinlock.yaml#
4+
$id: http://devicetree.org/schemas/hwlock/allwinner,sun6i-a31-hwspinlock.yaml#
55
$schema: http://devicetree.org/meta-schemas/core.yaml#
66

77
title: SUN6I hardware spinlock driver for Allwinner sun6i compatible SoCs
@@ -36,6 +36,9 @@ additionalProperties: false
3636

3737
examples:
3838
- |
39+
#include <dt-bindings/clock/sun8i-a23-a33-ccu.h>
40+
#include <dt-bindings/reset/sun8i-a23-a33-ccu.h>
41+
3942
hwlock@1c18000 {
4043
compatible = "allwinner,sun6i-a31-hwspinlock";
4144
reg = <0x01c18000 0x1000>;

0 commit comments

Comments
 (0)