dt-bindings: pinctrl: st,stm32: Correct 'resets' property name
authorRob Herring <robh@kernel.org>
Tue, 19 Jul 2022 21:49:54 +0000 (15:49 -0600)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 26 Jul 2022 07:40:05 +0000 (09:40 +0200)
The correct property name for the reset binding is 'resets', not 'reset'.
Assuming actual users are correct, this error didn't show up due to
missing 'additionalProperties: false'. Fix the name and add missing
'additionalProperties'.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220719214955.1875020-1-robh@kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml

index 335ffc1353b5c0537a413f0507a3c835767fcb94..d35dcc4f024219ba869d72ce4506f7ab8553a502 100644 (file)
@@ -59,6 +59,7 @@ properties:
 patternProperties:
   '^gpio@[0-9a-f]*$':
     type: object
+    additionalProperties: false
     properties:
       gpio-controller: true
       '#gpio-cells':
@@ -68,8 +69,7 @@ patternProperties:
         maxItems: 1
       clocks:
         maxItems: 1
-      reset:
-        minItems: 1
+      resets:
         maxItems: 1
       gpio-ranges:
         minItems: 1