summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBastian Germann <bage@debian.org>2023-02-15 21:37:07 +0100
committerBjorn Andersson <andersson@kernel.org>2023-02-20 18:02:01 -0800
commit95e158ec843666d76c09900507db08b76d77ce3e (patch)
tree394f9910e13be1bfe9025dde3a1015e74586dc7e
parent25d10262ed8aae71cd2f0b3c0a90d06a6b79fba2 (diff)
downloadlinux-95e158ec843666d76c09900507db08b76d77ce3e.tar.gz
linux-95e158ec843666d76c09900507db08b76d77ce3e.tar.bz2
linux-95e158ec843666d76c09900507db08b76d77ce3e.zip
dt-bindings: hwlock: sun6i: Add #hwlock-cells to example
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
-rw-r--r--Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml1
1 files changed, 1 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 01b1bbb3061f..38478dad8b25 100644
--- a/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml
+++ b/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml
@@ -48,5 +48,6 @@ examples:
reg = <0x01c18000 0x1000>;
clocks = <&ccu CLK_BUS_SPINLOCK>;
resets = <&ccu RST_BUS_SPINLOCK>;
+ #hwlock-cells = <1>;
};
...