Skip to content

Commit

Permalink
fix frequencies, fix cooling cells, enable tmu
Browse files Browse the repository at this point in the history
  • Loading branch information
mihailescu2m committed Oct 15, 2017
1 parent e6eda12 commit 7f2e216
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
8 changes: 4 additions & 4 deletions arch/arm/boot/dts/exynos5422-cpus.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
cci-control-port = <&cci_control1>;
operating-points-v2 = <&cluster_a15_opp_table>;
cooling-min-level = <0>;
cooling-max-level = <15>;
cooling-max-level = <18>;
#cooling-cells = <2>; /* min followed by max */
capacity-dmips-mhz = <1024>;
};
Expand All @@ -99,7 +99,7 @@
cci-control-port = <&cci_control1>;
operating-points-v2 = <&cluster_a15_opp_table>;
cooling-min-level = <0>;
cooling-max-level = <15>;
cooling-max-level = <18>;
#cooling-cells = <2>; /* min followed by max */
capacity-dmips-mhz = <1024>;
};
Expand All @@ -112,7 +112,7 @@
cci-control-port = <&cci_control1>;
operating-points-v2 = <&cluster_a15_opp_table>;
cooling-min-level = <0>;
cooling-max-level = <15>;
cooling-max-level = <18>;
#cooling-cells = <2>; /* min followed by max */
capacity-dmips-mhz = <1024>;
};
Expand All @@ -125,7 +125,7 @@
cci-control-port = <&cci_control1>;
operating-points-v2 = <&cluster_a15_opp_table>;
cooling-min-level = <0>;
cooling-max-level = <15>;
cooling-max-level = <18>;
#cooling-cells = <2>; /* min followed by max */
capacity-dmips-mhz = <1024>;
};
Expand Down
9 changes: 7 additions & 2 deletions arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -154,11 +154,11 @@
*/
map5 {
trip = <&cpu0_alert4>;
cooling-device = <&cpu0 3 7>;
cooling-device = <&cpu0 3 8>;
};
map6 {
trip = <&cpu0_alert4>;
cooling-device = <&cpu4 3 12>;
cooling-device = <&cpu4 3 13>;
};
};
};
Expand Down Expand Up @@ -809,22 +809,27 @@

&tmu_cpu0 {
vtmu-supply = <&ldo7_reg>;
status = "okay";
};

&tmu_cpu1 {
vtmu-supply = <&ldo7_reg>;
status = "okay";
};

&tmu_cpu2 {
vtmu-supply = <&ldo7_reg>;
status = "okay";
};

&tmu_cpu3 {
vtmu-supply = <&ldo7_reg>;
status = "okay";
};

&tmu_gpu {
vtmu-supply = <&ldo7_reg>;
status = "okay";
};

&mali {
Expand Down
11 changes: 8 additions & 3 deletions arch/arm/boot/dts/exynos5800.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
clock-latency-ns = <140000>;
};
opp-1800000000 {
opp-microvolt = <1312500>;
opp-microvolt = <1200000>;
};
opp-1700000000 {
opp-microvolt = <1312500>;
opp-microvolt = <1162500>;
};
opp-1600000000 {
opp-microvolt = <1312500>;
opp-microvolt = <1125000>;
};
opp-1500000000 {
opp-microvolt = <1087500>;
Expand Down Expand Up @@ -98,6 +98,11 @@
};

&cluster_a7_opp_table {
opp-1400000000 {
opp-hz = /bits/ 64 <1400000000>;
opp-microvolt = <1250000>;
clock-latency-ns = <140000>;
};
opp-1300000000 {
opp-hz = /bits/ 64 <1300000000>;
opp-microvolt = <1225000>;
Expand Down

0 comments on commit 7f2e216

Please sign in to comment.