Skip to content

Commit

Permalink
dt-bindings: opp: drop maxItems from inner items
Browse files Browse the repository at this point in the history
With recent changes within matrix dimensions calculation,
dropping maxItems: 1 provides a warning-free run.

Fixes warning such as:
arch/arm64/boot/dts/qcom/sdm845-oneplus-enchilada.dtb: opp-table: opp-200000000:opp-hz:0: [200000000, 0, 0, 150000000, 0, 0, 0, 0, 300000000] is too long

Fixes: 3cb16ad ("dt-bindings: opp: accept array of frequencies")
Suggested-by: Rob Herring <robh@kernel.org>
Signed-off-by: David Heidelberg <david@ixit.cz>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
  • Loading branch information
David Heidelberg authored and Viresh Kumar committed Mar 11, 2024
1 parent 28330ce commit 13c8cf3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Documentation/devicetree/bindings/opp/opp-v2-base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,6 @@ patternProperties:
specific binding.
minItems: 1
maxItems: 32
items:
maxItems: 1

opp-microvolt:
description: |
Expand Down

0 comments on commit 13c8cf3

Please sign in to comment.