diff options
author | Rob Herring <robh@kernel.org> | 2022-08-23 17:56:37 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2022-08-26 16:33:07 +0300 |
commit | 9194e0f88a74d98f98b33183e6dda87c3753dd71 (patch) | |
tree | 4eaa597ad24fc45975f7d069cb89015096514e56 /Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml | |
parent | 76e55d938c5bfd2b28ee868fe071181cce5353ad (diff) | |
download | linux-9194e0f88a74d98f98b33183e6dda87c3753dd71.tar.xz |
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/samsung,pinctrl.yaml')
-rw-r--r-- | Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml index 3a65c66ca71d..d006a940c7c6 100644 --- a/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml +++ b/Documentation/devicetree/bindings/pinctrl/samsung,pinctrl.yaml @@ -97,6 +97,9 @@ patternProperties: additionalProperties: false "^(initial|sleep)-state$": + type: object + additionalProperties: false + patternProperties: "^(pin-[a-z0-9-]+|[a-z0-9-]+-pin)$": $ref: samsung,pinctrl-pins-cfg.yaml |