mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-27 00:19:26 -05:00
835 lines
25 KiB
Diff
835 lines
25 KiB
Diff
From ebb9cfb12fea35189ba206f56925e499a4963896 Mon Sep 17 00:00:00 2001
|
|
From: hellsgod <hellsgod@gmx.ch>
|
|
Date: Wed, 22 Apr 2015 22:50:47 +0200
|
|
Subject: [PATCH 1/6] dts: Add some lower frequencies down to 35mhz
|
|
|
|
credits: XileForce, Imoseyon
|
|
---
|
|
arch/arm/boot/dts/qcom/apq8084.dtsi | 51 +++++++++++++++++++++++++++++++++++++
|
|
1 file changed, 51 insertions(+)
|
|
|
|
diff --git a/arch/arm/boot/dts/qcom/apq8084.dtsi b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
|
index 51de8be..1e782d6 100644
|
|
--- a/arch/arm/boot/dts/qcom/apq8084.dtsi
|
|
+++ b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
|
@@ -1127,6 +1127,9 @@
|
|
/* 2.7GHz RC1 */
|
|
qcom,speed2-pvs0-bin-v1 =
|
|
< 0 0 0 >,
|
|
+ < 35800000 500000 17 >,
|
|
+ < 98300000 720000 37 >,
|
|
+ < 223200000 790000 56 >,
|
|
< 300000000 810000 76 >,
|
|
< 345600000 820000 88 >,
|
|
< 422400000 830000 109 >,
|
|
@@ -1162,6 +1165,9 @@
|
|
|
|
qcom,speed2-pvs1-bin-v1 =
|
|
< 0 0 0 >,
|
|
+ < 35800000 500000 17 >,
|
|
+ < 98300000 710000 37 >,
|
|
+ < 223200000 780000 56 >,
|
|
< 300000000 800000 76 >,
|
|
< 345600000 810000 88 >,
|
|
< 422400000 820000 109 >,
|
|
@@ -1197,6 +1203,9 @@
|
|
|
|
qcom,speed2-pvs2-bin-v1 =
|
|
< 0 0 0 >,
|
|
+ < 35800000 500000 17 >,
|
|
+ < 98300000 700000 37 >,
|
|
+ < 223200000 770000 56 >,
|
|
< 300000000 790000 76 >,
|
|
< 345600000 800000 88 >,
|
|
< 422400000 810000 109 >,
|
|
@@ -1232,6 +1241,9 @@
|
|
|
|
qcom,speed2-pvs3-bin-v1 =
|
|
< 0 0 0 >,
|
|
+ < 35800000 500000 17 >,
|
|
+ < 98300000 690000 37 >,
|
|
+ < 223200000 760000 56 >,
|
|
< 300000000 780000 76 >,
|
|
< 345600000 790000 88 >,
|
|
< 422400000 800000 109 >,
|
|
@@ -1267,6 +1279,9 @@
|
|
|
|
qcom,speed2-pvs4-bin-v1 =
|
|
< 0 0 0 >,
|
|
+ < 35800000 500000 17 >,
|
|
+ < 98300000 680000 37 >,
|
|
+ < 223200000 750000 56 >,
|
|
< 300000000 770000 76 >,
|
|
< 345600000 780000 88 >,
|
|
< 422400000 790000 109 >,
|
|
@@ -1302,6 +1317,9 @@
|
|
|
|
qcom,speed2-pvs5-bin-v1 =
|
|
< 0 0 0 >,
|
|
+ < 35800000 500000 17 >,
|
|
+ < 98300000 670000 37 >,
|
|
+ < 223200000 740000 56 >,
|
|
< 300000000 760000 76 >,
|
|
< 345600000 770000 88 >,
|
|
< 422400000 780000 109 >,
|
|
@@ -1337,6 +1355,9 @@
|
|
|
|
qcom,speed2-pvs6-bin-v1 =
|
|
< 0 0 0 >,
|
|
+ < 35800000 500000 17 >,
|
|
+ < 98300000 660000 37 >,
|
|
+ < 223200000 730000 56 >,
|
|
< 300000000 750000 76 >,
|
|
< 345600000 760000 88 >,
|
|
< 422400000 770000 109 >,
|
|
@@ -1372,6 +1393,9 @@
|
|
|
|
qcom,speed2-pvs7-bin-v1 =
|
|
< 0 0 0 >,
|
|
+ < 35800000 500000 17 >,
|
|
+ < 98300000 650000 37 >,
|
|
+ < 223200000 720000 56 >,
|
|
< 300000000 740000 76 >,
|
|
< 345600000 750000 88 >,
|
|
< 422400000 760000 109 >,
|
|
@@ -1407,6 +1431,9 @@
|
|
|
|
qcom,speed2-pvs8-bin-v1 =
|
|
< 0 0 0 >,
|
|
+ < 35800000 500000 17 >,
|
|
+ < 98300000 640000 37 >,
|
|
+ < 223200000 710000 56 >,
|
|
< 300000000 730000 76 >,
|
|
< 345600000 740000 88 >,
|
|
< 422400000 750000 109 >,
|
|
@@ -1442,6 +1469,9 @@
|
|
|
|
qcom,speed2-pvs9-bin-v1 =
|
|
< 0 0 0 >,
|
|
+ < 35800000 500000 17 >,
|
|
+ < 98300000 630000 37 >,
|
|
+ < 223200000 700000 56 >,
|
|
< 300000000 720000 76 >,
|
|
< 345600000 730000 88 >,
|
|
< 422400000 740000 109 >,
|
|
@@ -1477,6 +1507,9 @@
|
|
|
|
qcom,speed2-pvs10-bin-v1 =
|
|
< 0 0 0 >,
|
|
+ < 35800000 500000 17 >,
|
|
+ < 98300000 620000 37 >,
|
|
+ < 223200000 690000 56 >,
|
|
< 300000000 710000 76 >,
|
|
< 345600000 720000 88 >,
|
|
< 422400000 730000 109 >,
|
|
@@ -1512,6 +1545,9 @@
|
|
|
|
qcom,speed2-pvs11-bin-v1 =
|
|
< 0 0 0 >,
|
|
+ < 35800000 500000 17 >,
|
|
+ < 98300000 610000 37 >,
|
|
+ < 223200000 680000 56 >,
|
|
< 300000000 700000 76 >,
|
|
< 345600000 710000 88 >,
|
|
< 422400000 720000 109 >,
|
|
@@ -1547,6 +1583,9 @@
|
|
|
|
qcom,speed2-pvs12-bin-v1 =
|
|
< 0 0 0 >,
|
|
+ < 35800000 500000 17 >,
|
|
+ < 98300000 600000 37 >,
|
|
+ < 223200000 670000 56 >,
|
|
< 300000000 690000 76 >,
|
|
< 345600000 700000 88 >,
|
|
< 422400000 710000 109 >,
|
|
@@ -1582,6 +1621,9 @@
|
|
|
|
qcom,speed2-pvs13-bin-v1 =
|
|
< 0 0 0 >,
|
|
+ < 35800000 500000 17 >,
|
|
+ < 98300000 590000 37 >,
|
|
+ < 223200000 660000 56 >,
|
|
< 300000000 680000 76 >,
|
|
< 345600000 690000 88 >,
|
|
< 422400000 700000 109 >,
|
|
@@ -1617,6 +1659,9 @@
|
|
|
|
qcom,speed2-pvs14-bin-v1 =
|
|
< 0 0 0 >,
|
|
+ < 35800000 500000 17 >,
|
|
+ < 98300000 580000 37 >,
|
|
+ < 223200000 650000 56 >,
|
|
< 300000000 670000 76 >,
|
|
< 345600000 680000 88 >,
|
|
< 422400000 690000 109 >,
|
|
@@ -1652,6 +1697,9 @@
|
|
|
|
qcom,speed2-pvs15-bin-v1 =
|
|
< 0 0 0 >,
|
|
+ < 35800000 500000 17 >,
|
|
+ < 98300000 570000 37 >,
|
|
+ < 223200000 640000 56 >,
|
|
< 300000000 660000 76 >,
|
|
< 345600000 670000 88 >,
|
|
< 422400000 680000 109 >,
|
|
@@ -4297,6 +4345,9 @@
|
|
reg = <0 4>;
|
|
compatible = "qcom,msm-cpufreq";
|
|
qcom,cpufreq-table =
|
|
+ < 35800 35800 762 >,
|
|
+ < 98300 98300 762 >,
|
|
+ < 223200 223200 762 >,
|
|
< 300000 300000 1144 >,
|
|
< 422400 422400 2288 >,
|
|
< 652800 499200 3051 >,
|
|
--
|
|
2.9.3
|
|
|
|
|
|
From 143adae138c68fbcd53fa8dbc644ef4a0850879c Mon Sep 17 00:00:00 2001
|
|
From: bhb27 <fglfgl27@gmail.com>
|
|
Date: Thu, 25 Feb 2016 14:46:26 -0800
|
|
Subject: [PATCH 2/6] qcom:apq8084: OC to 2880 MHz
|
|
|
|
---
|
|
arch/arm/boot/dts/qcom/apq8084.dtsi | 198 ++++++++++++++++++++++++++++++------
|
|
1 file changed, 165 insertions(+), 33 deletions(-)
|
|
|
|
diff --git a/arch/arm/boot/dts/qcom/apq8084.dtsi b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
|
index 1e782d6..c419bc3 100644
|
|
--- a/arch/arm/boot/dts/qcom/apq8084.dtsi
|
|
+++ b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
|
@@ -1161,7 +1161,11 @@
|
|
< 2419200000 1105000 777 >,
|
|
< 2496000000 1120000 813 >,
|
|
< 2572800000 1135000 849 >,
|
|
- < 2649600000 1150000 886 >;
|
|
+ < 2649600000 1150000 886 >,
|
|
+ < 2688000000 1160000 917 >,
|
|
+ < 2764800000 1170000 952 >,
|
|
+ < 2841600000 1185000 980 >,
|
|
+ < 2880000000 1195000 1003 >;
|
|
|
|
qcom,speed2-pvs1-bin-v1 =
|
|
< 0 0 0 >,
|
|
@@ -1199,7 +1203,11 @@
|
|
< 2419200000 1095000 777 >,
|
|
< 2496000000 1110000 813 >,
|
|
< 2572800000 1125000 849 >,
|
|
- < 2649600000 1140000 886 >;
|
|
+ < 2649600000 1140000 886 >,
|
|
+ < 2688000000 1150000 917 >,
|
|
+ < 2764800000 1160000 952 >,
|
|
+ < 2841600000 1175000 980 >,
|
|
+ < 2880000000 1185000 1003 >;
|
|
|
|
qcom,speed2-pvs2-bin-v1 =
|
|
< 0 0 0 >,
|
|
@@ -1237,7 +1245,11 @@
|
|
< 2419200000 1085000 777 >,
|
|
< 2496000000 1100000 813 >,
|
|
< 2572800000 1115000 849 >,
|
|
- < 2649600000 1130000 886 >;
|
|
+ < 2649600000 1130000 886 >,
|
|
+ < 2688000000 1140000 917 >,
|
|
+ < 2764800000 1150000 952 >,
|
|
+ < 2841600000 1165000 980 >,
|
|
+ < 2880000000 1175000 1003 >;
|
|
|
|
qcom,speed2-pvs3-bin-v1 =
|
|
< 0 0 0 >,
|
|
@@ -1275,7 +1287,11 @@
|
|
< 2419200000 1075000 777 >,
|
|
< 2496000000 1090000 813 >,
|
|
< 2572800000 1105000 849 >,
|
|
- < 2649600000 1120000 886 >;
|
|
+ < 2649600000 1120000 886 >,
|
|
+ < 2688000000 1130000 917 >,
|
|
+ < 2764800000 1140000 952 >,
|
|
+ < 2841600000 1155000 980 >,
|
|
+ < 2880000000 1165000 1003 >;
|
|
|
|
qcom,speed2-pvs4-bin-v1 =
|
|
< 0 0 0 >,
|
|
@@ -1313,7 +1329,11 @@
|
|
< 2419200000 1065000 777 >,
|
|
< 2496000000 1080000 813 >,
|
|
< 2572800000 1095000 849 >,
|
|
- < 2649600000 1110000 886 >;
|
|
+ < 2649600000 1110000 886 >,
|
|
+ < 2688000000 1120000 917 >,
|
|
+ < 2764800000 1130000 952 >,
|
|
+ < 2841600000 1145000 980 >,
|
|
+ < 2880000000 1155000 1003 >;
|
|
|
|
qcom,speed2-pvs5-bin-v1 =
|
|
< 0 0 0 >,
|
|
@@ -1351,7 +1371,11 @@
|
|
< 2419200000 1055000 777 >,
|
|
< 2496000000 1070000 813 >,
|
|
< 2572800000 1085000 849 >,
|
|
- < 2649600000 1100000 886 >;
|
|
+ < 2649600000 1100000 886 >,
|
|
+ < 2688000000 1110000 917 >,
|
|
+ < 2764800000 1120000 952 >,
|
|
+ < 2841600000 1135000 980 >,
|
|
+ < 2880000000 1145000 1003 >;
|
|
|
|
qcom,speed2-pvs6-bin-v1 =
|
|
< 0 0 0 >,
|
|
@@ -1389,7 +1413,11 @@
|
|
< 2419200000 1045000 777 >,
|
|
< 2496000000 1060000 813 >,
|
|
< 2572800000 1075000 849 >,
|
|
- < 2649600000 1090000 886 >;
|
|
+ < 2649600000 1090000 886 >,
|
|
+ < 2688000000 1100000 917 >,
|
|
+ < 2764800000 1110000 952 >,
|
|
+ < 2841600000 1125000 980 >,
|
|
+ < 2880000000 1135000 1003 >;
|
|
|
|
qcom,speed2-pvs7-bin-v1 =
|
|
< 0 0 0 >,
|
|
@@ -1427,7 +1455,11 @@
|
|
< 2419200000 1035000 777 >,
|
|
< 2496000000 1050000 813 >,
|
|
< 2572800000 1065000 849 >,
|
|
- < 2649600000 1080000 886 >;
|
|
+ < 2649600000 1080000 886 >,
|
|
+ < 2688000000 1090000 917 >,
|
|
+ < 2764800000 1100000 952 >,
|
|
+ < 2841600000 1115000 980 >,
|
|
+ < 2880000000 1125000 1003 >;
|
|
|
|
qcom,speed2-pvs8-bin-v1 =
|
|
< 0 0 0 >,
|
|
@@ -1465,7 +1497,11 @@
|
|
< 2419200000 1025000 777 >,
|
|
< 2496000000 1040000 813 >,
|
|
< 2572800000 1055000 849 >,
|
|
- < 2649600000 1070000 886 >;
|
|
+ < 2649600000 1070000 886 >,
|
|
+ < 2688000000 1080000 917 >,
|
|
+ < 2764800000 1090000 952 >,
|
|
+ < 2841600000 1105000 980 >,
|
|
+ < 2880000000 1115000 1003 >;
|
|
|
|
qcom,speed2-pvs9-bin-v1 =
|
|
< 0 0 0 >,
|
|
@@ -1503,7 +1539,11 @@
|
|
< 2419200000 1015000 777 >,
|
|
< 2496000000 1030000 813 >,
|
|
< 2572800000 1045000 849 >,
|
|
- < 2649600000 1060000 886 >;
|
|
+ < 2649600000 1060000 886 >,
|
|
+ < 2688000000 1070000 917 >,
|
|
+ < 2764800000 1090000 952 >,
|
|
+ < 2841600000 1105000 980 >,
|
|
+ < 2880000000 1115000 1003 >;
|
|
|
|
qcom,speed2-pvs10-bin-v1 =
|
|
< 0 0 0 >,
|
|
@@ -1541,7 +1581,11 @@
|
|
< 2419200000 1005000 777 >,
|
|
< 2496000000 1020000 813 >,
|
|
< 2572800000 1035000 849 >,
|
|
- < 2649600000 1050000 886 >;
|
|
+ < 2649600000 1050000 886 >,
|
|
+ < 2688000000 1060000 917 >,
|
|
+ < 2764800000 1080000 952 >,
|
|
+ < 2841600000 1095000 980 >,
|
|
+ < 2880000000 1105000 1003 >;
|
|
|
|
qcom,speed2-pvs11-bin-v1 =
|
|
< 0 0 0 >,
|
|
@@ -1579,7 +1623,11 @@
|
|
< 2419200000 995000 777 >,
|
|
< 2496000000 1010000 813 >,
|
|
< 2572800000 1025000 849 >,
|
|
- < 2649600000 1040000 886 >;
|
|
+ < 2649600000 1040000 886 >,
|
|
+ < 2688000000 1050000 917 >,
|
|
+ < 2764800000 1060000 952 >,
|
|
+ < 2841600000 1075000 980 >,
|
|
+ < 2880000000 1085000 1003 >;
|
|
|
|
qcom,speed2-pvs12-bin-v1 =
|
|
< 0 0 0 >,
|
|
@@ -1617,7 +1665,11 @@
|
|
< 2419200000 985000 777 >,
|
|
< 2496000000 1000000 813 >,
|
|
< 2572800000 1015000 849 >,
|
|
- < 2649600000 1030000 886 >;
|
|
+ < 2649600000 1030000 886 >,
|
|
+ < 2688000000 1040000 917 >,
|
|
+ < 2764800000 1050000 952 >,
|
|
+ < 2841600000 1065000 980 >,
|
|
+ < 2880000000 1075000 1003 >;
|
|
|
|
qcom,speed2-pvs13-bin-v1 =
|
|
< 0 0 0 >,
|
|
@@ -1655,7 +1707,11 @@
|
|
< 2419200000 975000 777 >,
|
|
< 2496000000 990000 813 >,
|
|
< 2572800000 1005000 849 >,
|
|
- < 2649600000 1020000 886 >;
|
|
+ < 2649600000 1020000 886 >,
|
|
+ < 2688000000 1030000 917 >,
|
|
+ < 2764800000 1040000 952 >,
|
|
+ < 2841600000 1055000 980 >,
|
|
+ < 2880000000 1065000 1003 >;
|
|
|
|
qcom,speed2-pvs14-bin-v1 =
|
|
< 0 0 0 >,
|
|
@@ -1693,7 +1749,11 @@
|
|
< 2419200000 965000 777 >,
|
|
< 2496000000 980000 813 >,
|
|
< 2572800000 995000 849 >,
|
|
- < 2649600000 1010000 886 >;
|
|
+ < 2649600000 1010000 886 >,
|
|
+ < 2688000000 1020000 917 >,
|
|
+ < 2764800000 1030000 952 >,
|
|
+ < 2841600000 1045000 980 >,
|
|
+ < 2880000000 1055000 1003 >;
|
|
|
|
qcom,speed2-pvs15-bin-v1 =
|
|
< 0 0 0 >,
|
|
@@ -1731,7 +1791,11 @@
|
|
< 2419200000 955000 777 >,
|
|
< 2496000000 970000 813 >,
|
|
< 2572800000 985000 849 >,
|
|
- < 2649600000 1000000 886 >;
|
|
+ < 2649600000 1000000 886 >,
|
|
+ < 2688000000 1010000 917 >,
|
|
+ < 2764800000 1020000 952 >,
|
|
+ < 2841600000 1035000 980 >,
|
|
+ < 2880000000 1045000 1003 >;
|
|
|
|
/* 2.7GHz RC0 */
|
|
qcom,speed2-pvs0-bin-v0 =
|
|
@@ -1767,7 +1831,11 @@
|
|
< 2419200000 1105000 777 >,
|
|
< 2496000000 1120000 813 >,
|
|
< 2572800000 1135000 849 >,
|
|
- < 2649600000 1150000 886 >;
|
|
+ < 2649600000 1150000 886 >,
|
|
+ < 2688000000 1160000 917 >,
|
|
+ < 2764800000 1170000 952 >,
|
|
+ < 2841600000 1185000 980 >,
|
|
+ < 2880000000 1195000 1003 >;
|
|
|
|
qcom,speed2-pvs1-bin-v0 =
|
|
< 0 0 0 >,
|
|
@@ -1802,7 +1870,11 @@
|
|
< 2419200000 1095000 777 >,
|
|
< 2496000000 1110000 813 >,
|
|
< 2572800000 1125000 849 >,
|
|
- < 2649600000 1140000 886 >;
|
|
+ < 2649600000 1140000 886 >,
|
|
+ < 2688000000 1150000 917 >,
|
|
+ < 2764800000 1160000 952 >,
|
|
+ < 2841600000 1185000 980 >,
|
|
+ < 2880000000 1195000 1003 >;
|
|
|
|
qcom,speed2-pvs2-bin-v0 =
|
|
< 0 0 0 >,
|
|
@@ -1837,7 +1909,11 @@
|
|
< 2419200000 1085000 777 >,
|
|
< 2496000000 1100000 813 >,
|
|
< 2572800000 1115000 849 >,
|
|
- < 2649600000 1130000 886 >;
|
|
+ < 2649600000 1130000 886 >,
|
|
+ < 2688000000 1140000 917 >,
|
|
+ < 2764800000 1150000 952 >,
|
|
+ < 2841600000 1165000 980 >,
|
|
+ < 2880000000 1175000 1003 >;
|
|
|
|
qcom,speed2-pvs3-bin-v0 =
|
|
< 0 0 0 >,
|
|
@@ -1872,7 +1948,11 @@
|
|
< 2419200000 1075000 777 >,
|
|
< 2496000000 1090000 813 >,
|
|
< 2572800000 1105000 849 >,
|
|
- < 2649600000 1120000 886 >;
|
|
+ < 2649600000 1120000 886 >,
|
|
+ < 2688000000 1130000 917 >,
|
|
+ < 2764800000 1140000 952 >,
|
|
+ < 2841600000 1165000 980 >,
|
|
+ < 2880000000 1175000 1003 >;
|
|
|
|
qcom,speed2-pvs4-bin-v0 =
|
|
< 0 0 0 >,
|
|
@@ -1907,7 +1987,11 @@
|
|
< 2419200000 1065000 777 >,
|
|
< 2496000000 1080000 813 >,
|
|
< 2572800000 1095000 849 >,
|
|
- < 2649600000 1110000 886 >;
|
|
+ < 2649600000 1110000 886 >,
|
|
+ < 2688000000 1120000 917 >,
|
|
+ < 2764800000 1130000 952 >,
|
|
+ < 2841600000 1145000 980 >,
|
|
+ < 2880000000 1155000 1003 >;
|
|
|
|
qcom,speed2-pvs5-bin-v0 =
|
|
< 0 0 0 >,
|
|
@@ -1942,7 +2026,11 @@
|
|
< 2419200000 1055000 777 >,
|
|
< 2496000000 1070000 813 >,
|
|
< 2572800000 1085000 849 >,
|
|
- < 2649600000 1100000 886 >;
|
|
+ < 2649600000 1100000 886 >,
|
|
+ < 2688000000 1110000 917 >,
|
|
+ < 2764800000 1120000 952 >,
|
|
+ < 2841600000 1135000 980 >,
|
|
+ < 2880000000 1145000 1003 >;
|
|
|
|
qcom,speed2-pvs6-bin-v0 =
|
|
< 0 0 0 >,
|
|
@@ -1977,7 +2065,11 @@
|
|
< 2419200000 1045000 777 >,
|
|
< 2496000000 1060000 813 >,
|
|
< 2572800000 1075000 849 >,
|
|
- < 2649600000 1090000 886 >;
|
|
+ < 2649600000 1090000 886 >,
|
|
+ < 2688000000 1100000 917 >,
|
|
+ < 2764800000 1110000 952 >,
|
|
+ < 2841600000 1125000 980 >,
|
|
+ < 2880000000 1135000 1003 >;
|
|
|
|
qcom,speed2-pvs7-bin-v0 =
|
|
< 0 0 0 >,
|
|
@@ -2012,7 +2104,11 @@
|
|
< 2419200000 1035000 777 >,
|
|
< 2496000000 1050000 813 >,
|
|
< 2572800000 1065000 849 >,
|
|
- < 2649600000 1080000 886 >;
|
|
+ < 2649600000 1080000 886 >,
|
|
+ < 2688000000 1090000 917 >,
|
|
+ < 2764800000 1100000 952 >,
|
|
+ < 2841600000 1115000 980 >,
|
|
+ < 2880000000 1125000 1003 >;
|
|
|
|
qcom,speed2-pvs8-bin-v0 =
|
|
< 0 0 0 >,
|
|
@@ -2047,7 +2143,11 @@
|
|
< 2419200000 1025000 777 >,
|
|
< 2496000000 1040000 813 >,
|
|
< 2572800000 1055000 849 >,
|
|
- < 2649600000 1070000 886 >;
|
|
+ < 2649600000 1070000 886 >,
|
|
+ < 2688000000 1080000 917 >,
|
|
+ < 2764800000 1090000 952 >,
|
|
+ < 2841600000 1105000 980 >,
|
|
+ < 2880000000 1115000 1003 >;
|
|
|
|
qcom,speed2-pvs9-bin-v0 =
|
|
< 0 0 0 >,
|
|
@@ -2082,7 +2182,11 @@
|
|
< 2419200000 1015000 777 >,
|
|
< 2496000000 1030000 813 >,
|
|
< 2572800000 1045000 849 >,
|
|
- < 2649600000 1060000 886 >;
|
|
+ < 2649600000 1060000 886 >,
|
|
+ < 2688000000 1070000 917 >,
|
|
+ < 2764800000 1080000 952 >,
|
|
+ < 2841600000 1095000 980 >,
|
|
+ < 2880000000 1105000 1003 >;
|
|
|
|
qcom,speed2-pvs10-bin-v0 =
|
|
< 0 0 0 >,
|
|
@@ -2117,7 +2221,11 @@
|
|
< 2419200000 1005000 777 >,
|
|
< 2496000000 1020000 813 >,
|
|
< 2572800000 1035000 849 >,
|
|
- < 2649600000 1050000 886 >;
|
|
+ < 2649600000 1050000 886 >,
|
|
+ < 2688000000 1060000 917 >,
|
|
+ < 2764800000 1070000 952 >,
|
|
+ < 2841600000 1085000 980 >,
|
|
+ < 2880000000 1095000 1003 >;
|
|
|
|
qcom,speed2-pvs11-bin-v0 =
|
|
< 0 0 0 >,
|
|
@@ -2152,7 +2260,11 @@
|
|
< 2419200000 995000 777 >,
|
|
< 2496000000 1010000 813 >,
|
|
< 2572800000 1025000 849 >,
|
|
- < 2649600000 1040000 886 >;
|
|
+ < 2649600000 1040000 886 >,
|
|
+ < 2688000000 1050000 917 >,
|
|
+ < 2764800000 1060000 952 >,
|
|
+ < 2841600000 1075000 980 >,
|
|
+ < 2880000000 1085000 1003 >;
|
|
|
|
qcom,speed2-pvs12-bin-v0 =
|
|
< 0 0 0 >,
|
|
@@ -2187,7 +2299,11 @@
|
|
< 2419200000 985000 777 >,
|
|
< 2496000000 1000000 813 >,
|
|
< 2572800000 1015000 849 >,
|
|
- < 2649600000 1030000 886 >;
|
|
+ < 2649600000 1030000 886 >,
|
|
+ < 2688000000 1040000 917 >,
|
|
+ < 2764800000 1050000 952 >,
|
|
+ < 2841600000 1065000 980 >,
|
|
+ < 2880000000 1075000 1003 >;
|
|
|
|
qcom,speed2-pvs13-bin-v0 =
|
|
< 0 0 0 >,
|
|
@@ -2222,7 +2338,11 @@
|
|
< 2419200000 975000 777 >,
|
|
< 2496000000 990000 813 >,
|
|
< 2572800000 1005000 849 >,
|
|
- < 2649600000 1020000 886 >;
|
|
+ < 2649600000 1020000 886 >,
|
|
+ < 2688000000 1030000 917 >,
|
|
+ < 2764800000 1040000 952 >,
|
|
+ < 2841600000 1055000 980 >,
|
|
+ < 2880000000 1065000 1003 >;
|
|
|
|
qcom,speed2-pvs14-bin-v0 =
|
|
< 0 0 0 >,
|
|
@@ -2257,7 +2377,11 @@
|
|
< 2419200000 965000 777 >,
|
|
< 2496000000 980000 813 >,
|
|
< 2572800000 995000 849 >,
|
|
- < 2649600000 1010000 886 >;
|
|
+ < 2649600000 1010000 886 >,
|
|
+ < 2688000000 1020000 917 >,
|
|
+ < 2764800000 1030000 952 >,
|
|
+ < 2841600000 1045000 980 >,
|
|
+ < 2880000000 1055000 1003 >;
|
|
|
|
qcom,speed2-pvs15-bin-v0 =
|
|
< 0 0 0 >,
|
|
@@ -2292,7 +2416,11 @@
|
|
< 2419200000 955000 777 >,
|
|
< 2496000000 970000 813 >,
|
|
< 2572800000 985000 849 >,
|
|
- < 2649600000 1000000 886 >;
|
|
+ < 2649600000 1000000 886 >,
|
|
+ < 2688000000 1010000 917 >,
|
|
+ < 2764800000 1020000 952 >,
|
|
+ < 2841600000 1035000 980 >,
|
|
+ < 2880000000 1045000 1003 >;
|
|
|
|
/* 2.5GHz RC1 */
|
|
qcom,speed1-pvs0-bin-v1 =
|
|
@@ -4365,7 +4493,11 @@
|
|
< 2457600 1728000 16250 >,
|
|
< 2496000 1728000 16250 >,
|
|
< 2572800 1728000 16250 >,
|
|
- < 2649600 1728000 16250 >;
|
|
+ < 2649600 1728000 16250 >,
|
|
+ < 2688000 1728000 16250 >, /* overclock */
|
|
+ < 2764800 1728000 16250 >,
|
|
+ < 2841600 1728000 16250 >,
|
|
+ < 2880000 1728000 16250 >;
|
|
};
|
|
|
|
usb_otg: usb@f9a55000 {
|
|
--
|
|
2.9.3
|
|
|
|
|
|
From aeca3d3b8d3177ddf8aab303b54f5ef3a1d0ce05 Mon Sep 17 00:00:00 2001
|
|
From: XileForce <rdaguiar360@gmail.com>
|
|
Date: Mon, 11 May 2015 21:43:20 -0700
|
|
Subject: [PATCH 3/6] APQ8084: 2457600 Is Not A Real Frequency. Replace It With
|
|
2419200 2457600 does not exist in our voltage/current tables. Thus its
|
|
voltage cant be adjusted, nor am I sure what voltage it actually uses since
|
|
it isnt defined anywhere. Let's replace that with the existing, but currently
|
|
unused, 2419200 step.
|
|
|
|
---
|
|
arch/arm/boot/dts/qcom/apq8084.dtsi | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/arch/arm/boot/dts/qcom/apq8084.dtsi b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
|
index c419bc3..1fe7174 100644
|
|
--- a/arch/arm/boot/dts/qcom/apq8084.dtsi
|
|
+++ b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
|
@@ -4490,7 +4490,7 @@
|
|
< 1728000 1651200 12145 >,
|
|
< 1958400 1728000 16250 >,
|
|
< 2265600 1728000 16250 >,
|
|
- < 2457600 1728000 16250 >,
|
|
+ < 2419200 1728000 16250 >,
|
|
< 2496000 1728000 16250 >,
|
|
< 2572800 1728000 16250 >,
|
|
< 2649600 1728000 16250 >,
|
|
--
|
|
2.9.3
|
|
|
|
|
|
From 591d576aba39ec8ecb3c4c564577490e451d8839 Mon Sep 17 00:00:00 2001
|
|
From: Felipe Leon <fglfgl27@gmail.com>
|
|
Date: Sat, 17 Dec 2016 03:30:45 -0800
|
|
Subject: [PATCH 4/6] apq8084: DTB Fix qcom,bcl table
|
|
|
|
---
|
|
arch/arm/boot/dts/qcom/apq8084.dtsi | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/arch/arm/boot/dts/qcom/apq8084.dtsi b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
|
index 1fe7174..a5f2a26 100644
|
|
--- a/arch/arm/boot/dts/qcom/apq8084.dtsi
|
|
+++ b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
|
@@ -5030,9 +5030,9 @@
|
|
qcom,ibat-monitor {
|
|
high-threshold-uamp = <3000000>;
|
|
low-threshold-uamp = <1000000>;
|
|
- mitigation-freq-khz = <1958400>;
|
|
- mitigation-gpu-freq-khz = <389000>;
|
|
- max-gpu-freq-khz = <600000>;
|
|
+ mitigation-freq-khz = <2880000>;
|
|
+ mitigation-gpu-freq-khz = <350000>;
|
|
+ max-gpu-freq-khz = <800000>;
|
|
ibat-channel = <0x15>;
|
|
adc-interval-usec = <3900>;
|
|
uv-to-ua-numerator = <2>;
|
|
--
|
|
2.9.3
|
|
|
|
|
|
From 170faa65e72f696aaa6a60cc9653c530c2225d32 Mon Sep 17 00:00:00 2001
|
|
From: Felipe de Leon <fglfgl27@gmail.com>
|
|
Date: Sat, 17 Dec 2016 04:04:13 -0800
|
|
Subject: [PATCH 5/6] boot: dtsi: Adds the current values for the cores in uA
|
|
for under and overclock
|
|
|
|
Current value based on calculos made using the stock values
|
|
orginal commit
|
|
bhb27/android_kernel_motorola_apq8084@0e332d0
|
|
bhb27/android_kernel_motorola_apq8084@9d21c12
|
|
---
|
|
arch/arm/boot/dts/qcom/apq8084.dtsi | 36 ++++++++++++++++++++++++++++--------
|
|
1 file changed, 28 insertions(+), 8 deletions(-)
|
|
|
|
diff --git a/arch/arm/boot/dts/qcom/apq8084.dtsi b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
|
index a5f2a26..8b264bd 100644
|
|
--- a/arch/arm/boot/dts/qcom/apq8084.dtsi
|
|
+++ b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
|
@@ -38,7 +38,8 @@
|
|
reg = <0x0>;
|
|
// The currents(uA) correspond to the frequencies in the
|
|
// frequency table.
|
|
- current = < 71000 //300000 kHz
|
|
+ current = < 64000 //268800 kHz underclock
|
|
+ 71000 //300000 kHz
|
|
83000 //422400 kHz
|
|
97000 //652800 kHz
|
|
106000 //729600 kHz
|
|
@@ -55,7 +56,11 @@
|
|
405000 //2457600 kHz
|
|
405000 //2496000 kHz
|
|
413000 //2572800 kHz
|
|
- 414000>; //2649600 kHz
|
|
+ 414000 //2649600 kHz
|
|
+ 420000 //2688000 kHz overclock
|
|
+ 432000 //2764800 kHz
|
|
+ 444000 //2841600 kHz
|
|
+ 450000>; //2880000 kHz
|
|
};
|
|
|
|
CPU1: cpu@1 {
|
|
@@ -64,7 +69,8 @@
|
|
reg = <0x1>;
|
|
// The currents(uA) correspond to the frequencies in the
|
|
// frequency table.
|
|
- current = < 40470 //300000 kHz
|
|
+ current = < 36260 //268800 kHz underclock
|
|
+ 40470 //300000 kHz
|
|
47309 //422400 kHz
|
|
55289 //652800 kHz
|
|
60419 //729600 kHz
|
|
@@ -81,7 +87,11 @@
|
|
230849 //2457600 kHz
|
|
230849 //2496000 kHz
|
|
235409 //2572800 kHz
|
|
- 235979>; //2649600 kHz
|
|
+ 414000 //2649600 kHz
|
|
+ 420000 //2688000 kHz overclock
|
|
+ 432000 //2764800 kHz
|
|
+ 444000 //2841600 kHz
|
|
+ 450000>; //2880000 kHz
|
|
};
|
|
|
|
CPU2: cpu@2 {
|
|
@@ -90,7 +100,8 @@
|
|
reg = <0x2>;
|
|
// The currents(uA) correspond to the frequencies in the
|
|
// frequency table.
|
|
- current = < 46860 //300000 kHz
|
|
+ current = < 41980 //268800 kHz underclock
|
|
+ 46860 //300000 kHz
|
|
54780 //422400 kHz
|
|
64020 //652800 kHz
|
|
69960 //729600 kHz
|
|
@@ -107,7 +118,11 @@
|
|
267300 //2457600 kHz
|
|
267300 //2496000 kHz
|
|
272580 //2572800 kHz
|
|
- 273240>; //2649600 kHz
|
|
+ 414000 //2649600 kHz
|
|
+ 420000 //2688000 kHz overclock
|
|
+ 432000 //2764800 kHz
|
|
+ 444000 //2841600 kHz
|
|
+ 450000>; //2880000 kHz
|
|
};
|
|
|
|
CPU3: cpu@3 {
|
|
@@ -116,7 +131,8 @@
|
|
reg = <0x3>;
|
|
// The currents(uA) correspond to the frequencies in the
|
|
// frequency table.
|
|
- current = < 53960 //300000 kHz
|
|
+ current = < 48340 //268800 kHz underclock
|
|
+ 53960 //300000 kHz
|
|
63080 //422400 kHz
|
|
73720 //652800 kHz
|
|
80560 //729600 kHz
|
|
@@ -133,7 +149,11 @@
|
|
307800 //2457600 kHz
|
|
307800 //2496000 kHz
|
|
313880 //2572800 kHz
|
|
- 314640>; //2649600 kHz
|
|
+ 414000 //2649600 kHz
|
|
+ 420000 //2688000 kHz overclock
|
|
+ 432000 //2764800 kHz
|
|
+ 444000 //2841600 kHz
|
|
+ 450000>; //2880000 kHz
|
|
};
|
|
};
|
|
memory {
|
|
--
|
|
2.9.3
|
|
|
|
|
|
From c170f85350b5bf5148283a85f27504496d063852 Mon Sep 17 00:00:00 2001
|
|
From: hellsgod <hellsgod@gmx.ch>
|
|
Date: Tue, 23 Jun 2015 08:42:24 +0200
|
|
Subject: [PATCH 6/6] arm/dt: shamu: Prevent BCL driver messing around with
|
|
cores
|
|
|
|
credits to neobuddy for the heads up!
|
|
---
|
|
arch/arm/boot/dts/qcom/apq8084.dtsi | 1 -
|
|
1 file changed, 1 deletion(-)
|
|
|
|
diff --git a/arch/arm/boot/dts/qcom/apq8084.dtsi b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
|
index 8b264bd..26f95e4 100644
|
|
--- a/arch/arm/boot/dts/qcom/apq8084.dtsi
|
|
+++ b/arch/arm/boot/dts/qcom/apq8084.dtsi
|
|
@@ -5046,7 +5046,6 @@
|
|
qcom,bcl-enable;
|
|
qcom,ibat-vadc = <&pma8084_vadc>;
|
|
qcom,ibat-threshold-adc_tm = <&pma8084_adc_tm>;
|
|
- qcom,bcl-hotplug-list = <&CPU2 &CPU3>;
|
|
qcom,ibat-monitor {
|
|
high-threshold-uamp = <3000000>;
|
|
low-threshold-uamp = <1000000>;
|
|
--
|
|
2.9.3
|
|
|