]> Git Repo - J-linux.git/commitdiff
dt-bindings: opp: drop maxItems from inner items
authorDavid Heidelberg <[email protected]>
Mon, 4 Mar 2024 23:43:06 +0000 (00:43 +0100)
committerViresh Kumar <[email protected]>
Mon, 11 Mar 2024 05:09:24 +0000 (10:39 +0530)
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: 3cb16ad69bef ("dt-bindings: opp: accept array of frequencies")
Suggested-by: Rob Herring <[email protected]>
Signed-off-by: David Heidelberg <[email protected]>
Reviewed-by: Dhruva Gole <[email protected]>
Acked-by: Rob Herring <[email protected]>
Signed-off-by: Viresh Kumar <[email protected]>
Documentation/devicetree/bindings/opp/opp-v2-base.yaml

index e2f8f7af3cf41cf5d9878f18afd4e76fbb9bec55..b1bb87c865ed343dc0a169f6540f0b0e1c2e7357 100644 (file)
@@ -57,8 +57,6 @@ patternProperties:
           specific binding.
         minItems: 1
         maxItems: 32
-        items:
-          maxItems: 1
 
       opp-microvolt:
         description: |
This page took 0.047442 seconds and 4 git commands to generate.