@@ -52,7 +52,7 @@ reserve_thermal: reserve_thermal {
5252};
5353
5454cpu_thermal: cpu_thermal {
55- polling-delay-passive = <1000 >; /* milliseconds */
55+ polling-delay-passive = <100 >; /* milliseconds */
5656 polling-delay = <5000>; /* milliseconds */
5757
5858 thermal-sensors = <&tsadc 1>;
@@ -63,6 +63,11 @@ cpu_thermal: cpu_thermal {
6363 hysteresis = <2000>; /* millicelsius */
6464 type = "passive";
6565 };
66+ cpu_alert1: cpu_alert1 {
67+ temperature = <80000>; /* millicelsius */
68+ hysteresis = <2000>; /* millicelsius */
69+ type = "passive";
70+ };
6671 cpu_crit: cpu_crit {
6772 temperature = <90000>; /* millicelsius */
6873 hysteresis = <2000>; /* millicelsius */
@@ -73,14 +78,19 @@ cpu_thermal: cpu_thermal {
7378 cooling-maps {
7479 map0 {
7580 trip = <&cpu_alert0>;
81+ cooling-device =
82+ <&cpu0 THERMAL_NO_LIMIT 6>;
83+ };
84+ map1 {
85+ trip = <&cpu_alert1>;
7686 cooling-device =
7787 <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
7888 };
7989 };
8090};
8191
8292gpu_thermal: gpu_thermal {
83- polling-delay-passive = <1000 >; /* milliseconds */
93+ polling-delay-passive = <100 >; /* milliseconds */
8494 polling-delay = <5000>; /* milliseconds */
8595
8696 thermal-sensors = <&tsadc 2>;
@@ -102,7 +112,7 @@ gpu_thermal: gpu_thermal {
102112 map0 {
103113 trip = <&gpu_alert0>;
104114 cooling-device =
105- <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
115+ <&gpu THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
106116 };
107117 };
108118};
0 commit comments