Skip to content

Instantly share code, notes, and snippets.

@invisiblek
Created March 30, 2015 12:54
Show Gist options
  • Save invisiblek/c6d5a821ece9b0f1fd43 to your computer and use it in GitHub Desktop.
Save invisiblek/c6d5a821ece9b0f1fd43 to your computer and use it in GitHub Desktop.
diff --git a/arch/arm/boot/dts/msm8926.dtsi b/arch/arm/boot/dts/msm8926.dtsi
index 1919022..a3b0780 100644
--- a/arch/arm/boot/dts/msm8926.dtsi
+++ b/arch/arm/boot/dts/msm8926.dtsi
@@ -1,4 +1,4 @@
-/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2013, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -22,11 +22,10 @@
/ {
model = "Qualcomm MSM 8926";
compatible = "qcom,msm8926";
-
-};
-
-&qsecom_mem {
- linux,memory-limit = <0x0>;
+ qcom,msm-id = <200 0>,
+ <224 0>,
+ <200 0x10001>,
+ <224 0x10001>;
};
&soc {
@@ -44,17 +43,17 @@
reg = <0xf9011050 0x8>,
<0xfc4b80b0 0x8>;
reg-names = "rcg-base", "efuse";
- qcom,speed0-bin-v0 =
+ qcom,speed0-bin-v1 =
< 0 0>,
< 384000000 2>,
< 787200000 4>,
+ < 998400000 5>,
+ <1094400000 6>,
<1190400000 7>;
- qcom,speed0-bin-v1 =
+ qcom,speed6-bin-v1 =
< 0 0>,
< 384000000 2>,
< 787200000 4>,
- < 998400000 5>,
- <1094400000 6>,
<1190400000 7>;
qcom,speed2-bin-v1 =
< 0 0>,
@@ -66,19 +65,22 @@
<1305600000 8>,
<1344000000 9>,
<1401600000 10>;
- qcom,speed1-bin-v1 =
+ qcom,speed5-bin-v1 =
< 0 0>,
< 384000000 2>,
< 787200000 4>,
- < 998400000 5>,
- <1094400000 6>,
- <1190400000 7>,
- <1305600000 8>,
- <1344000000 9>,
- <1401600000 10>,
- <1497600000 11>,
- <1593600000 12>;
- qcom,speed5-bin-v1 =
+ <1401600000 10>;
+ qcom,speed4-bin-v1 =
+ < 0 0>,
+ < 384000000 2>,
+ < 787200000 4>,
+ <1401600000 10>;
+ qcom,speed7-bin-v1 =
+ < 0 0>,
+ < 384000000 2>,
+ < 787200000 4>,
+ <1401600000 10>;
+ qcom,speed1-bin-v1 =
< 0 0>,
< 384000000 2>,
< 787200000 4>,
@@ -89,9 +91,7 @@
<1344000000 9>,
<1401600000 10>,
<1497600000 11>,
- <1593600000 12>,
- <1689600000 13>,
- <1785600000 14>;
+ <1593600000 12>;
};
qcom,msm-thermal {
@@ -144,35 +144,42 @@
};
};
+&pm8226_l3 {
+ regulator-min-microvolt = <750000>;
+ regulator-max-microvolt = <1350000>;
+};
+
+&pm8226_l3_ao {
+ regulator-min-microvolt = <750000>;
+ regulator-max-microvolt = <1350000>;
+};
+
+&pm8226_l3_so {
+ regulator-min-microvolt = <750000>;
+ regulator-max-microvolt = <1350000>;
+};
+
+&pm8226_s2 {
+ regulator-min-microvolt = <900000>;
+ regulator-max-microvolt = <1350000>;
+};
+
&apc_vreg_corner {
+ qcom,pvs-init-voltage = <1350000 1340000 1330000 1320000 1310000
+ 1300000 1290000 1280000 1270000 1260000
+ 1250000 1240000 1230000 1220000 1210000
+ 1200000 1190000 1180000 1170000 1160000
+ 1150000 1140000 1140000 1140000 1140000
+ 1140000 1140000 1140000 1140000 1140000
+ 1140000 1140000>;
+ qcom,pvs-corner-ceiling-slow = <1050000 1150000 1280000>;
+ qcom,pvs-corner-ceiling-nom = <1050000 1080000 1200000>;
+ qcom,pvs-corner-ceiling-fast = <1050000 1050000 1100000>;
+ qcom,cpr-step-quotient = <30>;
qcom,cpr-up-threshold = <0>;
- qcom,cpr-down-threshold = <2>;
- regulator-min-microvolt = <1>;
- regulator-max-microvolt = <14>;
- qcom,cpr-corner-map = <1 1 2 2 3 3 3 3 3 3 3 3 3 3>;
- qcom,cpr-quotient-adjustment = <0 72 72>;
- qcom,pvs-version-fuse-sel = <22 4 2 0>;
- qcom,cpr-corner-frequency-map =
- <1 300000000>,
- <2 384000000>,
- <3 600000000>,
- <4 787200000>,
- <5 998400000>,
- <6 1094400000>,
- <7 1190400000>,
- <8 1305600000>,
- <9 1344000000>,
- <10 1401600000>,
- <11 1497600000>,
- <12 1593600000>,
- <13 1689600000>,
- <14 1785600000>;
- qcom,cpr-speed-bin-max-corners =
- <0 1 2 4 7>,
- <1 1 2 4 12>,
- <2 1 2 4 10>,
- <5 1 2 4 14>;
- qcom,cpr-quot-adjust-scaling-factor-max = <650>;
+ qcom,cpr-down-threshold = <1>;
+ qcom,cpr-apc-volt-step = <10000>;
+ qcom,cpr-quotient-adjustment = <96>;
};
&tsens {
@@ -196,9 +203,3 @@
hsic,strobe-gpio = <&msmgpio 119 0x00>;
hsic,data-gpio = <&msmgpio 120 0x00>;
};
-
-&usb_otg {
- /delete-property/ qcom,hsusb-otg-disable-reset;
- qcom,ahb-async-bridge-bypass;
-};
-
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment