summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2022-08-23 09:56:37 -0500
committerLinus Walleij <linus.walleij@linaro.org>2022-08-26 15:33:07 +0200
commit9194e0f88a74d98f98b33183e6dda87c3753dd71 (patch)
tree4eaa597ad24fc45975f7d069cb89015096514e56 /Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml
parent76e55d938c5bfd2b28ee868fe071181cce5353ad (diff)
dt-bindings: pinctrl: Add missing (unevaluated|additional)Properties on child nodes
In order to ensure only documented properties are present, node schemas must have unevaluatedProperties or additionalProperties set to false (typically). Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20220823145649.3118479-6-robh@kernel.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml')
-rw-r--r--Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml
index d35dcc4f0242..53c952d93ea2 100644
--- a/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml
+++ b/Documentation/devicetree/bindings/pinctrl/st,stm32-pinctrl.yaml
@@ -115,9 +115,12 @@ patternProperties:
'-[0-9]*$':
type: object
+ additionalProperties: false
+
patternProperties:
'^pins':
type: object
+ additionalProperties: false
description: |
A pinctrl node should contain at least one subnode representing the
pinctrl group available on the machine. Each subnode will list the