Skip to content

Commit

Permalink
dt-bindings: opp: Add missing (unevaluated|additional)Properties on c…
Browse files Browse the repository at this point in the history
…hild 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>
  • Loading branch information
Rob Herring authored and Viresh Kumar committed Aug 24, 2022
1 parent d36cb84 commit c7e31e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Documentation/devicetree/bindings/opp/opp-v2-kryo-cpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ properties:
patternProperties:
'^opp-?[0-9]+$':
type: object
additionalProperties: false

properties:
opp-hz: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ properties:
patternProperties:
'^opp-?[0-9]+$':
type: object
additionalProperties: false

properties:
opp-level: true
Expand Down

0 comments on commit c7e31e3

Please sign in to comment.