Skip to content

Commit 2bdcdad

Browse files
robherringlinusw
authored andcommitted
dt-bindings: pinctrl: nuvoton,npcm845: Add missing additionalProperties on gpio child nodes
Just as unevaluatedProperties or additionalProperties are required at the top level of schemas, they should (and will) also be required for child node schemas. That ensures only documented properties are present for any node. Add the missing addtionalProperties to the 'gpio' child nodes. Signed-off-by: Rob Herring <robh@kernel.org> Acked-by: Conor Dooley <conor.dooley@microchip.com> Link: https://lore.kernel.org/r/20231020170017.3610978-1-robh@kernel.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent caf963e commit 2bdcdad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ properties:
3535
patternProperties:
3636
'^gpio@':
3737
type: object
38+
additionalProperties: false
3839

3940
description:
4041
Eight GPIO banks that each contain 32 GPIOs.

0 commit comments

Comments
 (0)