Commit e79368b1 authored by Rob Herring's avatar Rob Herring Committed by Linus Walleij
Browse files

dt-bindings: pinctrl: st,stm32: Correct 'resets' property name



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: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20220719214955.1875020-1-robh@kernel.org


Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent c3e4fa4b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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