aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2023-10-20 12:00:16 -0500
committerLinus Walleij <linus.walleij@linaro.org>2023-10-23 10:24:01 +0200
commit2bdcdad6933d1420caf6db2c7f7391b3213e7488 (patch)
tree90dab6873473e7f68c26cb69d59ea440a24ad6f9 /Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml
parentdt-bindings: pinctrl: brcm: Ensure all child node properties are documented (diff)
downloadwireguard-linux-2bdcdad6933d1420caf6db2c7f7391b3213e7488.tar.xz
wireguard-linux-2bdcdad6933d1420caf6db2c7f7391b3213e7488.zip
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>
Diffstat (limited to 'Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml')
-rw-r--r--Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml
index e4b9f3da2cf0..3e8472898800 100644
--- a/Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/nuvoton,npcm845-pinctrl.yaml
@@ -35,6 +35,7 @@ properties:
patternProperties:
'^gpio@':
type: object
+ additionalProperties: false
description:
Eight GPIO banks that each contain 32 GPIOs.