[PATCH 2/3] dt-bindings: hwlock: sun6i: Add missing names

From: Bastian Germann
Date: Mon Feb 13 2023 - 18:20:38 EST


The allwinner,sun6i-a31-hwspinlock.yaml binding needs clock-names
and reset-names set to "ahb" as required by the driver.

Fixes: f9e784dcb63f ("dt-bindings: hwlock: add sun6i_hwspinlock")
Signed-off-by: Bastian Germann <bage@xxxxxxxxxx>
---
.../hwlock/allwinner,sun6i-a31-hwspinlock.yaml | 10 ++++++++++
1 file changed, 10 insertions(+)

diff --git a/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml b/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml
index 01b1bbb3061f..1f11d9580646 100644
--- a/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml
+++ b/Documentation/devicetree/bindings/hwlock/allwinner,sun6i-a31-hwspinlock.yaml
@@ -23,9 +23,17 @@ properties:
clocks:
maxItems: 1

+ clock-names:
+ items:
+ - const: ahb
+
resets:
maxItems: 1

+ reset-names:
+ items:
+ - const: ahb
+
'#hwlock-cells':
const: 1

@@ -33,7 +41,9 @@ required:
- compatible
- reg
- clocks
+ - clock-names
- resets
+ - reset-names
- "#hwlock-cells"

additionalProperties: false
--
2.39.1