Commit 1fa259cd authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Viresh Kumar
Browse files

dt-bindings: opp: opp-v2-kryo-cpu: support Qualcomm Krait SoCs



Exted the opp-v2-kryo-cpu.yaml to support defining OPP tables for the
previous generation of Qualcomm CPUs, 32-bit Krait-based platforms.

It makes no sense to use 'operating-points-v2-kryo-cpu' compatibility
node for the Krait cores. Add support for the Krait-specific
'operating-points-v2-krait-cpu' compatibility string and the relevant
opp-microvolt subclasses properties.

The listed opp-supported-hw values are applicable only to msm8996 /
msm8996pro platforms. Remove the enum as other platforms will use other
bit values. It makes little sense to list all possible values for all
the platforms here.

Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 184ff4f7
Loading
Loading
Loading
Loading
+8 −4
Original line number Diff line number Diff line
@@ -26,7 +26,9 @@ description: |

properties:
  compatible:
    const: operating-points-v2-kryo-cpu
    enum:
      - operating-points-v2-krait-cpu
      - operating-points-v2-kryo-cpu

  nvmem-cells:
    description: |
@@ -65,14 +67,16 @@ patternProperties:
          5:  MSM8996SG, speedbin 1
          6:  MSM8996SG, speedbin 2
          7-31:  unused
        enum: [0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7,
               0x9, 0xd, 0xe, 0xf,
               0x10, 0x20, 0x30, 0x70]

          Other platforms use bits directly corresponding to speedbin index.

      clock-latency-ns: true

      required-opps: true

    patternProperties:
      '^opp-microvolt-speed[0-9]+-pvs[0-9]+$': true

    required:
      - opp-hz