forked from Pzqqt/android_kernel_xiaomi_whyred
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoc.patch
181 lines (171 loc) · 5.12 KB
/
oc.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
diff --git a/arch/arm/boot/dts/qcom/sdm636_e7s.dtsi b/arch/arm/boot/dts/qcom/sdm636_e7s.dtsi
index b7479eea6b43..829a77c0cb50 100644
--- a/arch/arm/boot/dts/qcom/sdm636_e7s.dtsi
+++ b/arch/arm/boot/dts/qcom/sdm636_e7s.dtsi
@@ -42,22 +42,6 @@
};
};
- devfreq_memlat_4: qcom,arm-memlat-mon-4 {
- qcom,core-dev-table =
- < 1113600 762 >,
- < 1401600 3879 >,
- < 1804800 5163 >;
- };
-
- devfreq_cpufreq: devfreq-cpufreq {
- mincpubw-cpufreq {
- cpu-to-dev-map-4 =
- < 1113600 762 >,
- < 1401600 2086 >,
- < 1747200 2929 >,
- < 1804800 5163 >;
- };
- };
};
&soc {
diff --git a/arch/arm/boot/dts/qcom/sdm660-regulator.dtsi b/arch/arm/boot/dts/qcom/sdm660-regulator.dtsi
index e2d8179af62a..e57c2e39b369 100644
--- a/arch/arm/boot/dts/qcom/sdm660-regulator.dtsi
+++ b/arch/arm/boot/dts/qcom/sdm660-regulator.dtsi
@@ -768,7 +768,7 @@
/* Speed bin 3 */
<300000000 633600000 902400000
1113600000 1401600000 1536000000
- 1612800000 1843200000>,
+ 1747200000 1843200000>,
/* Speed bin 4 */
<300000000 633600000 902400000
@@ -918,7 +918,7 @@
/* Speed bin 3 */
<300000000 1113600000 1401600000
- 1747200000 1804800000 2150400000
+ 1747200000 1958400000 2150400000
2208000000>,
/* Speed bin 4 */
diff --git a/arch/arm/boot/dts/qcom/sdm660_e7s.dtsi b/arch/arm/boot/dts/qcom/sdm660_e7s.dtsi
index 44271b4f95f5..c9ef42b821be 100644
--- a/arch/arm/boot/dts/qcom/sdm660_e7s.dtsi
+++ b/arch/arm/boot/dts/qcom/sdm660_e7s.dtsi
@@ -51,7 +51,7 @@
device_type = "cpu";
compatible = "arm,kryo";
reg = <0x0 0x0>;
- clock-frequency = <1612800000>;
+ clock-frequency = <1843200000>;
enable-method = "psci";
qcom,limits-info = <&mitigation_profile0>;
qcom,lmh-dcvs = <&lmh_dcvs0>;
@@ -81,7 +81,7 @@
device_type = "cpu";
compatible = "arm,kryo";
reg = <0x0 0x1>;
- clock-frequency = <1612800000>;
+ clock-frequency = <1843200000>;
enable-method = "psci";
qcom,limits-info = <&mitigation_profile0>;
qcom,lmh-dcvs = <&lmh_dcvs0>;
@@ -105,7 +105,7 @@
device_type = "cpu";
compatible = "arm,kryo";
reg = <0x0 0x2>;
- clock-frequency = <1612800000>;
+ clock-frequency = <1843200000>;
enable-method = "psci";
qcom,limits-info = <&mitigation_profile0>;
qcom,lmh-dcvs = <&lmh_dcvs0>;
@@ -129,7 +129,7 @@
device_type = "cpu";
compatible = "arm,kryo";
reg = <0x0 0x3>;
- clock-frequency = <1612800000>;
+ clock-frequency = <1843200000>;
enable-method = "psci";
qcom,limits-info = <&mitigation_profile0>;
qcom,lmh-dcvs = <&lmh_dcvs0>;
@@ -153,7 +153,7 @@
device_type = "cpu";
compatible = "arm,kryo";
reg = <0x0 0x100>;
- clock-frequency = <1804800000>;
+ clock-frequency = <2208000000>;
enable-method = "psci";
qcom,limits-info = <&mitigation_profile1>;
qcom,lmh-dcvs = <&lmh_dcvs1>;
@@ -181,7 +181,7 @@
device_type = "cpu";
compatible = "arm,kryo";
reg = <0x0 0x101>;
- clock-frequency = <1804800000>;
+ clock-frequency = <2208000000>;
enable-method = "psci";
qcom,limits-info = <&mitigation_profile2>;
qcom,lmh-dcvs = <&lmh_dcvs1>;
@@ -205,7 +205,7 @@
device_type = "cpu";
compatible = "arm,kryo";
reg = <0x0 0x102>;
- clock-frequency = <1804800000>;
+ clock-frequency = <2208000000>;
enable-method = "psci";
qcom,limits-info = <&mitigation_profile3>;
qcom,lmh-dcvs = <&lmh_dcvs1>;
@@ -229,7 +229,7 @@
device_type = "cpu";
compatible = "arm,kryo";
reg = <0x0 0x103>;
- clock-frequency = <1804800000>;
+ clock-frequency = <2208000000>;
enable-method = "psci";
qcom,limits-info = <&mitigation_profile4>;
qcom,lmh-dcvs = <&lmh_dcvs1>;
@@ -1257,7 +1257,7 @@
qcom,core-dev-table =
< 902400 762 >,
< 1401600 2086 >,
- < 1881600 3879 >;
+ < 1843200 3879 >;
};
devfreq_memlat_4: qcom,arm-memlat-mon-4 {
@@ -1268,7 +1268,7 @@
< 1113600 762 >,
< 1401600 3879 >,
< 2150400 5931 >,
- < 2457600 6881 >;
+ < 2208000 6881 >;
};
devfreq_cpufreq: devfreq-cpufreq {
@@ -1277,13 +1277,13 @@
cpu-to-dev-map-0 =
< 633600 762 >,
< 1401600 1571 >,
- < 1881600 2929 >;
+ < 1843200 2929 >;
cpu-to-dev-map-4 =
< 1113600 762 >,
< 1401600 2086 >,
< 1747200 2929 >,
< 2150400 3879 >,
- < 2457600 6881 >;
+ < 2208000 6881 >;
};
};
@@ -1330,7 +1330,8 @@
< 1113600000 0x0404003a 0x052e002e 0x2 4 >,
< 1401600000 0x04040049 0x073a003a 0x2 5 >,
< 1536000000 0x04040050 0x08400040 0x2 6 >,
- < 1612800000 0x04040054 0x09430043 0x2 7 >;
+ < 1747200000 0x0404005b 0x09480048 0x2 7 >,
+ < 1843200000 0x04040060 0x094c004c 0x3 8 >;
qcom,pwrcl-speedbin4-v0 =
< 300000000 0x0004000f 0x01200020 0x1 1 >,
@@ -1365,7 +1366,10 @@
< 1113600000 0x0404003a 0x052e002e 0x1 2 >,
< 1401600000 0x04040049 0x073a003a 0x2 3 >,
< 1747200000 0x0404005b 0x09480048 0x2 4 >,
- < 1804800000 0x0404005e 0x094b004b 0x2 5 >;
+ < 1958400000 0x04040066 0x0a510051 0x2 5 >,
+ < 2150400000 0x04040070 0x0b590059 0x2 6 >,
+ < 2208000000 0x04040073 0x0b5c005c 0x3 7 >;
+
qcom,perfcl-speedbin4-v0 =
< 300000000 0x0004000f 0x01200020 0x1 1 >,