dt-bindings: opp: drop maxItems from inner items
Subsystems (2)
PATCH 1/1 dt-bindings: opp: drop maxItems from inner items
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
---
follow-up of https://lore.kernel.org/lkml/[email protected]/T/
Documentation/devicetree/bindings/opp/opp-v2-base.yaml | 2 -- 1 file changed, 2 deletions(-)
Documentation/devicetree/bindings/opp/opp-v2-base.yaml +0 -2
@@ -57,8 +57,6 @@ patternProperties: specific binding. minItems: 1 maxItems: 32 - items: - maxItems: 1 opp-microvolt: description: |
Signature · 1 line
2.43.0
Hi,
Quoted 20 lines · David Heidelberg
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 longFixes 3cb16ad69bef ("dt-bindings: opp: accept array of frequencies")Suggested-by Rob Herring <[email protected]>Signed-off-by David Heidelberg <[email protected]>---
follow-up of https://lore.kernel.org/lkml/[email protected]/T/Documentation/devicetree/bindings/opp/opp-v2-base.yaml | 2 -- 1 file changed, 2 deletions(-)Documentation/devicetree/bindings/opp/opp-v2-base.yaml +0
-0
Documentation/devicetree/bindings/opp/opp-v2-base.yaml patternProperties: · line 61
Quoted 5 lines
Documentation/devicetree/bindings/opp/opp-v2-base.yaml +0
-2@@ -57,8 +57,6 @@ patternProperties: specific binding. minItems: 1 maxItems: 32 - items: - maxItems: 1
Thanks for the fix,
Signature · 2 lines
Thanks and Regards, Dhruva Gole
Quoted 6 lines · David Heidelberg
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
Quoted 9 lines
Fixes 3cb16ad69bef ("dt-bindings: opp: accept array of frequencies")Suggested-by Rob Herring <[email protected]>Signed-off-by David Heidelberg <[email protected]>---
follow-up of https://lore.kernel.org/lkml/[email protected]/T/Documentation/devicetree/bindings/opp/opp-v2-base.yaml | 2 -- 1 file changed, 2 deletions(-)
Viresh Kumar
AppliedQuoted 20 lines · David Heidelberg
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 longFixes 3cb16ad69bef ("dt-bindings: opp: accept array of frequencies")Suggested-by Rob Herring <[email protected]>Signed-off-by David Heidelberg <[email protected]>---
follow-up of https://lore.kernel.org/lkml/[email protected]/T/Documentation/devicetree/bindings/opp/opp-v2-base.yaml | 2 -- 1 file changed, 2 deletions(-)Documentation/devicetree/bindings/opp/opp-v2-base.yaml +0
-0
Documentation/devicetree/bindings/opp/opp-v2-base.yaml patternProperties: · line 62
Quoted 8 lines
Documentation/devicetree/bindings/opp/opp-v2-base.yaml +0
-2@@ -57,8 +57,6 @@ patternProperties: specific binding. minItems: 1 maxItems: 32 - items: - maxItems: 1 opp-microvolt: description: |
Applied. Thanks.
Signature · 1 line
viresh