ipq806x: apply correct voltage tolerance
authorAnsuel Smith <ansuelsmth@gmail.com>
Tue, 23 Mar 2021 16:41:11 +0000 (17:41 +0100)
committerPetr Štetiar <ynezz@true.cz>
Fri, 7 May 2021 05:05:16 +0000 (07:05 +0200)
Voltage tolerance was 5%, not 5000. Update min and max voltage of the target opp.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8062.dtsi
target/linux/ipq806x/files/arch/arm/boot/dts/qcom-ipq8065.dtsi
target/linux/ipq806x/patches-5.10/083-ipq8064-dtsi-additions.patch

index 09aa08173734183e7263a5303cb6fb4984ff7216..4b007130aa8e32771ced4b001fe65eef8ddd51e7 100644 (file)
        /delete-node/opp-1400000000;
 
        opp-384000000 {
-               opp-microvolt-speed0-pvs0-v0 = <945000 950000 955000>;
-               opp-microvolt-speed0-pvs1-v0 = <985000 900000 905000>;
-               opp-microvolt-speed0-pvs2-v0 = <845000 850000 855000>;
-               opp-microvolt-speed0-pvs3-v0 = <795000 800000 805000>;
+               opp-microvolt-speed0-pvs0-v0 = <902500 950000 997500>;
+               opp-microvolt-speed0-pvs1-v0 = <855000 900000 945000>;
+               opp-microvolt-speed0-pvs2-v0 = <807500 850000 892500>;
+               opp-microvolt-speed0-pvs3-v0 = <760000 800000 840000>;
        };
 
        opp-600000000 {
-               opp-microvolt-speed0-pvs0-v0 = <995000 1000000 1005000>;
+               opp-microvolt-speed0-pvs0-v0 = <950000 1000000 1050000>;
                opp-microvolt-speed0-pvs1-v0 = <945000  950000  955000>;
                opp-microvolt-speed0-pvs2-v0 = <895000  900000  905000>;
                opp-microvolt-speed0-pvs3-v0 = <845000  850000  855000>;
        };
 
        opp-800000000 {
-               opp-microvolt-speed0-pvs0-v0 = <1045000 1050000 1055000>;
+               opp-microvolt-speed0-pvs0-v0 = <997500 1050000 1102500>;
                opp-microvolt-speed0-pvs1-v0 = < 995000 1000000 1005000>;
                opp-microvolt-speed0-pvs2-v0 = < 945000  950000  955000>;
                opp-microvolt-speed0-pvs3-v0 = < 895000  900000  905000>;
        };
 
        opp-1000000000 {
-               opp-microvolt-speed0-pvs0-v0 = <1095000 1100000 1105000>;
-               opp-microvolt-speed0-pvs1-v0 = <1045000 1050000 1055000>;
+               opp-microvolt-speed0-pvs0-v0 = <1045000 1100000 1155000>;
+               opp-microvolt-speed0-pvs1-v0 = <997500 1050000 1102500>;
                opp-microvolt-speed0-pvs2-v0 = < 995000 1000000 1005000>;
                opp-microvolt-speed0-pvs3-v0 = < 945000  950000  955000>;
        };
index f215181470d92eda173c62b0542e5f6f9abe985c..9c3a24f6007a8dca979c6412f679c084dacd02f8 100644 (file)
 
        /delete-node/opp-1200000000;
 
-               opp-384000000 {
-               opp-microvolt-speed0-pvs0-v0 = <970000 975000 980000>;
-               opp-microvolt-speed0-pvs1-v0 = <945000 950000 955000>;
-               opp-microvolt-speed0-pvs2-v0 = <920000 925000 930000>;
-               opp-microvolt-speed0-pvs3-v0 = <985000 900000 905000>;
-               opp-microvolt-speed0-pvs4-v0 = <870000 875000 880000>;
-               opp-microvolt-speed0-pvs5-v0 = <820000 825000 830000>;
-               opp-microvolt-speed0-pvs6-v0 = <770000 775000 780000>;
+       opp-384000000 {
+               opp-microvolt-speed0-pvs0-v0 = <926250 975000 1023750>;
+               opp-microvolt-speed0-pvs1-v0 = <902500 950000 997500>;
+               opp-microvolt-speed0-pvs2-v0 = <878750 925000 971250>;
+               opp-microvolt-speed0-pvs3-v0 = <855000 900000 945000>;
+               opp-microvolt-speed0-pvs4-v0 = <831250 875000 918750>;
+               opp-microvolt-speed0-pvs5-v0 = <783750 825000 866250>;
+               opp-microvolt-speed0-pvs6-v0 = <736250 775000 813750>;
        };
 
        opp-600000000 {
-               opp-microvolt-speed0-pvs0-v0 = <995000 1000000 1005000>;
-               opp-microvolt-speed0-pvs1-v0 = <970000 975000 980000>;
-               opp-microvolt-speed0-pvs2-v0 = <945000 950000 955000>;
-               opp-microvolt-speed0-pvs3-v0 = <920000 925000 930000>;
-               opp-microvolt-speed0-pvs4-v0 = <895000 900000 905000>;
-               opp-microvolt-speed0-pvs5-v0 = <845000 850000 855000>;
-               opp-microvolt-speed0-pvs6-v0 = <795000 800000 805000>;
+               opp-microvolt-speed0-pvs0-v0 = <950000 1000000 1050000>;
+               opp-microvolt-speed0-pvs1-v0 = <926250 975000 1023750>;
+               opp-microvolt-speed0-pvs2-v0 = <902500 950000 997500>;
+               opp-microvolt-speed0-pvs3-v0 = <878750 925000 971250>;
+               opp-microvolt-speed0-pvs4-v0 = <855000 900000 945000>;
+               opp-microvolt-speed0-pvs5-v0 = <807500 850000 892500>;
+               opp-microvolt-speed0-pvs6-v0 = <760000 800000 840000>;
        };
 
        opp-800000000 {
-               opp-microvolt-speed0-pvs0-v0 = <1045000 1050000 1055000>;
-               opp-microvolt-speed0-pvs1-v0 = <1020000 1025000 1030000>;
-               opp-microvolt-speed0-pvs2-v0 = <995000 1000000 1005000>;
-               opp-microvolt-speed0-pvs3-v0 = <970000 975000 980000>;
-               opp-microvolt-speed0-pvs4-v0 = <945000 950000 955000>;
-               opp-microvolt-speed0-pvs5-v0 = <895000 900000 905000>;
-               opp-microvolt-speed0-pvs6-v0 = <845000 850000 855000>;
+               opp-microvolt-speed0-pvs0-v0 = <997500 1050000 1102500>;
+               opp-microvolt-speed0-pvs1-v0 = <973750 1025000 1076250>;
+               opp-microvolt-speed0-pvs2-v0 = <950000 1000000 1050000>;
+               opp-microvolt-speed0-pvs3-v0 = <926250 975000 1023750>;
+               opp-microvolt-speed0-pvs4-v0 = <902500 950000 997500>;
+               opp-microvolt-speed0-pvs5-v0 = <855000 900000 945000>;
+               opp-microvolt-speed0-pvs6-v0 = <807500 850000 892500>;
        };
 
        opp-1000000000 {
-               opp-microvolt-speed0-pvs0-v0 = <1095000 1100000 1105000>;
-               opp-microvolt-speed0-pvs1-v0 = <1070000 1075000 1080000>;
-               opp-microvolt-speed0-pvs2-v0 = <1045000 1050000 1055000>;
-               opp-microvolt-speed0-pvs3-v0 = <1020000 1025000 1030000>;
-               opp-microvolt-speed0-pvs4-v0 = <995000 1000000 1005000>;
-               opp-microvolt-speed0-pvs5-v0 = <945000 950000 955000>;
-               opp-microvolt-speed0-pvs6-v0 = <895000 900000 905000>;
+               opp-microvolt-speed0-pvs0-v0 = <1045000 1100000 1155000>;
+               opp-microvolt-speed0-pvs1-v0 = <1021250 1075000 1128750>;
+               opp-microvolt-speed0-pvs2-v0 = <997500 1050000 1102500>;
+               opp-microvolt-speed0-pvs3-v0 = <973750 1025000 1076250>;
+               opp-microvolt-speed0-pvs4-v0 = <950000 1000000 1050000>;
+               opp-microvolt-speed0-pvs5-v0 = <902500 950000 997500>;
+               opp-microvolt-speed0-pvs6-v0 = <855000 900000 945000>;
        };
 
        opp-1400000000 {
-               opp-microvolt-speed0-pvs0-v0 = <1170000 1175000 1180000>;
-               opp-microvolt-speed0-pvs1-v0 = <1145000 1150000 1155000>;
-               opp-microvolt-speed0-pvs2-v0 = <1120000 1125000 1130000>;
-               opp-microvolt-speed0-pvs3-v0 = <1095000 1100000 1105000>;
-               opp-microvolt-speed0-pvs4-v0 = <1070000 1075000 1080000>;
-               opp-microvolt-speed0-pvs5-v0 = <1020000 1025000 1030000>;
-               opp-microvolt-speed0-pvs6-v0 = <970000 975000 980000>;
+               opp-microvolt-speed0-pvs0-v0 = <1116250 1175000 1233750>;
+               opp-microvolt-speed0-pvs1-v0 = <1092500 1150000 1207500>;
+               opp-microvolt-speed0-pvs2-v0 = <1068750 1125000 1181250>;
+               opp-microvolt-speed0-pvs3-v0 = <1045000 1100000 1155000>;
+               opp-microvolt-speed0-pvs4-v0 = <1021250 1075000 1128750>;
+               opp-microvolt-speed0-pvs5-v0 = <973750 1025000 1076250>;
+               opp-microvolt-speed0-pvs6-v0 = <926250 975000 1023750>;
                opp-level = <1>;
        };
 
        opp-1725000000 {
                opp-hz = /bits/ 64 <1725000000>;
-               opp-microvolt-speed0-pvs0-v0 = <1257500 1262500 1267500>;
-               opp-microvolt-speed0-pvs1-v0 = <1220000 1225000 1230000>;
-               opp-microvolt-speed0-pvs2-v0 = <1195000 1200000 1205000>;
-               opp-microvolt-speed0-pvs3-v0 = <1170000 1175000 1180000>;
-               opp-microvolt-speed0-pvs4-v0 = <1145000 1150000 1155000>;
-               opp-microvolt-speed0-pvs5-v0 = <1095000 1100000 1105000>;
-               opp-microvolt-speed0-pvs6-v0 = <1045000 1050000 1055000>;
+               opp-microvolt-speed0-pvs0-v0 = <1199375 1262500 1325625>;
+               opp-microvolt-speed0-pvs1-v0 = <1163750 1225000 1286250>;
+               opp-microvolt-speed0-pvs2-v0 = <1140000 1200000 1260000>;
+               opp-microvolt-speed0-pvs3-v0 = <1116250 1175000 1233750>;
+               opp-microvolt-speed0-pvs4-v0 = <1092500 1150000 1207500>;
+               opp-microvolt-speed0-pvs5-v0 = <1045000 1100000 1155000>;
+               opp-microvolt-speed0-pvs6-v0 = <997500 1050000 1102500>;
                opp-supported-hw = <0x1>;
                clock-latency-ns = <100000>;
                opp-level = <2>;
index 140eeb54c7d4b82d44305c5dc9b8e2d613864345..5d1ae2ae3da5a0cabff265771547d51808a75086 100644 (file)
 +
 +              opp-384000000 {
 +                      opp-hz = /bits/ 64 <384000000>;
-+                      opp-microvolt-speed0-pvs0-v0 = <995000 1000000 1005000>;
-+                      opp-microvolt-speed0-pvs1-v0 = <920000 925000 930000>;
-+                      opp-microvolt-speed0-pvs2-v0 = <870000 875000 880000>;
-+                      opp-microvolt-speed0-pvs3-v0 = <795000 800000 805000>;
++                      opp-microvolt-speed0-pvs0-v0 = <950000 1000000 1050000>;
++                      opp-microvolt-speed0-pvs1-v0 = <878750 925000 971250>;
++                      opp-microvolt-speed0-pvs2-v0 = <831250 875000 918750>;
++                      opp-microvolt-speed0-pvs3-v0 = <760000 800000 840000>;
 +                      opp-supported-hw = <0x1>;
 +                      clock-latency-ns = <100000>;
 +                      opp-level = <0>;
 +
 +              opp-600000000 {
 +                      opp-hz = /bits/ 64 <600000000>;
-+                      opp-microvolt-speed0-pvs0-v0 = <1045000 1050000 1055000>;
-+                      opp-microvolt-speed0-pvs1-v0 = <970000 975000 980000>;
-+                      opp-microvolt-speed0-pvs2-v0 = <920000 925000 930000>;
-+                      opp-microvolt-speed0-pvs3-v0 = <845000 850000 855000>;
++                      opp-microvolt-speed0-pvs0-v0 = <997500 1050000 1102500>;
++                      opp-microvolt-speed0-pvs1-v0 = <926250 975000 1023750>;
++                      opp-microvolt-speed0-pvs2-v0 = <878750 925000 971250>;
++                      opp-microvolt-speed0-pvs3-v0 = <807500 850000 892500>;
 +                      opp-supported-hw = <0x1>;
 +                      clock-latency-ns = <100000>;
 +                      opp-level = <1>;
 +
 +              opp-800000000 {
 +                      opp-hz = /bits/ 64 <800000000>;
-+                      opp-microvolt-speed0-pvs0-v0 = <1095000 1100000 1105000>;
-+                      opp-microvolt-speed0-pvs1-v0 = <1020000 1025000 1030000>;
-+                      opp-microvolt-speed0-pvs2-v0 = <990000 995000 1000000>;
-+                      opp-microvolt-speed0-pvs3-v0 = <895000 900000 905000>;
++                      opp-microvolt-speed0-pvs0-v0 = <1045000 1100000 1155000>;
++                      opp-microvolt-speed0-pvs1-v0 = <973750 1025000 1076250>;
++                      opp-microvolt-speed0-pvs2-v0 = <945250 995000 1044750>;
++                      opp-microvolt-speed0-pvs3-v0 = <855000 900000 945000>;
 +                      opp-supported-hw = <0x1>;
 +                      clock-latency-ns = <100000>;
 +                      opp-level = <1>;
 +
 +              opp-1000000000 {
 +                      opp-hz = /bits/ 64 <1000000000>;
-+                      opp-microvolt-speed0-pvs0-v0 = <1145000 1150000 1155000>;
-+                      opp-microvolt-speed0-pvs1-v0 = <1070000 1075000 1080000>;
-+                      opp-microvolt-speed0-pvs2-v0 = <1020000 1025000 1030000>;
-+                      opp-microvolt-speed0-pvs3-v0 = <945000 950000 955000>;
++                      opp-microvolt-speed0-pvs0-v0 = <1092500 1150000 1207500>;
++                      opp-microvolt-speed0-pvs1-v0 = <1021250 1075000 1128750>;
++                      opp-microvolt-speed0-pvs2-v0 = <973750 1025000 1076250>;
++                      opp-microvolt-speed0-pvs3-v0 = <902500 950000 997500>;
 +                      opp-supported-hw = <0x1>;
 +                      clock-latency-ns = <100000>;
 +                      opp-level = <1>;
 +
 +              opp-1200000000 {
 +                      opp-hz = /bits/ 64 <1200000000>;
-+                      opp-microvolt-speed0-pvs0-v0 = <1195000 1200000 1205000>;
-+                      opp-microvolt-speed0-pvs1-v0 = <1120000 1125000 1130000>;
-+                      opp-microvolt-speed0-pvs2-v0 = <1070000 1075000 1080000>;
-+                      opp-microvolt-speed0-pvs3-v0 = <995000 1000000 1005000>;
++                      opp-microvolt-speed0-pvs0-v0 = <1140000 1200000 1260000>;
++                      opp-microvolt-speed0-pvs1-v0 = <1068750 1125000 1181250>;
++                      opp-microvolt-speed0-pvs2-v0 = <1021250 1075000 1128750>;
++                      opp-microvolt-speed0-pvs3-v0 = <950000 1000000 1050000>;
 +                      opp-supported-hw = <0x1>;
 +                      clock-latency-ns = <100000>;
 +                      opp-level = <2>;
 +
 +              opp-1400000000 {
 +                      opp-hz = /bits/ 64 <1400000000>;
-+                      opp-microvolt-speed0-pvs0-v0 = <1245000 1250000 1255000>;
-+                      opp-microvolt-speed0-pvs1-v0 = <1170000 1175000 1180000>;
-+                      opp-microvolt-speed0-pvs2-v0 = <1120000 1125000 1130000>;
-+                      opp-microvolt-speed0-pvs3-v0 = <1045000 1050000 1055000>;
++                      opp-microvolt-speed0-pvs0-v0 = <1187500 1250000 1312500>;
++                      opp-microvolt-speed0-pvs1-v0 = <1116250 1175000 1233750>;
++                      opp-microvolt-speed0-pvs2-v0 = <1068750 1125000 1181250>;
++                      opp-microvolt-speed0-pvs3-v0 = <997500 1050000 1102500>;
 +                      opp-supported-hw = <0x1>;
 +                      clock-latency-ns = <100000>;
 +                      opp-level = <2>;
                pcie0: pci@1b500000 {
                        compatible = "qcom,pcie-ipq8064";
                        reg = <0x1b500000 0x1000
-@@ -739,6 +1332,59 @@
+@@ -751,6 +1344,59 @@
                        status = "disabled";
                };
  
                vsdcc_fixed: vsdcc-regulator {
                        compatible = "regulator-fixed";
                        regulator-name = "SDCC Power";
-@@ -814,4 +1460,17 @@
+@@ -826,4 +1472,17 @@
                        };
                };
        };