summaryrefslogtreecommitdiff
path: root/qcom/msm8917-thermal.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'qcom/msm8917-thermal.dtsi')
-rw-r--r--qcom/msm8917-thermal.dtsi60
1 files changed, 30 insertions, 30 deletions
diff --git a/qcom/msm8917-thermal.dtsi b/qcom/msm8917-thermal.dtsi
index 6fe1977f..7135a3d0 100644
--- a/qcom/msm8917-thermal.dtsi
+++ b/qcom/msm8917-thermal.dtsi
@@ -1,5 +1,30 @@
#include <dt-bindings/thermal/thermal.h>
+&apsscc {
+ qcom,cpu-isolation {
+ compatible = "qcom,cpu-isolate";
+ cpu0_isolate: cpu0-isolate {
+ qcom,cpu = <&CPU0>;
+ #cooling-cells = <2>;
+ };
+
+ cpu1_isolate: cpu1-isolate {
+ qcom,cpu = <&CPU1>;
+ #cooling-cells = <2>;
+ };
+
+ cpu2_isolate: cpu2-isolate {
+ qcom,cpu = <&CPU2>;
+ #cooling-cells = <2>;
+ };
+
+ cpu3_isolate: cpu3-isolate {
+ qcom,cpu = <&CPU3>;
+ #cooling-cells = <2>;
+ };
+ };
+};
+
&soc {
qmi-tmd-devices {
compatible = "qcom,qmi-cooling-devices";
@@ -188,28 +213,7 @@
trip = <&cpu_trip>;
cooling-device =
<&CPU0 THERMAL_NO_LIMIT
- (THERMAL_MAX_LIMIT-1)>;
- };
-
- cpu1_cdev {
- trip = <&cpu_trip>;
- cooling-device =
- <&CPU1 THERMAL_NO_LIMIT
- (THERMAL_MAX_LIMIT-1)>;
- };
-
- cpu2_cdev {
- trip = <&cpu_trip>;
- cooling-device =
- <&CPU2 THERMAL_NO_LIMIT
- (THERMAL_MAX_LIMIT-1)>;
- };
-
- cpu3_cdev {
- trip = <&cpu_trip>;
- cooling-device =
- <&CPU3 THERMAL_NO_LIMIT
- (THERMAL_MAX_LIMIT-1)>;
+ THERMAL_NO_LIMIT>;
};
};
};
@@ -254,8 +258,7 @@
cpu0_cdev {
trip = <&apc1_cpu0_trip>;
cooling-device =
- <&CPU0 THERMAL_MAX_LIMIT
- THERMAL_MAX_LIMIT>;
+ <&cpu0_isolate 1 1>;
};
};
};
@@ -277,8 +280,7 @@
cpu1_cdev {
trip = <&apc1_cpu1_trip>;
cooling-device =
- <&CPU1 THERMAL_MAX_LIMIT
- THERMAL_MAX_LIMIT>;
+ <&cpu1_isolate 1 1>;
};
};
};
@@ -300,8 +302,7 @@
cpu2_cdev {
trip = <&apc1_cpu2_trip>;
cooling-device =
- <&CPU2 THERMAL_MAX_LIMIT
- THERMAL_MAX_LIMIT>;
+ <&cpu2_isolate 1 1>;
};
};
};
@@ -323,8 +324,7 @@
cpu3_cdev {
trip = <&apc1_cpu3_trip>;
cooling-device =
- <&CPU3 THERMAL_MAX_LIMIT
- THERMAL_MAX_LIMIT>;
+ <&cpu3_isolate 1 1>;
};
};
};