Commit 26e27f4e authored by Christian Marangi's avatar Christian Marangi Committed by Viresh Kumar
Browse files

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: default avatarChristian Marangi <ansuelsmth@gmail.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 8e6cb91f
Loading
Loading
Loading
Loading
+26 −9
Original line number Diff line number Diff line
@@ -55,7 +55,15 @@ properties:

patternProperties:
  '^opp-table(-[a-z0-9]+)?$':
    if:
    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
@@ -65,6 +73,15 @@ patternProperties:
              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

examples: