[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231229191038.247258-1-david@ixit.cz>
Date: Fri, 29 Dec 2023 20:10:29 +0100
From: David Heidelberg <david@...t.cz>
To: Viresh Kumar <vireshk@...nel.org>,
Nishanth Menon <nm@...com>,
Stephen Boyd <sboyd@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Manivannan Sadhasivam <mani@...nel.org>,
Bjorn Andersson <andersson@...nel.org>
Cc: David Heidelberg <david@...t.cz>,
Viresh Kumar <viresh.kumar@...aro.org>,
Rob Herring <robh@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski@...aro.org>,
linux-pm@...r.kernel.org,
devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] dt-bindings: opp: switch inner and outer min/maxItems rules for opp-hz
Fixes issue 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")
Signed-off-by: David Heidelberg <david@...t.cz>
---
Documentation/devicetree/bindings/opp/opp-v2-base.yaml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Documentation/devicetree/bindings/opp/opp-v2-base.yaml b/Documentation/devicetree/bindings/opp/opp-v2-base.yaml
index e2f8f7af3cf4..86d3aa0eb435 100644
--- a/Documentation/devicetree/bindings/opp/opp-v2-base.yaml
+++ b/Documentation/devicetree/bindings/opp/opp-v2-base.yaml
@@ -55,10 +55,9 @@ patternProperties:
to relate the values to their clocks or the order in which the clocks
need to be configured and that is left for the implementation
specific binding.
- minItems: 1
- maxItems: 32
items:
- maxItems: 1
+ minItems: 1
+ maxItems: 32
opp-microvolt:
description: |
--
2.43.0
Powered by blists - more mailing lists