dt-bindings: pinctrl: aspeed: Allow only defined pin mux node properties
authorRob Herring <robh@kernel.org>
Sat, 19 Aug 2023 01:09:06 +0000 (20:09 -0500)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 21 Aug 2023 10:32:04 +0000 (12:32 +0200)
commitf2e83c19e07d972f3f825b4d7152ecc29afbb379
treecf38bf379d62d3d4b99e56282b39baccbbe5265e
parente77f06be7216c9e25de8fe74a56df962fcc96cf6
dt-bindings: pinctrl: aspeed: Allow only defined pin mux node properties

The Aspeed pinctrl bindings are missing an additionalProperties/
unevaluatedProperties schemas on the child pin mux nodes which means any
undefined properties are allowed. In addition, using
'additionalProperties' for child nodes with any name works better than a
pattern matching everything with an if/then schema to select nodes only.

With 'additionalProperties' added, 'pins' and 'bias-disable'
properties need to be added as they were not defined. A $ref to
pinmux-node.yaml which defines the common property types was also
missing.

Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230819010907.916061-1-robh@kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Documentation/devicetree/bindings/pinctrl/aspeed,ast2400-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/aspeed,ast2500-pinctrl.yaml
Documentation/devicetree/bindings/pinctrl/aspeed,ast2600-pinctrl.yaml