Skip to content

Commit 4cfed93

Browse files
Jing ZhouDivya Sharma
authored andcommitted
ARM: dt: msm8926v2: Match clockplan frequencies
GPU turbo frequency and BIMC frequencies have changed in v2. Modify the dtsi file to match v2 and update the GPU clock plan there.. Change-Id: I5ec79f4faac83d524c393765cec6950f71a1fbf4 CRs-fixed: 605171 Signed-off-by: Lucille Sylvester <[email protected]> Signed-off-by: Jing Zhou <[email protected]> Signed-off-by: Divya Sharma <[email protected]>
1 parent 9f5d7b2 commit 4cfed93

1 file changed

Lines changed: 49 additions & 0 deletions

File tree

arch/arm/boot/dts/msm8926-v2.dtsi

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,52 @@
1616
qcom,msm-id = <200 0x20000>,
1717
<224 0x20000>;
1818
};
19+
20+
&msm_gpu {
21+
/* Updated chip ID */
22+
qcom,chipid = <0x03000512>;
23+
24+
/* Bus Scale Settings */
25+
qcom,msm-bus,num-cases = <4>;
26+
qcom,msm-bus,vectors-KBps =
27+
<26 512 0 0>, <89 604 0 0>,
28+
<26 512 0 1800000>, <89 604 0 3200000>,
29+
<26 512 0 3600000>, <89 604 0 5120000>,
30+
<26 512 0 4800000>, <89 604 0 6400000>;
31+
32+
/* Power levels */
33+
qcom,gpu-pwrlevels {
34+
#address-cells = <1>;
35+
#size-cells = <0>;
36+
37+
compatible = "qcom,gpu-pwrlevels";
38+
39+
qcom,gpu-pwrlevel@0 {
40+
reg = <0>;
41+
qcom,gpu-freq = <500000000>;
42+
qcom,bus-freq = <3>;
43+
qcom,io-fraction = <0>;
44+
};
45+
46+
qcom,gpu-pwrlevel@1 {
47+
reg = <1>;
48+
qcom,gpu-freq = <320000000>;
49+
qcom,bus-freq = <2>;
50+
qcom,io-fraction = <33>;
51+
};
52+
53+
qcom,gpu-pwrlevel@2 {
54+
reg = <2>;
55+
qcom,gpu-freq = <200000000>;
56+
qcom,bus-freq = <1>;
57+
qcom,io-fraction = <100>;
58+
};
59+
60+
qcom,gpu-pwrlevel@3 {
61+
reg = <3>;
62+
qcom,gpu-freq = <19000000>;
63+
qcom,bus-freq = <0>;
64+
qcom,io-fraction = <0>;
65+
};
66+
};
67+
};

0 commit comments

Comments
 (0)