dt-bindings: pinctrl: Add missing additionalProperties on child node schemas
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. Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20230925212713.1975800-1-robh@kernel.org Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
committed by
Linus Walleij
parent
34d7c484c5
commit
caaeb8c551
@@ -43,7 +43,8 @@ patternProperties:
|
||||
"-state$":
|
||||
oneOf:
|
||||
- $ref: "#/$defs/qcom-mdm9607-tlmm-state"
|
||||
- patternProperties:
|
||||
- additionalProperties: false
|
||||
patternProperties:
|
||||
".*":
|
||||
$ref: "#/$defs/qcom-mdm9607-tlmm-state"
|
||||
|
||||
|
||||
@@ -73,6 +73,7 @@ properties:
|
||||
additionalProperties:
|
||||
anyOf:
|
||||
- type: object
|
||||
additionalProperties: false
|
||||
allOf:
|
||||
- $ref: pincfg-node.yaml#
|
||||
- $ref: pinmux-node.yaml#
|
||||
|
||||
@@ -53,6 +53,7 @@ properties:
|
||||
additionalProperties:
|
||||
anyOf:
|
||||
- type: object
|
||||
additionalProperties: false
|
||||
allOf:
|
||||
- $ref: pincfg-node.yaml#
|
||||
- $ref: pinmux-node.yaml#
|
||||
|
||||
@@ -115,6 +115,8 @@ additionalProperties:
|
||||
type: object
|
||||
additionalProperties:
|
||||
type: object
|
||||
additionalProperties: false
|
||||
|
||||
properties:
|
||||
rockchip,pins:
|
||||
$ref: /schemas/types.yaml#/definitions/uint32-matrix
|
||||
|
||||
Reference in New Issue
Block a user