Commit 66af3683 authored by Rob Herring's avatar Rob Herring Committed by Mark Brown

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: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230925212658.1975419-1-robh@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6e6891cc
...@@ -43,6 +43,7 @@ properties: ...@@ -43,6 +43,7 @@ properties:
"^OUT[1-4]$": "^OUT[1-4]$":
type: object type: object
$ref: regulator.yaml# $ref: regulator.yaml#
unevaluatedProperties: false
additionalProperties: false additionalProperties: false
......
...@@ -30,10 +30,12 @@ properties: ...@@ -30,10 +30,12 @@ properties:
"^LDO([1-9]|1[0-5])$": "^LDO([1-9]|1[0-5])$":
type: object type: object
$ref: regulator.yaml# $ref: regulator.yaml#
unevaluatedProperties: false
"^BUCK|BUCKBOOST$": "^BUCK|BUCKBOOST$":
type: object type: object
$ref: regulator.yaml# $ref: regulator.yaml#
unevaluatedProperties: false
additionalProperties: false additionalProperties: false
......
...@@ -48,10 +48,12 @@ properties: ...@@ -48,10 +48,12 @@ properties:
"^LDO[1-4]$": "^LDO[1-4]$":
type: object type: object
$ref: regulator.yaml# $ref: regulator.yaml#
unevaluatedProperties: false
"^BUCK|BOOST$": "^BUCK|BOOST$":
type: object type: object
$ref: regulator.yaml# $ref: regulator.yaml#
unevaluatedProperties: false
additionalProperties: false additionalProperties: false
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment