regulator: dt-bindings: 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 <robh@kernel.org>
Link: https://lore.kernel.org/r/20230925212658.1975419-1-robh@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Rob Herring
2023-09-25 16:26:53 -05:00
committed by Mark Brown
parent 6e6891ccf0
commit 66af368359
3 changed files with 5 additions and 0 deletions
@@ -43,6 +43,7 @@ properties:
"^OUT[1-4]$":
type: object
$ref: regulator.yaml#
unevaluatedProperties: false
additionalProperties: false
@@ -30,10 +30,12 @@ properties:
"^LDO([1-9]|1[0-5])$":
type: object
$ref: regulator.yaml#
unevaluatedProperties: false
"^BUCK|BUCKBOOST$":
type: object
$ref: regulator.yaml#
unevaluatedProperties: false
additionalProperties: false
@@ -48,10 +48,12 @@ properties:
"^LDO[1-4]$":
type: object
$ref: regulator.yaml#
unevaluatedProperties: false
"^BUCK|BOOST$":
type: object
$ref: regulator.yaml#
unevaluatedProperties: false
additionalProperties: false