diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-02-08 16:39:11 +0100 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2023-02-14 10:51:58 +0530 |
commit | 26e27f4e382f126d80e230df2a76d5f1c5a1ac42 (patch) | |
tree | 68d74335659a1c6225c1f831cd3d64b4b739aca9 /Documentation/devicetree | |
parent | 8e6cb91f946a059c3714c6d7f0e43e313f389183 (diff) | |
download | lwn-26e27f4e382f126d80e230df2a76d5f1c5a1ac42.tar.gz lwn-26e27f4e382f126d80e230df2a76d5f1c5a1ac42.zip |
dt-bindings: cpufreq: qcom-cpufreq-nvmem: specify supported opp tables
Add additional info on what opp tables the defined devices in this schema
supports (operating-points-v2-kryo-cpu and operating-points-v2-qcom-level)
and reference them.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'Documentation/devicetree')
-rw-r--r-- | Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml | 35 |
1 files changed, 26 insertions, 9 deletions
diff --git a/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml b/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml index 9c086eac6ca7..7c42d9439abd 100644 --- a/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml +++ b/Documentation/devicetree/bindings/cpufreq/qcom-cpufreq-nvmem.yaml @@ -55,15 +55,32 @@ properties: patternProperties: '^opp-table(-[a-z0-9]+)?$': - if: - properties: - compatible: - const: operating-points-v2-kryo-cpu - then: - patternProperties: - '^opp-?[0-9]+$': - required: - - required-opps + allOf: + - if: + properties: + compatible: + const: operating-points-v2-kryo-cpu + then: + $ref: /schemas/opp/opp-v2-kryo-cpu.yaml# + + - if: + properties: + compatible: + const: operating-points-v2-kryo-cpu + then: + patternProperties: + '^opp-?[0-9]+$': + required: + - required-opps + + - if: + properties: + compatible: + const: operating-points-v2-qcom-level + then: + $ref: /schemas/opp/opp-v2-qcom-level.yaml# + + unevaluatedProperties: false additionalProperties: true |