Skip to content

Commit 1fa259c

Browse files
lumagvireshk
authored andcommitted
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: Rob Herring <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
1 parent 184ff4f commit 1fa259c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

Documentation/devicetree/bindings/opp/opp-v2-kryo-cpu.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ description: |
2626
2727
properties:
2828
compatible:
29-
const: operating-points-v2-kryo-cpu
29+
enum:
30+
- operating-points-v2-krait-cpu
31+
- operating-points-v2-kryo-cpu
3032

3133
nvmem-cells:
3234
description: |
@@ -65,14 +67,16 @@ patternProperties:
6567
5: MSM8996SG, speedbin 1
6668
6: MSM8996SG, speedbin 2
6769
7-31: unused
68-
enum: [0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7,
69-
0x9, 0xd, 0xe, 0xf,
70-
0x10, 0x20, 0x30, 0x70]
70+
71+
Other platforms use bits directly corresponding to speedbin index.
7172
7273
clock-latency-ns: true
7374

7475
required-opps: true
7576

77+
patternProperties:
78+
'^opp-microvolt-speed[0-9]+-pvs[0-9]+$': true
79+
7680
required:
7781
- opp-hz
7882

0 commit comments

Comments
 (0)