dt-bindings: arm,psci: Add missing unevaluatedProperties on child node schemas
authorRob Herring <robh@kernel.org>
Tue, 26 Sep 2023 16:45:44 +0000 (11:45 -0500)
committerRob Herring <robh@kernel.org>
Thu, 28 Sep 2023 15:34:02 +0000 (10:34 -0500)
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.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20230926164553.102914-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/arm/psci.yaml

index 0c5381e..cbb012e 100644 (file)
@@ -101,6 +101,7 @@ properties:
 patternProperties:
   "^power-domain-":
     $ref: /schemas/power/power-domain.yaml#
+    unevaluatedProperties: false
 
     type: object
     description: |