dt-bindings: opp: Add missing (unevaluated|additional)Properties on child nodes
In order to ensure only documented properties are present, node schemas must have unevaluatedProperties or additionalProperties set to false (typically). Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
This commit is contained in:
committed by
Viresh Kumar
parent
d36cb843e4
commit
c7e31e36d8
@@ -40,6 +40,7 @@ properties:
|
|||||||
patternProperties:
|
patternProperties:
|
||||||
'^opp-?[0-9]+$':
|
'^opp-?[0-9]+$':
|
||||||
type: object
|
type: object
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
opp-hz: true
|
opp-hz: true
|
||||||
|
|||||||
@@ -19,6 +19,7 @@ properties:
|
|||||||
patternProperties:
|
patternProperties:
|
||||||
'^opp-?[0-9]+$':
|
'^opp-?[0-9]+$':
|
||||||
type: object
|
type: object
|
||||||
|
additionalProperties: false
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
opp-level: true
|
opp-level: true
|
||||||
|
|||||||
Reference in New Issue
Block a user