* [PATCH] dt-bindings: pinctrl: st,stm32: Correct 'resets' property name
@ 2022-07-19 21:49 Rob Herring
2022-07-26 7:40 ` Linus Walleij
0 siblings, 1 reply; 2+ messages in thread
From: Rob Herring @ 2022-07-19 21:49 UTC (permalink / raw)
To: Linus Walleij, Krzysztof Kozlowski, Maxime Coquelin,
Alexandre Torgue
Cc: linux-gpio, devicetree, linux-stm32, linux-arm-kernel,
linux-kernel
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>
---
.../devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml
index 335ffc1353b5..d35dcc4f0242 100644
--- a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml
@@ -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
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dt-bindings: pinctrl: st,stm32: Correct 'resets' property name
2022-07-19 21:49 [PATCH] dt-bindings: pinctrl: st,stm32: Correct 'resets' property name Rob Herring
@ 2022-07-26 7:40 ` Linus Walleij
0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2022-07-26 7:40 UTC (permalink / raw)
To: Rob Herring
Cc: Krzysztof Kozlowski, Maxime Coquelin, Alexandre Torgue,
linux-gpio, devicetree, linux-stm32, linux-arm-kernel,
linux-kernel
On Tue, Jul 19, 2022 at 11:50 PM Rob Herring <robh@kernel.org> wrote:
> 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>
Patch applied, thanks for hashing out this mess!
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-26 7:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-19 21:49 [PATCH] dt-bindings: pinctrl: st,stm32: Correct 'resets' property name Rob Herring
2022-07-26 7:40 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).