dt-bindings: arm,psci: Add missing unevaluatedProperties on child node schemas
Rob Herring
maintainerPATCH 1/1 dt-bindings: arm,psci: Add missing unevaluatedProperties 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 <[email protected]>
--- Documentation/devicetree/bindings/arm/psci.yaml | 1 + 1 file changed, 1 insertion(+)
Documentation/devicetree/bindings/arm/psci.yaml +1 -0
@@ -101,6 +101,7 @@ properties: patternProperties: "^power-domain-": $ref: /schemas/power/power-domain.yaml# + unevaluatedProperties: false type: object description: |
Signature · 1 line
2.40.1
Acked-by Conor Dooley <[email protected]>
Quoted 10 lines · Rob Herring
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 <[email protected]>--- Documentation/devicetree/bindings/arm/psci.yaml | 1 + 1 file changed, 1 insertion(+)
Applied, thanks!