Skip to content

Commit

Permalink
dt-bindings: opp: v2-qcom-level: Let qcom,opp-fuse-level be a 2-long …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
Konrad Dybcio authored and Viresh Kumar committed Jan 31, 2023
1 parent cea7be9 commit 68d8ad3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 68d8ad3

Please sign in to comment.