Skip to content

Commit ba38f3c

Browse files
Ansuelvireshk
authored andcommitted
dt-bindings: opp: opp-v2-kryo-cpu: enlarge opp-supported-hw maximum
Enlarge opp-supported-hw maximum value. In recent SoC we started matching more bit and we currently match mask of 112. The old maximum of 7 was good for old SoC that didn't had complex id, but now this is limiting and we need to enlarge it to support more variants. Document all the various mask that can be used and limit them to only reasonable values instead of using a generic maximum limit. Signed-off-by: Christian Marangi <[email protected]> Reviewed-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Viresh Kumar <[email protected]>
1 parent 389de9c commit ba38f3c

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

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

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,22 @@ patternProperties:
5050
opp-supported-hw:
5151
description: |
5252
A single 32 bit bitmap value, representing compatible HW.
53-
Bitmap:
53+
Bitmap for MSM8996 format:
5454
0: MSM8996, speedbin 0
5555
1: MSM8996, speedbin 1
5656
2: MSM8996, speedbin 2
57-
3-31: unused
58-
maximum: 0x7
57+
3: MSM8996, speedbin 3
58+
4-31: unused
59+
60+
Bitmap for MSM8996SG format (speedbin shifted of 4 left):
61+
0-3: unused
62+
4: MSM8996SG, speedbin 0
63+
5: MSM8996SG, speedbin 1
64+
6: MSM8996SG, speedbin 2
65+
7-31: unused
66+
enum: [0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7,
67+
0x9, 0xd, 0xe, 0xf,
68+
0x10, 0x20, 0x30, 0x70]
5969

6070
clock-latency-ns: true
6171

0 commit comments

Comments
 (0)