aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/opp
diff options
context:
space:
mode:
authorGravatar Konrad Dybcio <konrad.dybcio@linaro.org> 2023-01-16 10:38:42 +0100
committerGravatar Viresh Kumar <viresh.kumar@linaro.org> 2023-01-31 09:01:35 +0530
commit68d8ad3bd9c397f2bf009368cb13e48cb91ea018 (patch)
tree9ec0fcf7ecf63e16d71ac217ff9a964bce19979f /Documentation/devicetree/bindings/opp
parentdrivers/opp: Remove "select SRCU" (diff)
downloadlinux-68d8ad3bd9c397f2bf009368cb13e48cb91ea018.tar.gz
linux-68d8ad3bd9c397f2bf009368cb13e48cb91ea018.tar.bz2
linux-68d8ad3bd9c397f2bf009368cb13e48cb91ea018.zip
dt-bindings: opp: v2-qcom-level: Let qcom,opp-fuse-level be a 2-long array
In some instances (particularly with CPRh) we might want to specifiy more than one qcom,opp-fuse-level, as the same OPP subnodes may be used by different "CPR threads". We need to make sure that n = num_threads entries is legal and so far nobody seems to use more than two, so let's allow that. Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/opp')
-rw-r--r--Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml b/Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml
index b9ce2e099ce9..a30ef93213c0 100644
--- a/Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml
+++ b/Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml
@@ -30,7 +30,9 @@ patternProperties:
this OPP node. Sometimes several corners/levels shares a certain fuse
corner/level. A fuse corner/level contains e.g. ref uV, min uV,
and max uV.
- $ref: /schemas/types.yaml#/definitions/uint32
+ $ref: /schemas/types.yaml#/definitions/uint32-array
+ minItems: 1
+ maxItems: 2
required:
- opp-level