DivestOS/Patches/LineageOS-15.1/android_kernel_lge_g3/0001-Overclock.patch
2018-02-12 04:00:28 -05:00

281 lines
8.7 KiB
Diff

From 74c64c5ec0f3ade9f3938b9e8634f85c77daeb42 Mon Sep 17 00:00:00 2001
From: Tectas <adrian.stoeckl@gmail.com>
Date: Thu, 23 Oct 2014 15:41:10 +0200
Subject: [PATCH] arch/arm/boot/dts: Overclocking up 2.7 Ghz
---
arch/arm/boot/dts/msm8974-regulator.dtsi | 8 +--
arch/arm/boot/dts/msm8974.dtsi | 6 +-
arch/arm/boot/dts/msm8974pro.dtsi | 96 ++++++++++++++++++++++++++------
3 files changed, 89 insertions(+), 21 deletions(-)
diff --git a/arch/arm/boot/dts/msm8974-regulator.dtsi b/arch/arm/boot/dts/msm8974-regulator.dtsi
index d5e8530a96f..9e29db34874 100644
--- a/arch/arm/boot/dts/msm8974-regulator.dtsi
+++ b/arch/arm/boot/dts/msm8974-regulator.dtsi
@@ -475,7 +475,7 @@
<0xf908a800 0x1000>; /* APCS_ALIAS0_KPSS_MDD */
reg-names = "acs", "mdd";
regulator-min-microvolt = <500000>;
- regulator-max-microvolt = <1100000>;
+ regulator-max-microvolt = <1180000>;
qcom,headroom-voltage = <150000>;
qcom,retention-voltage = <675000>;
qcom,ldo-default-voltage = <750000>;
@@ -491,7 +491,7 @@
<0xf909a800 0x1000>; /* APCS_ALIAS1_KPSS_MDD */
reg-names = "acs", "mdd";
regulator-min-microvolt = <500000>;
- regulator-max-microvolt = <1100000>;
+ regulator-max-microvolt = <1180000>;
qcom,headroom-voltage = <150000>;
qcom,retention-voltage = <675000>;
qcom,ldo-default-voltage = <750000>;
@@ -507,7 +507,7 @@
<0xf90aa800 0x1000>; /* APCS_ALIAS2_KPSS_MDD */
reg-names = "acs", "mdd";
regulator-min-microvolt = <500000>;
- regulator-max-microvolt = <1100000>;
+ regulator-max-microvolt = <1180000>;
qcom,headroom-voltage = <150000>;
qcom,retention-voltage = <675000>;
qcom,ldo-default-voltage = <750000>;
@@ -523,7 +523,7 @@
<0xf90ba800 0x1000>; /* APCS_ALIAS3_KPSS_MDD */
reg-names = "acs", "mdd";
regulator-min-microvolt = <500000>;
- regulator-max-microvolt = <1100000>;
+ regulator-max-microvolt = <1180000>;
qcom,headroom-voltage = <150000>;
qcom,retention-voltage = <675000>;
qcom,ldo-default-voltage = <750000>;
diff --git a/arch/arm/boot/dts/msm8974.dtsi b/arch/arm/boot/dts/msm8974.dtsi
index 495117ff6e4..fc19c18e716 100644
--- a/arch/arm/boot/dts/msm8974.dtsi
+++ b/arch/arm/boot/dts/msm8974.dtsi
@@ -1582,7 +1582,11 @@
< 1728000 1651200 6103 >,
< 1958400 1728000 7102 >,
< 2265600 1728000 7102 >,
- < 2457600 1728000 7102 >;
+ < 2457600 1728000 7102 >,
+ < 2534400 1728000 7102 >,
+ < 2611200 1728000 7102 >,
+ < 2688000 1728000 7102 >,
+ < 2764800 1728000 7102 >;
};
usb3: qcom,ssusb@f9200000 {
diff --git a/arch/arm/boot/dts/msm8974pro.dtsi b/arch/arm/boot/dts/msm8974pro.dtsi
index 3d03d9d2ee6..b01788d0020 100644
--- a/arch/arm/boot/dts/msm8974pro.dtsi
+++ b/arch/arm/boot/dts/msm8974pro.dtsi
@@ -1036,7 +1036,11 @@
< 2265600000 1085000 716 >,
< 2342400000 1100000 751 >,
< 2419200000 1115000 786 >,
- < 2457600000 1120000 802 >;
+ < 2457600000 1120000 802 >,
+ < 2534400000 1135000 837 >,
+ < 2611200000 1150000 872 >,
+ < 2688000000 1165000 907 >,
+ < 2764800000 1180000 942 >;
qcom,speed3-pvs1-bin-v1 =
< 0 0 0 >,
@@ -1070,7 +1074,11 @@
< 2265600000 1075000 716 >,
< 2342400000 1090000 751 >,
< 2419200000 1105000 786 >,
- < 2457600000 1110000 802 >;
+ < 2457600000 1110000 802 >,
+ < 2534400000 1125000 837 >,
+ < 2611200000 1140000 872 >,
+ < 2688000000 1155000 907 >,
+ < 2764800000 1170000 942 >;
qcom,speed3-pvs2-bin-v1 =
< 0 0 0 >,
@@ -1104,7 +1112,11 @@
< 2265600000 1065000 716 >,
< 2342400000 1080000 751 >,
< 2419200000 1095000 786 >,
- < 2457600000 1100000 802 >;
+ < 2457600000 1100000 802 >,
+ < 2534400000 1115000 837 >,
+ < 2611200000 1130000 872 >,
+ < 2688000000 1145000 907 >,
+ < 2764800000 1160000 942 >;
qcom,speed3-pvs3-bin-v1 =
< 0 0 0 >,
@@ -1138,7 +1150,11 @@
< 2265600000 1055000 716 >,
< 2342400000 1070000 751 >,
< 2419200000 1085000 786 >,
- < 2457600000 1090000 802 >;
+ < 2457600000 1090000 802 >,
+ < 2534400000 1105000 837 >,
+ < 2611200000 1120000 872 >,
+ < 2688000000 1135000 907 >,
+ < 2764800000 1150000 942 >;
qcom,speed3-pvs4-bin-v1 =
< 0 0 0 >,
@@ -1172,7 +1188,11 @@
< 2265600000 1045000 716 >,
< 2342400000 1060000 751 >,
< 2419200000 1075000 786 >,
- < 2457600000 1080000 802 >;
+ < 2457600000 1080000 802 >,
+ < 2534400000 1095000 837 >,
+ < 2611200000 1110000 872 >,
+ < 2688000000 1125000 907 >,
+ < 2764800000 1140000 942 >;
qcom,speed3-pvs5-bin-v1 =
< 0 0 0 >,
@@ -1206,7 +1226,11 @@
< 2265600000 1035000 716 >,
< 2342400000 1050000 751 >,
< 2419200000 1065000 786 >,
- < 2457600000 1070000 802 >;
+ < 2457600000 1070000 802 >,
+ < 2534400000 1085000 837 >,
+ < 2611200000 1100000 872 >,
+ < 2688000000 1115000 907 >,
+ < 2764800000 1130000 942 >;
qcom,speed3-pvs6-bin-v1 =
< 0 0 0 >,
@@ -1240,7 +1264,11 @@
< 2265600000 1025000 716 >,
< 2342400000 1040000 751 >,
< 2419200000 1055000 786 >,
- < 2457600000 1060000 802 >;
+ < 2457600000 1060000 802 >,
+ < 2534400000 1075000 837 >,
+ < 2611200000 1090000 872 >,
+ < 2688000000 1105000 907 >,
+ < 2764800000 1120000 942 >;
qcom,speed3-pvs7-bin-v1 =
< 0 0 0 >,
@@ -1274,7 +1302,11 @@
< 2265600000 1015000 716 >,
< 2342400000 1030000 751 >,
< 2419200000 1045000 786 >,
- < 2457600000 1050000 802 >;
+ < 2457600000 1050000 802 >,
+ < 2534400000 1065000 837 >,
+ < 2611200000 1080000 872 >,
+ < 2688000000 1095000 907 >,
+ < 2764800000 1110000 942 >;
qcom,speed3-pvs8-bin-v1 =
< 0 0 0 >,
@@ -1308,7 +1340,11 @@
< 2265600000 1005000 716 >,
< 2342400000 1020000 751 >,
< 2419200000 1035000 786 >,
- < 2457600000 1040000 802 >;
+ < 2457600000 1040000 802 >,
+ < 2534400000 1055000 837 >,
+ < 2611200000 1070000 872 >,
+ < 2688000000 1085000 907 >,
+ < 2764800000 1100000 942 >;
qcom,speed3-pvs9-bin-v1 =
< 0 0 0 >,
@@ -1342,7 +1378,11 @@
< 2265600000 995000 716 >,
< 2342400000 1010000 751 >,
< 2419200000 1025000 786 >,
- < 2457600000 1030000 802 >;
+ < 2457600000 1030000 802 >,
+ < 2534400000 1045000 837 >,
+ < 2611200000 1060000 872 >,
+ < 2688000000 1075000 907 >,
+ < 2764800000 1090000 942 >;
qcom,speed3-pvs10-bin-v1 =
< 0 0 0 >,
@@ -1376,7 +1416,11 @@
< 2265600000 985000 716 >,
< 2342400000 1000000 751 >,
< 2419200000 1015000 786 >,
- < 2457600000 1020000 802 >;
+ < 2457600000 1020000 802 >,
+ < 2534400000 1035000 837 >,
+ < 2611200000 1050000 872 >,
+ < 2688000000 1065000 907 >,
+ < 2764800000 1080000 942 >;
qcom,speed3-pvs11-bin-v1 =
< 0 0 0 >,
@@ -1410,7 +1454,11 @@
< 2265600000 975000 716 >,
< 2342400000 990000 751 >,
< 2419200000 1005000 786 >,
- < 2457600000 1010000 802 >;
+ < 2457600000 1010000 802 >,
+ < 2534400000 1025000 837 >,
+ < 2611200000 1040000 872 >,
+ < 2688000000 1055000 907 >,
+ < 2764800000 1070000 942 >;
qcom,speed3-pvs12-bin-v1 =
< 0 0 0 >,
@@ -1444,7 +1492,11 @@
< 2265600000 965000 716 >,
< 2342400000 980000 751 >,
< 2419200000 995000 786 >,
- < 2457600000 1000000 802 >;
+ < 2457600000 1000000 802 >,
+ < 2534400000 1015000 837 >,
+ < 2611200000 1030000 872 >,
+ < 2688000000 1045000 907 >,
+ < 2764800000 1060000 942 >;
qcom,speed3-pvs13-bin-v1 =
< 0 0 0 >,
@@ -1478,7 +1530,11 @@
< 2265600000 955000 716 >,
< 2342400000 970000 751 >,
< 2419200000 985000 786 >,
- < 2457600000 990000 802 >;
+ < 2457600000 990000 802 >,
+ < 2534400000 1005000 837 >,
+ < 2611200000 1020000 872 >,
+ < 2688000000 1035000 907 >,
+ < 2764800000 1050000 942 >;
qcom,speed3-pvs14-bin-v1 =
< 0 0 0 >,
@@ -1512,7 +1568,11 @@
< 2265600000 945000 716 >,
< 2342400000 960000 751 >,
< 2419200000 975000 786 >,
- < 2457600000 980000 802 >;
+ < 2457600000 980000 802 >,
+ < 2534400000 995000 837 >,
+ < 2611200000 1010000 872 >,
+ < 2688000000 1025000 907 >,
+ < 2764800000 1040000 942 >;
qcom,speed3-pvs15-bin-v1 =
< 0 0 0 >,
@@ -1546,7 +1606,11 @@
< 2265600000 935000 716 >,
< 2342400000 950000 751 >,
< 2419200000 965000 786 >,
- < 2457600000 970000 802 >;
+ < 2457600000 970000 802 >,
+ < 2534400000 985000 837 >,
+ < 2611200000 1000000 872 >,
+ < 2688000000 1015000 907 >,
+ < 2764800000 1030000 942 >;
};
i2c@f9928000 { /* BLSP-1 QUP-6 */