Skip to content

Commit c7e31e3

Browse files
robherringvireshk
authored andcommitted
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>
1 parent d36cb84 commit c7e31e3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Documentation/devicetree/bindings/opp/opp-v2-kryo-cpu.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ properties:
4040
patternProperties:
4141
'^opp-?[0-9]+$':
4242
type: object
43+
additionalProperties: false
4344

4445
properties:
4546
opp-hz: true

Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ properties:
1919
patternProperties:
2020
'^opp-?[0-9]+$':
2121
type: object
22+
additionalProperties: false
2223

2324
properties:
2425
opp-level: true

0 commit comments

Comments
 (0)