blob: 8cbc84fa870f2c52cd0985759999d3c7fbc0ead4 [file] [log] [blame]
Manaf Meethalavalappu Pallikunhi52c7ba12017-09-07 01:41:43 +05301/* Copyright (c) 2017, The Linux Foundation. All rights reserved.
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 and
5 * only version 2 as published by the Free Software Foundation.
6 *
7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
9 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10 * GNU General Public License for more details.
11 */
12
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +053013#include <dt-bindings/thermal/thermal.h>
14
Manaf Meethalavalappu Pallikunhiae5420e2017-09-07 01:01:08 +053015&clock_cpucc {
16 lmh_dcvs0: qcom,limits-dcvs@0 {
17 compatible = "qcom,msm-hw-limits";
18 interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
19 qcom,affinity = <0>;
20 #thermal-sensor-cells = <0>;
21 };
22
23 lmh_dcvs1: qcom,limits-dcvs@1 {
24 compatible = "qcom,msm-hw-limits";
25 interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
26 qcom,affinity = <1>;
27 #thermal-sensor-cells = <0>;
28 };
29};
30
Manaf Meethalavalappu Pallikunhi30a0fa3552017-08-29 21:09:05 +053031&soc {
32 qmi-tmd-devices {
33 compatible = "qcom,qmi_cooling_devices";
34
35 modem {
36 qcom,instance-id = <0x0>;
37
38 modem_pa: modem_pa {
39 qcom,qmi-dev-name = "pa";
40 #cooling-cells = <2>;
41 };
42
43 modem_proc: modem_proc {
44 qcom,qmi-dev-name = "modem";
45 #cooling-cells = <2>;
46 };
47
48 modem_current: modem_current {
49 qcom,qmi-dev-name = "modem_current";
50 #cooling-cells = <2>;
51 };
52
53 modem_vdd: modem_vdd {
54 qcom,qmi-dev-name = "cpuv_restriction_cold";
55 #cooling-cells = <2>;
56 };
57 };
58
59 adsp {
60 qcom,instance-id = <0x1>;
61
62 adsp_vdd: adsp_vdd {
63 qcom,qmi-dev-name = "cpuv_restriction_cold";
64 #cooling-cells = <2>;
65 };
66 };
67
68 cdsp {
69 qcom,instance-id = <0x43>;
70
71 cdsp_vdd: cdsp_vdd {
72 qcom,qmi-dev-name = "cpuv_restriction_cold";
73 #cooling-cells = <2>;
74 };
75 };
76 };
77};
78
Manaf Meethalavalappu Pallikunhi52c7ba12017-09-07 01:41:43 +053079&thermal_zones {
80 aoss0-usr {
81 polling-delay-passive = <0>;
82 polling-delay = <0>;
83 thermal-governor = "user_space";
84 thermal-sensors = <&tsens0 0>;
85 trips {
86 active-config0 {
87 temperature = <125000>;
88 hysteresis = <1000>;
89 type = "passive";
90 };
91 };
92 };
93
94 cpu0-silver-usr {
95 polling-delay-passive = <0>;
96 polling-delay = <0>;
97 thermal-governor = "user_space";
98 thermal-sensors = <&tsens0 1>;
99 trips {
100 active-config0 {
101 temperature = <125000>;
102 hysteresis = <1000>;
103 type = "passive";
104 };
105 };
106 };
107
108 cpu1-silver-usr {
109 polling-delay-passive = <0>;
110 polling-delay = <0>;
111 thermal-governor = "user_space";
112 thermal-sensors = <&tsens0 2>;
113 trips {
114 active-config0 {
115 temperature = <125000>;
116 hysteresis = <1000>;
117 type = "passive";
118 };
119 };
120 };
121
122 cpu2-silver-usr {
123 polling-delay-passive = <0>;
124 polling-delay = <0>;
125 thermal-governor = "user_space";
126 thermal-sensors = <&tsens0 3>;
127 trips {
128 active-config0 {
129 temperature = <125000>;
130 hysteresis = <1000>;
131 type = "passive";
132 };
133 };
134 };
135
136 cpu3-silver-usr {
137 polling-delay-passive = <0>;
138 polling-delay = <0>;
139 thermal-sensors = <&tsens0 4>;
140 thermal-governor = "user_space";
141 trips {
142 active-config0 {
143 temperature = <125000>;
144 hysteresis = <1000>;
145 type = "passive";
146 };
147 };
148 };
149
Manaf Meethalavalappu Pallikunhic72aba62017-11-23 16:03:58 +0530150 cpuss-0-usr {
Manaf Meethalavalappu Pallikunhi52c7ba12017-09-07 01:41:43 +0530151 polling-delay-passive = <0>;
152 polling-delay = <0>;
153 thermal-sensors = <&tsens0 5>;
154 thermal-governor = "user_space";
155 trips {
156 active-config0 {
157 temperature = <125000>;
158 hysteresis = <1000>;
159 type = "passive";
160 };
161 };
162 };
163
Manaf Meethalavalappu Pallikunhic72aba62017-11-23 16:03:58 +0530164 cpuss-1-usr {
Manaf Meethalavalappu Pallikunhi52c7ba12017-09-07 01:41:43 +0530165 polling-delay-passive = <0>;
166 polling-delay = <0>;
167 thermal-sensors = <&tsens0 6>;
168 thermal-governor = "user_space";
169 trips {
170 active-config0 {
171 temperature = <125000>;
172 hysteresis = <1000>;
173 type = "passive";
174 };
175 };
176 };
177
Manaf Meethalavalappu Pallikunhic72aba62017-11-23 16:03:58 +0530178 cpu4-silver-usr {
Manaf Meethalavalappu Pallikunhi52c7ba12017-09-07 01:41:43 +0530179 polling-delay-passive = <0>;
180 polling-delay = <0>;
181 thermal-sensors = <&tsens0 7>;
182 thermal-governor = "user_space";
183 trips {
184 active-config0 {
185 temperature = <125000>;
186 hysteresis = <1000>;
187 type = "passive";
188 };
189 };
190 };
191
Manaf Meethalavalappu Pallikunhic72aba62017-11-23 16:03:58 +0530192 cpu5-silver-usr {
Manaf Meethalavalappu Pallikunhi52c7ba12017-09-07 01:41:43 +0530193 polling-delay-passive = <0>;
194 polling-delay = <0>;
195 thermal-sensors = <&tsens0 8>;
196 thermal-governor = "user_space";
197 trips {
198 active-config0 {
199 temperature = <125000>;
200 hysteresis = <1000>;
201 type = "passive";
202 };
203 };
204 };
205
206 cpu0-gold-usr {
207 polling-delay-passive = <0>;
208 polling-delay = <0>;
209 thermal-sensors = <&tsens0 9>;
210 thermal-governor = "user_space";
211 trips {
212 active-config0 {
213 temperature = <125000>;
214 hysteresis = <1000>;
215 type = "passive";
216 };
217 };
218 };
219
220 cpu1-gold-usr {
221 polling-delay-passive = <0>;
222 polling-delay = <0>;
223 thermal-sensors = <&tsens0 10>;
224 thermal-governor = "user_space";
225 trips {
226 active-config0 {
227 temperature = <125000>;
228 hysteresis = <1000>;
229 type = "passive";
230 };
231 };
232 };
233
234 gpu0-usr {
235 polling-delay-passive = <0>;
236 polling-delay = <0>;
237 thermal-sensors = <&tsens0 11>;
238 thermal-governor = "user_space";
239 trips {
240 active-config0 {
241 temperature = <125000>;
242 hysteresis = <1000>;
243 type = "passive";
244 };
245 };
246 };
247
248 gpu1-usr {
249 polling-delay-passive = <0>;
250 polling-delay = <0>;
251 thermal-governor = "user_space";
252 thermal-sensors = <&tsens0 12>;
253 trips {
254 active-config0 {
255 temperature = <125000>;
256 hysteresis = <1000>;
257 type = "passive";
258 };
259 };
260 };
261
262 aoss1-usr {
263 polling-delay-passive = <0>;
264 polling-delay = <0>;
265 thermal-sensors = <&tsens1 0>;
266 thermal-governor = "user_space";
267 trips {
268 active-config0 {
269 temperature = <125000>;
270 hysteresis = <1000>;
271 type = "passive";
272 };
273 };
274 };
275
276 mdm-dsp-usr {
277 polling-delay-passive = <0>;
278 polling-delay = <0>;
279 thermal-sensors = <&tsens1 1>;
280 thermal-governor = "user_space";
281 trips {
282 active-config0 {
283 temperature = <125000>;
284 hysteresis = <1000>;
285 type = "passive";
286 };
287 };
288 };
289
290 ddr-usr {
291 polling-delay-passive = <0>;
292 polling-delay = <0>;
293 thermal-sensors = <&tsens1 2>;
294 thermal-governor = "user_space";
295 trips {
296 active-config0 {
297 temperature = <125000>;
298 hysteresis = <1000>;
299 type = "passive";
300 };
301 };
302 };
303
304 wlan-usr {
305 polling-delay-passive = <0>;
306 polling-delay = <0>;
307 thermal-sensors = <&tsens1 3>;
308 thermal-governor = "user_space";
309 trips {
310 active-config0 {
311 temperature = <125000>;
312 hysteresis = <1000>;
313 type = "passive";
314 };
315 };
316 };
317
318 compute-hvx-usr {
319 polling-delay-passive = <0>;
320 polling-delay = <0>;
321 thermal-sensors = <&tsens1 4>;
322 thermal-governor = "user_space";
323 trips {
324 active-config0 {
325 temperature = <125000>;
326 hysteresis = <1000>;
327 type = "passive";
328 };
329 };
330 };
331
332 camera-usr {
333 polling-delay-passive = <0>;
334 polling-delay = <0>;
335 thermal-sensors = <&tsens1 5>;
336 thermal-governor = "user_space";
337 trips {
338 active-config0 {
339 temperature = <125000>;
340 hysteresis = <1000>;
341 type = "passive";
342 };
343 };
344 };
345
346 mmss-usr {
347 polling-delay-passive = <0>;
348 polling-delay = <0>;
349 thermal-sensors = <&tsens1 6>;
350 thermal-governor = "user_space";
351 trips {
352 active-config0 {
353 temperature = <125000>;
354 hysteresis = <1000>;
355 type = "passive";
356 };
357 };
358 };
359
360 mdm-core-usr {
361 polling-delay-passive = <0>;
362 polling-delay = <0>;
363 thermal-sensors = <&tsens1 7>;
364 thermal-governor = "user_space";
365 trips {
366 active-config0 {
367 temperature = <125000>;
368 hysteresis = <1000>;
369 type = "passive";
370 };
371 };
372 };
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530373
374 gpu-virt-max-step {
375 polling-delay-passive = <10>;
376 polling-delay = <100>;
377 thermal-governor = "step_wise";
378 trips {
379 gpu_trip0: gpu-trip0 {
380 temperature = <95000>;
381 hysteresis = <0>;
382 type = "passive";
383 };
384 };
385 cooling-maps {
386 gpu_cdev0 {
387 trip = <&gpu_trip0>;
388 cooling-device =
389 <&msm_gpu THERMAL_NO_LIMIT
390 THERMAL_NO_LIMIT>;
391 };
392 };
393 };
394
395 hexa-silv-max-step {
396 polling-delay-passive = <0>;
397 polling-delay = <0>;
398 thermal-governor = "step_wise";
399 trips {
400 silver-trip {
401 temperature = <120000>;
402 hysteresis = <0>;
403 type = "passive";
404 };
405 };
406 };
407
408 dual-gold-max-step {
409 polling-delay-passive = <0>;
410 polling-delay = <0>;
411 thermal-governor = "step_wise";
412 trips {
413 gold-trip {
414 temperature = <120000>;
415 hysteresis = <0>;
416 type = "passive";
417 };
418 };
419 };
420
421 pop-mem-step {
422 polling-delay-passive = <10>;
423 polling-delay = <0>;
424 thermal-sensors = <&tsens1 2>;
425 thermal-governor = "step_wise";
426 trips {
427 pop_trip: pop-trip {
428 temperature = <95000>;
429 hysteresis = <0>;
430 type = "passive";
431 };
432 };
433 cooling-maps {
434 pop_cdev6 {
435 trip = <&pop_trip>;
436 cooling-device =
437 <&CPU6 THERMAL_NO_LIMIT
438 (THERMAL_MAX_LIMIT-1)>;
439 };
440 pop_cdev7 {
441 trip = <&pop_trip>;
442 cooling-device =
443 <&CPU7 THERMAL_NO_LIMIT
444 (THERMAL_MAX_LIMIT-1)>;
445 };
446 };
447 };
448
449 aoss0-lowf {
450 polling-delay-passive = <0>;
451 polling-delay = <0>;
452 thermal-governor = "low_limits_floor";
453 thermal-sensors = <&tsens0 0>;
454 tracks-low;
455 trips {
456 aoss0_trip: aoss0-trip {
457 temperature = <5000>;
458 hysteresis = <5000>;
459 type = "passive";
460 };
461 };
462 cooling-maps {
463 cpu0_vdd_cdev {
464 trip = <&aoss0_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530465 cooling-device = <&CPU0 2 2>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530466 };
467 cpu6_vdd_cdev {
468 trip = <&aoss0_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530469 cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-8)
470 (THERMAL_MAX_LIMIT-8)>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530471 };
472 gpu_vdd_cdev {
473 trip = <&aoss0_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530474 cooling-device = <&msm_gpu 4 4>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530475 };
476 cx_vdd_cdev {
477 trip = <&aoss0_trip>;
478 cooling-device = <&cx_cdev 0 0>;
479 };
480 mx_vdd_cdev {
481 trip = <&aoss0_trip>;
482 cooling-device = <&mx_cdev 0 0>;
483 };
484 modem_vdd_cdev {
485 trip = <&aoss0_trip>;
486 cooling-device = <&modem_vdd 0 0>;
487 };
488 adsp_vdd_cdev {
489 trip = <&aoss0_trip>;
490 cooling-device = <&adsp_vdd 0 0>;
491 };
492 cdsp_vdd_cdev {
493 trip = <&aoss0_trip>;
494 cooling-device = <&cdsp_vdd 0 0>;
495 };
496 };
497 };
498
499 cpu0-silver-lowf {
500 polling-delay-passive = <0>;
501 polling-delay = <0>;
502 thermal-governor = "low_limits_floor";
503 thermal-sensors = <&tsens0 1>;
504 tracks-low;
505 trips {
506 cpu0_trip: cpu0-trip {
507 temperature = <5000>;
508 hysteresis = <5000>;
509 type = "passive";
510 };
511 };
512 cooling-maps {
513 cpu0_vdd_cdev {
514 trip = <&cpu0_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530515 cooling-device = <&CPU0 2 2>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530516 };
517 cpu6_vdd_cdev {
518 trip = <&cpu0_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530519 cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-8)
520 (THERMAL_MAX_LIMIT-8)>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530521 };
522 gpu_vdd_cdev {
Manaf Meethalavalappu Pallikunhiaeb42ed2017-10-10 00:21:35 +0530523 trip = <&cpu0_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530524 cooling-device = <&msm_gpu 4 4>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530525 };
526 cx_vdd_cdev {
527 trip = <&cpu0_trip>;
528 cooling-device = <&cx_cdev 0 0>;
529 };
530 mx_vdd_cdev {
531 trip = <&cpu0_trip>;
532 cooling-device = <&mx_cdev 0 0>;
533 };
534 modem_vdd_cdev {
535 trip = <&cpu0_trip>;
536 cooling-device = <&modem_vdd 0 0>;
537 };
538 adsp_vdd_cdev {
539 trip = <&cpu0_trip>;
540 cooling-device = <&adsp_vdd 0 0>;
541 };
542 cdsp_vdd_cdev {
543 trip = <&cpu0_trip>;
544 cooling-device = <&cdsp_vdd 0 0>;
545 };
546 };
547 };
548
549 cpu1-silver-lowf {
550 polling-delay-passive = <0>;
551 polling-delay = <0>;
552 thermal-governor = "low_limits_floor";
553 thermal-sensors = <&tsens0 2>;
554 tracks-low;
555 trips {
556 cpu1_trip: cpu1-trip {
557 temperature = <5000>;
558 hysteresis = <5000>;
559 type = "passive";
560 };
561 };
562 cooling-maps {
563 cpu0_vdd_cdev {
564 trip = <&cpu1_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530565 cooling-device = <&CPU0 2 2>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530566 };
567 cpu6_vdd_cdev {
568 trip = <&cpu1_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530569 cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-8)
570 (THERMAL_MAX_LIMIT-8)>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530571 };
572 gpu_vdd_cdev {
Manaf Meethalavalappu Pallikunhiaeb42ed2017-10-10 00:21:35 +0530573 trip = <&cpu1_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530574 cooling-device = <&msm_gpu 4 4>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530575 };
576 cx_vdd_cdev {
577 trip = <&cpu1_trip>;
578 cooling-device = <&cx_cdev 0 0>;
579 };
580 mx_vdd_cdev {
581 trip = <&cpu1_trip>;
582 cooling-device = <&mx_cdev 0 0>;
583 };
584 modem_vdd_cdev {
585 trip = <&cpu1_trip>;
586 cooling-device = <&modem_vdd 0 0>;
587 };
588 adsp_vdd_cdev {
589 trip = <&cpu1_trip>;
590 cooling-device = <&adsp_vdd 0 0>;
591 };
592 cdsp_vdd_cdev {
593 trip = <&cpu1_trip>;
594 cooling-device = <&cdsp_vdd 0 0>;
595 };
596 };
597 };
598
599 cpu2-silver-lowf {
600 polling-delay-passive = <0>;
601 polling-delay = <0>;
602 thermal-governor = "low_limits_floor";
603 thermal-sensors = <&tsens0 3>;
604 tracks-low;
605 trips {
606 cpu2_trip: cpu2-trip {
607 temperature = <5000>;
608 hysteresis = <5000>;
609 type = "passive";
610 };
611 };
612 cooling-maps {
613 cpu0_vdd_cdev {
614 trip = <&cpu2_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530615 cooling-device = <&CPU0 2 2>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530616 };
617 cpu6_vdd_cdev {
618 trip = <&cpu2_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530619 cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-8)
620 (THERMAL_MAX_LIMIT-8)>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530621 };
622 gpu_vdd_cdev {
Manaf Meethalavalappu Pallikunhiaeb42ed2017-10-10 00:21:35 +0530623 trip = <&cpu2_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530624 cooling-device = <&msm_gpu 4 4>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530625 };
626 cx_vdd_cdev {
627 trip = <&cpu2_trip>;
628 cooling-device = <&cx_cdev 0 0>;
629 };
630 mx_vdd_cdev {
631 trip = <&cpu2_trip>;
632 cooling-device = <&mx_cdev 0 0>;
633 };
634 modem_vdd_cdev {
635 trip = <&cpu2_trip>;
636 cooling-device = <&modem_vdd 0 0>;
637 };
638 adsp_vdd_cdev {
639 trip = <&cpu2_trip>;
640 cooling-device = <&adsp_vdd 0 0>;
641 };
642 cdsp_vdd_cdev {
643 trip = <&cpu2_trip>;
644 cooling-device = <&cdsp_vdd 0 0>;
645 };
646 };
647 };
648
649 cpu3-silver-lowf {
650 polling-delay-passive = <0>;
651 polling-delay = <0>;
652 thermal-governor = "low_limits_floor";
653 thermal-sensors = <&tsens0 4>;
654 tracks-low;
655 trips {
656 cpu3_trip: cpu3-trip {
657 temperature = <5000>;
658 hysteresis = <5000>;
659 type = "passive";
660 };
661 };
662 cooling-maps {
663 cpu0_vdd_cdev {
664 trip = <&cpu3_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530665 cooling-device = <&CPU0 2 2>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530666 };
667 cpu6_vdd_cdev {
668 trip = <&cpu3_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530669 cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-8)
670 (THERMAL_MAX_LIMIT-8)>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530671 };
672 gpu_vdd_cdev {
Manaf Meethalavalappu Pallikunhiaeb42ed2017-10-10 00:21:35 +0530673 trip = <&cpu3_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530674 cooling-device = <&msm_gpu 4 4>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530675 };
676 cx_vdd_cdev {
677 trip = <&cpu3_trip>;
678 cooling-device = <&cx_cdev 0 0>;
679 };
680 mx_vdd_cdev {
681 trip = <&cpu3_trip>;
682 cooling-device = <&mx_cdev 0 0>;
683 };
684 modem_vdd_cdev {
685 trip = <&cpu3_trip>;
686 cooling-device = <&modem_vdd 0 0>;
687 };
688 adsp_vdd_cdev {
689 trip = <&cpu3_trip>;
690 cooling-device = <&adsp_vdd 0 0>;
691 };
692 cdsp_vdd_cdev {
693 trip = <&cpu3_trip>;
694 cooling-device = <&cdsp_vdd 0 0>;
695 };
696 };
697 };
698
Manaf Meethalavalappu Pallikunhic72aba62017-11-23 16:03:58 +0530699 cpuss-0-lowf {
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530700 polling-delay-passive = <0>;
701 polling-delay = <0>;
702 thermal-governor = "low_limits_floor";
703 thermal-sensors = <&tsens0 5>;
704 tracks-low;
705 trips {
Manaf Meethalavalappu Pallikunhic72aba62017-11-23 16:03:58 +0530706 l3_0_trip: l3-0-trip {
707 temperature = <5000>;
708 hysteresis = <5000>;
709 type = "passive";
710 };
711 };
712 cooling-maps {
713 cpu0_vdd_cdev {
714 trip = <&l3_0_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530715 cooling-device = <&CPU0 2 2>;
Manaf Meethalavalappu Pallikunhic72aba62017-11-23 16:03:58 +0530716 };
717 cpu6_vdd_cdev {
718 trip = <&l3_0_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530719 cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-8)
720 (THERMAL_MAX_LIMIT-8)>;
Manaf Meethalavalappu Pallikunhic72aba62017-11-23 16:03:58 +0530721 };
722 gpu_vdd_cdev {
723 trip = <&l3_0_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530724 cooling-device = <&msm_gpu 4 4>;
Manaf Meethalavalappu Pallikunhic72aba62017-11-23 16:03:58 +0530725 };
726 cx_vdd_cdev {
727 trip = <&l3_0_trip>;
728 cooling-device = <&cx_cdev 0 0>;
729 };
730 mx_vdd_cdev {
731 trip = <&l3_0_trip>;
732 cooling-device = <&mx_cdev 0 0>;
733 };
734 modem_vdd_cdev {
735 trip = <&l3_0_trip>;
736 cooling-device = <&modem_vdd 0 0>;
737 };
738 adsp_vdd_cdev {
739 trip = <&l3_0_trip>;
740 cooling-device = <&adsp_vdd 0 0>;
741 };
742 cdsp_vdd_cdev {
743 trip = <&l3_0_trip>;
744 cooling-device = <&cdsp_vdd 0 0>;
745 };
746 };
747 };
748
749 cpuss-1-lowf {
750 polling-delay-passive = <0>;
751 polling-delay = <0>;
752 thermal-governor = "low_limits_floor";
753 thermal-sensors = <&tsens0 6>;
754 tracks-low;
755 trips {
756 l3_1_trip: l3-1-trip {
757 temperature = <5000>;
758 hysteresis = <5000>;
759 type = "passive";
760 };
761 };
762 cooling-maps {
763 cpu0_vdd_cdev {
764 trip = <&l3_1_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530765 cooling-device = <&CPU0 2 2>;
Manaf Meethalavalappu Pallikunhic72aba62017-11-23 16:03:58 +0530766 };
767 cpu6_vdd_cdev {
768 trip = <&l3_1_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530769 cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-8)
770 (THERMAL_MAX_LIMIT-8)>;
Manaf Meethalavalappu Pallikunhic72aba62017-11-23 16:03:58 +0530771 };
772 gpu_vdd_cdev {
773 trip = <&l3_1_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530774 cooling-device = <&msm_gpu 4 4>;
Manaf Meethalavalappu Pallikunhic72aba62017-11-23 16:03:58 +0530775 };
776 cx_vdd_cdev {
777 trip = <&l3_1_trip>;
778 cooling-device = <&cx_cdev 0 0>;
779 };
780 mx_vdd_cdev {
781 trip = <&l3_1_trip>;
782 cooling-device = <&mx_cdev 0 0>;
783 };
784 modem_vdd_cdev {
785 trip = <&l3_1_trip>;
786 cooling-device = <&modem_vdd 0 0>;
787 };
788 adsp_vdd_cdev {
789 trip = <&l3_1_trip>;
790 cooling-device = <&adsp_vdd 0 0>;
791 };
792 cdsp_vdd_cdev {
793 trip = <&l3_1_trip>;
794 cooling-device = <&cdsp_vdd 0 0>;
795 };
796 };
797 };
798
799 cpu4-silver-lowf {
800 polling-delay-passive = <0>;
801 polling-delay = <0>;
802 thermal-governor = "low_limits_floor";
803 thermal-sensors = <&tsens0 7>;
804 tracks-low;
805 trips {
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530806 cpu4_trip: cpu4-trip {
807 temperature = <5000>;
808 hysteresis = <5000>;
809 type = "passive";
810 };
811 };
812 cooling-maps {
813 cpu0_vdd_cdev {
814 trip = <&cpu4_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530815 cooling-device = <&CPU0 2 2>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530816 };
817 cpu6_vdd_cdev {
818 trip = <&cpu4_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530819 cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-8)
820 (THERMAL_MAX_LIMIT-8)>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530821 };
822 gpu_vdd_cdev {
Manaf Meethalavalappu Pallikunhiaeb42ed2017-10-10 00:21:35 +0530823 trip = <&cpu4_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530824 cooling-device = <&msm_gpu 4 4>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530825 };
826 cx_vdd_cdev {
827 trip = <&cpu4_trip>;
828 cooling-device = <&cx_cdev 0 0>;
829 };
830 mx_vdd_cdev {
831 trip = <&cpu4_trip>;
832 cooling-device = <&mx_cdev 0 0>;
833 };
834 modem_vdd_cdev {
835 trip = <&cpu4_trip>;
836 cooling-device = <&modem_vdd 0 0>;
837 };
838 adsp_vdd_cdev {
839 trip = <&cpu4_trip>;
840 cooling-device = <&adsp_vdd 0 0>;
841 };
842 cdsp_vdd_cdev {
843 trip = <&cpu4_trip>;
844 cooling-device = <&cdsp_vdd 0 0>;
845 };
846 };
847 };
848
849 cpu5-silver-lowf {
850 polling-delay-passive = <0>;
851 polling-delay = <0>;
852 thermal-governor = "low_limits_floor";
Manaf Meethalavalappu Pallikunhic72aba62017-11-23 16:03:58 +0530853 thermal-sensors = <&tsens0 8>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530854 tracks-low;
855 trips {
856 cpu5_trip: cpu5-trip {
857 temperature = <5000>;
858 hysteresis = <5000>;
859 type = "passive";
860 };
861 };
862 cooling-maps {
863 cpu0_vdd_cdev {
864 trip = <&cpu5_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530865 cooling-device = <&CPU0 2 2>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530866 };
867 cpu6_vdd_cdev {
868 trip = <&cpu5_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530869 cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-8)
870 (THERMAL_MAX_LIMIT-8)>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530871 };
872 gpu_vdd_cdev {
Manaf Meethalavalappu Pallikunhiaeb42ed2017-10-10 00:21:35 +0530873 trip = <&cpu5_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530874 cooling-device = <&msm_gpu 4 4>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530875 };
876 cx_vdd_cdev {
877 trip = <&cpu5_trip>;
878 cooling-device = <&cx_cdev 0 0>;
879 };
880 mx_vdd_cdev {
881 trip = <&cpu5_trip>;
882 cooling-device = <&mx_cdev 0 0>;
883 };
884 modem_vdd_cdev {
885 trip = <&cpu5_trip>;
886 cooling-device = <&modem_vdd 0 0>;
887 };
888 adsp_vdd_cdev {
889 trip = <&cpu5_trip>;
890 cooling-device = <&adsp_vdd 0 0>;
891 };
892 cdsp_vdd_cdev {
893 trip = <&cpu5_trip>;
894 cooling-device = <&cdsp_vdd 0 0>;
895 };
896 };
897 };
898
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530899 cpu0-gold-lowf {
900 polling-delay-passive = <0>;
901 polling-delay = <0>;
902 thermal-governor = "low_limits_floor";
903 thermal-sensors = <&tsens0 9>;
904 tracks-low;
905 trips {
906 cpug0_trip: cpug0-trip {
907 temperature = <5000>;
908 hysteresis = <5000>;
909 type = "passive";
910 };
911 };
912 cooling-maps {
913 cpu0_vdd_cdev {
914 trip = <&cpug0_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530915 cooling-device = <&CPU0 2 2>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530916 };
917 cpu6_vdd_cdev {
918 trip = <&cpug0_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530919 cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-8)
920 (THERMAL_MAX_LIMIT-8)>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530921 };
922 gpu_vdd_cdev {
Manaf Meethalavalappu Pallikunhiaeb42ed2017-10-10 00:21:35 +0530923 trip = <&cpug0_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530924 cooling-device = <&msm_gpu 4 4>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530925 };
926 cx_vdd_cdev {
927 trip = <&cpug0_trip>;
928 cooling-device = <&cx_cdev 0 0>;
929 };
930 mx_vdd_cdev {
931 trip = <&cpug0_trip>;
932 cooling-device = <&mx_cdev 0 0>;
933 };
934 modem_vdd_cdev {
935 trip = <&cpug0_trip>;
936 cooling-device = <&modem_vdd 0 0>;
937 };
938 adsp_vdd_cdev {
939 trip = <&cpug0_trip>;
940 cooling-device = <&adsp_vdd 0 0>;
941 };
942 cdsp_vdd_cdev {
943 trip = <&cpug0_trip>;
944 cooling-device = <&cdsp_vdd 0 0>;
945 };
946 };
947 };
948
949 cpu1-gold-lowf {
950 polling-delay-passive = <0>;
951 polling-delay = <0>;
952 thermal-governor = "low_limits_floor";
953 thermal-sensors = <&tsens0 10>;
954 tracks-low;
955 trips {
956 cpug1_trip: cpug1-trip {
957 temperature = <5000>;
958 hysteresis = <5000>;
959 type = "passive";
960 };
961 };
962 cooling-maps {
963 cpu0_vdd_cdev {
964 trip = <&cpug1_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530965 cooling-device = <&CPU0 2 2>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530966 };
967 cpu6_vdd_cdev {
968 trip = <&cpug1_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530969 cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-8)
970 (THERMAL_MAX_LIMIT-8)>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530971 };
972 gpu_vdd_cdev {
Manaf Meethalavalappu Pallikunhiaeb42ed2017-10-10 00:21:35 +0530973 trip = <&cpug1_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +0530974 cooling-device = <&msm_gpu 4 4>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +0530975 };
976 cx_vdd_cdev {
977 trip = <&cpug1_trip>;
978 cooling-device = <&cx_cdev 0 0>;
979 };
980 mx_vdd_cdev {
981 trip = <&cpug1_trip>;
982 cooling-device = <&mx_cdev 0 0>;
983 };
984 modem_vdd_cdev {
985 trip = <&cpug1_trip>;
986 cooling-device = <&modem_vdd 0 0>;
987 };
988 adsp_vdd_cdev {
989 trip = <&cpug1_trip>;
990 cooling-device = <&adsp_vdd 0 0>;
991 };
992 cdsp_vdd_cdev {
993 trip = <&cpug1_trip>;
994 cooling-device = <&cdsp_vdd 0 0>;
995 };
996 };
997 };
998
999 gpu0-lowf {
1000 polling-delay-passive = <0>;
1001 polling-delay = <0>;
1002 thermal-governor = "low_limits_floor";
1003 thermal-sensors = <&tsens0 11>;
1004 tracks-low;
1005 trips {
1006 gpu0_trip_l: gpu0-trip {
1007 temperature = <5000>;
1008 hysteresis = <5000>;
1009 type = "passive";
1010 };
1011 };
1012 cooling-maps {
1013 cpu0_vdd_cdev {
1014 trip = <&gpu0_trip_l>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301015 cooling-device = <&CPU0 2 2>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301016 };
1017 cpu6_vdd_cdev {
1018 trip = <&gpu0_trip_l>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301019 cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-8)
1020 (THERMAL_MAX_LIMIT-8)>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301021 };
1022 gpu_vdd_cdev {
Manaf Meethalavalappu Pallikunhiaeb42ed2017-10-10 00:21:35 +05301023 trip = <&gpu0_trip_l>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301024 cooling-device = <&msm_gpu 4 4>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301025 };
1026 cx_vdd_cdev {
1027 trip = <&gpu0_trip_l>;
1028 cooling-device = <&cx_cdev 0 0>;
1029 };
1030 mx_vdd_cdev {
1031 trip = <&gpu0_trip_l>;
1032 cooling-device = <&mx_cdev 0 0>;
1033 };
1034 modem_vdd_cdev {
1035 trip = <&gpu0_trip_l>;
1036 cooling-device = <&modem_vdd 0 0>;
1037 };
1038 adsp_vdd_cdev {
1039 trip = <&gpu0_trip_l>;
1040 cooling-device = <&adsp_vdd 0 0>;
1041 };
1042 cdsp_vdd_cdev {
1043 trip = <&gpu0_trip_l>;
1044 cooling-device = <&cdsp_vdd 0 0>;
1045 };
1046 };
1047 };
1048
1049 gpu1-lowf {
1050 polling-delay-passive = <0>;
1051 polling-delay = <0>;
1052 thermal-governor = "low_limits_floor";
1053 thermal-sensors = <&tsens0 12>;
1054 tracks-low;
1055 trips {
1056 gpu1_trip_l: gpu1-trip_l {
1057 temperature = <5000>;
1058 hysteresis = <5000>;
1059 type = "passive";
1060 };
1061 };
1062 cooling-maps {
1063 cpu0_vdd_cdev {
1064 trip = <&gpu1_trip_l>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301065 cooling-device = <&CPU0 2 2>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301066 };
1067 cpu6_vdd_cdev {
1068 trip = <&gpu1_trip_l>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301069 cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-8)
1070 (THERMAL_MAX_LIMIT-8)>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301071 };
1072 gpu_vdd_cdev {
Manaf Meethalavalappu Pallikunhiaeb42ed2017-10-10 00:21:35 +05301073 trip = <&gpu1_trip_l>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301074 cooling-device = <&msm_gpu 4 4>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301075 };
1076 cx_vdd_cdev {
1077 trip = <&gpu1_trip_l>;
1078 cooling-device = <&cx_cdev 0 0>;
1079 };
1080 mx_vdd_cdev {
1081 trip = <&gpu1_trip_l>;
1082 cooling-device = <&mx_cdev 0 0>;
1083 };
1084 modem_vdd_cdev {
1085 trip = <&gpu1_trip_l>;
1086 cooling-device = <&modem_vdd 0 0>;
1087 };
1088 adsp_vdd_cdev {
1089 trip = <&gpu1_trip_l>;
1090 cooling-device = <&adsp_vdd 0 0>;
1091 };
1092 cdsp_vdd_cdev {
1093 trip = <&gpu1_trip_l>;
1094 cooling-device = <&cdsp_vdd 0 0>;
1095 };
1096 };
1097 };
1098
1099 aoss1-lowf {
1100 polling-delay-passive = <0>;
1101 polling-delay = <0>;
1102 thermal-governor = "low_limits_floor";
1103 thermal-sensors = <&tsens1 0>;
1104 tracks-low;
1105 trips {
1106 aoss1_trip: aoss1-trip {
1107 temperature = <5000>;
1108 hysteresis = <5000>;
1109 type = "passive";
1110 };
1111 };
1112 cooling-maps {
1113 cpu0_vdd_cdev {
1114 trip = <&aoss1_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301115 cooling-device = <&CPU0 2 2>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301116 };
1117 cpu6_vdd_cdev {
1118 trip = <&aoss1_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301119 cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-8)
1120 (THERMAL_MAX_LIMIT-8)>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301121 };
1122 gpu_vdd_cdev {
Manaf Meethalavalappu Pallikunhiaeb42ed2017-10-10 00:21:35 +05301123 trip = <&aoss1_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301124 cooling-device = <&msm_gpu 4 4>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301125 };
1126 cx_vdd_cdev {
1127 trip = <&aoss1_trip>;
1128 cooling-device = <&cx_cdev 0 0>;
1129 };
1130 mx_vdd_cdev {
1131 trip = <&aoss1_trip>;
1132 cooling-device = <&mx_cdev 0 0>;
1133 };
1134 modem_vdd_cdev {
1135 trip = <&aoss1_trip>;
1136 cooling-device = <&modem_vdd 0 0>;
1137 };
1138 adsp_vdd_cdev {
1139 trip = <&aoss1_trip>;
1140 cooling-device = <&adsp_vdd 0 0>;
1141 };
1142 cdsp_vdd_cdev {
1143 trip = <&aoss1_trip>;
1144 cooling-device = <&cdsp_vdd 0 0>;
1145 };
1146 };
1147 };
1148
1149 mdm-dsp-lowf {
1150 polling-delay-passive = <0>;
1151 polling-delay = <0>;
1152 thermal-governor = "low_limits_floor";
1153 thermal-sensors = <&tsens1 1>;
1154 tracks-low;
1155 trips {
1156 dsp_trip: dsp-trip {
1157 temperature = <5000>;
1158 hysteresis = <5000>;
1159 type = "passive";
1160 };
1161 };
1162 cooling-maps {
1163 cpu0_vdd_cdev {
1164 trip = <&dsp_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301165 cooling-device = <&CPU0 2 2>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301166 };
1167 cpu6_vdd_cdev {
1168 trip = <&dsp_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301169 cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-8)
1170 (THERMAL_MAX_LIMIT-8)>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301171 };
1172 gpu_vdd_cdev {
Manaf Meethalavalappu Pallikunhiaeb42ed2017-10-10 00:21:35 +05301173 trip = <&dsp_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301174 cooling-device = <&msm_gpu 4 4>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301175 };
1176 cx_vdd_cdev {
1177 trip = <&dsp_trip>;
1178 cooling-device = <&cx_cdev 0 0>;
1179 };
1180 mx_vdd_cdev {
1181 trip = <&dsp_trip>;
1182 cooling-device = <&mx_cdev 0 0>;
1183 };
1184 modem_vdd_cdev {
1185 trip = <&dsp_trip>;
1186 cooling-device = <&modem_vdd 0 0>;
1187 };
1188 adsp_vdd_cdev {
1189 trip = <&dsp_trip>;
1190 cooling-device = <&adsp_vdd 0 0>;
1191 };
1192 cdsp_vdd_cdev {
1193 trip = <&dsp_trip>;
1194 cooling-device = <&cdsp_vdd 0 0>;
1195 };
1196 };
1197 };
1198
1199 ddr-lowf {
1200 polling-delay-passive = <0>;
1201 polling-delay = <0>;
1202 thermal-governor = "low_limits_floor";
1203 thermal-sensors = <&tsens1 2>;
1204 tracks-low;
1205 trips {
1206 ddr_trip: ddr-trip {
1207 temperature = <5000>;
1208 hysteresis = <5000>;
1209 type = "passive";
1210 };
1211 };
1212 cooling-maps {
1213 cpu0_vdd_cdev {
1214 trip = <&ddr_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301215 cooling-device = <&CPU0 2 2>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301216 };
1217 cpu6_vdd_cdev {
1218 trip = <&ddr_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301219 cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-8)
1220 (THERMAL_MAX_LIMIT-8)>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301221 };
1222 gpu_vdd_cdev {
Manaf Meethalavalappu Pallikunhiaeb42ed2017-10-10 00:21:35 +05301223 trip = <&ddr_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301224 cooling-device = <&msm_gpu 4 4>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301225 };
1226 cx_vdd_cdev {
1227 trip = <&ddr_trip>;
1228 cooling-device = <&cx_cdev 0 0>;
1229 };
1230 mx_vdd_cdev {
1231 trip = <&ddr_trip>;
1232 cooling-device = <&mx_cdev 0 0>;
1233 };
1234 modem_vdd_cdev {
1235 trip = <&ddr_trip>;
1236 cooling-device = <&modem_vdd 0 0>;
1237 };
1238 adsp_vdd_cdev {
1239 trip = <&ddr_trip>;
1240 cooling-device = <&adsp_vdd 0 0>;
1241 };
1242 cdsp_vdd_cdev {
1243 trip = <&ddr_trip>;
1244 cooling-device = <&cdsp_vdd 0 0>;
1245 };
1246 };
1247 };
1248
1249 wlan-lowf {
1250 polling-delay-passive = <0>;
1251 polling-delay = <0>;
1252 thermal-governor = "low_limits_floor";
1253 thermal-sensors = <&tsens1 3>;
1254 tracks-low;
1255 trips {
1256 wlan_trip: wlan-trip {
1257 temperature = <5000>;
1258 hysteresis = <5000>;
1259 type = "passive";
1260 };
1261 };
1262 cooling-maps {
1263 cpu0_vdd_cdev {
1264 trip = <&wlan_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301265 cooling-device = <&CPU0 2 2>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301266 };
1267 cpu6_vdd_cdev {
1268 trip = <&wlan_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301269 cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-8)
1270 (THERMAL_MAX_LIMIT-8)>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301271 };
1272 gpu_vdd_cdev {
Manaf Meethalavalappu Pallikunhiaeb42ed2017-10-10 00:21:35 +05301273 trip = <&wlan_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301274 cooling-device = <&msm_gpu 4 4>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301275 };
1276 cx_vdd_cdev {
1277 trip = <&wlan_trip>;
1278 cooling-device = <&cx_cdev 0 0>;
1279 };
1280 mx_vdd_cdev {
1281 trip = <&wlan_trip>;
1282 cooling-device = <&mx_cdev 0 0>;
1283 };
1284 modem_vdd_cdev {
1285 trip = <&wlan_trip>;
1286 cooling-device = <&modem_vdd 0 0>;
1287 };
1288 adsp_vdd_cdev {
1289 trip = <&wlan_trip>;
1290 cooling-device = <&adsp_vdd 0 0>;
1291 };
1292 cdsp_vdd_cdev {
1293 trip = <&wlan_trip>;
1294 cooling-device = <&cdsp_vdd 0 0>;
1295 };
1296 };
1297 };
1298
1299 compute-hvx-lowf {
1300 polling-delay-passive = <0>;
1301 polling-delay = <0>;
1302 thermal-governor = "low_limits_floor";
1303 thermal-sensors = <&tsens1 4>;
1304 tracks-low;
1305 trips {
1306 hvx_trip: hvx-trip {
1307 temperature = <5000>;
1308 hysteresis = <5000>;
1309 type = "passive";
1310 };
1311 };
1312 cooling-maps {
1313 cpu0_vdd_cdev {
1314 trip = <&hvx_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301315 cooling-device = <&CPU0 2 2>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301316 };
1317 cpu6_vdd_cdev {
1318 trip = <&hvx_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301319 cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-8)
1320 (THERMAL_MAX_LIMIT-8)>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301321 };
1322 gpu_vdd_cdev {
Manaf Meethalavalappu Pallikunhiaeb42ed2017-10-10 00:21:35 +05301323 trip = <&hvx_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301324 cooling-device = <&msm_gpu 4 4>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301325 };
1326 cx_vdd_cdev {
1327 trip = <&hvx_trip>;
1328 cooling-device = <&cx_cdev 0 0>;
1329 };
1330 mx_vdd_cdev {
1331 trip = <&hvx_trip>;
1332 cooling-device = <&mx_cdev 0 0>;
1333 };
1334 modem_vdd_cdev {
1335 trip = <&hvx_trip>;
1336 cooling-device = <&modem_vdd 0 0>;
1337 };
1338 adsp_vdd_cdev {
1339 trip = <&hvx_trip>;
1340 cooling-device = <&adsp_vdd 0 0>;
1341 };
1342 cdsp_vdd_cdev {
1343 trip = <&hvx_trip>;
1344 cooling-device = <&cdsp_vdd 0 0>;
1345 };
1346 };
1347 };
1348
1349 camera-lowf {
1350 polling-delay-passive = <0>;
1351 polling-delay = <0>;
1352 thermal-governor = "low_limits_floor";
1353 thermal-sensors = <&tsens1 5>;
1354 tracks-low;
1355 trips {
1356 camera_trip: camera-trip {
1357 temperature = <5000>;
1358 hysteresis = <5000>;
1359 type = "passive";
1360 };
1361 };
1362 cooling-maps {
1363 cpu0_vdd_cdev {
1364 trip = <&camera_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301365 cooling-device = <&CPU0 2 2>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301366 };
1367 cpu6_vdd_cdev {
1368 trip = <&camera_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301369 cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-8)
1370 (THERMAL_MAX_LIMIT-8)>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301371 };
1372 gpu_vdd_cdev {
Manaf Meethalavalappu Pallikunhiaeb42ed2017-10-10 00:21:35 +05301373 trip = <&camera_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301374 cooling-device = <&msm_gpu 4 4>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301375 };
1376 cx_vdd_cdev {
1377 trip = <&camera_trip>;
1378 cooling-device = <&cx_cdev 0 0>;
1379 };
1380 mx_vdd_cdev {
1381 trip = <&camera_trip>;
1382 cooling-device = <&mx_cdev 0 0>;
1383 };
1384 modem_vdd_cdev {
1385 trip = <&camera_trip>;
1386 cooling-device = <&modem_vdd 0 0>;
1387 };
1388 adsp_vdd_cdev {
1389 trip = <&camera_trip>;
1390 cooling-device = <&adsp_vdd 0 0>;
1391 };
1392 cdsp_vdd_cdev {
1393 trip = <&camera_trip>;
1394 cooling-device = <&cdsp_vdd 0 0>;
1395 };
1396 };
1397 };
1398
1399 mmss-lowf {
1400 polling-delay-passive = <0>;
1401 polling-delay = <0>;
1402 thermal-governor = "low_limits_floor";
1403 thermal-sensors = <&tsens1 6>;
1404 tracks-low;
1405 trips {
1406 mmss_trip: mmss-trip {
1407 temperature = <5000>;
1408 hysteresis = <5000>;
1409 type = "passive";
1410 };
1411 };
1412 cooling-maps {
1413 cpu0_vdd_cdev {
1414 trip = <&mmss_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301415 cooling-device = <&CPU0 2 2>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301416 };
1417 cpu6_vdd_cdev {
1418 trip = <&mmss_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301419 cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-8)
1420 (THERMAL_MAX_LIMIT-8)>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301421 };
1422 gpu_vdd_cdev {
Manaf Meethalavalappu Pallikunhiaeb42ed2017-10-10 00:21:35 +05301423 trip = <&mmss_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301424 cooling-device = <&msm_gpu 4 4>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301425 };
1426 cx_vdd_cdev {
1427 trip = <&mmss_trip>;
1428 cooling-device = <&cx_cdev 0 0>;
1429 };
1430 mx_vdd_cdev {
1431 trip = <&mmss_trip>;
1432 cooling-device = <&mx_cdev 0 0>;
1433 };
1434 modem_vdd_cdev {
1435 trip = <&mmss_trip>;
1436 cooling-device = <&modem_vdd 0 0>;
1437 };
1438 adsp_vdd_cdev {
1439 trip = <&mmss_trip>;
1440 cooling-device = <&adsp_vdd 0 0>;
1441 };
1442 cdsp_vdd_cdev {
1443 trip = <&mmss_trip>;
1444 cooling-device = <&cdsp_vdd 0 0>;
1445 };
1446 };
1447 };
1448
1449 mdm-core-lowf {
1450 polling-delay-passive = <0>;
1451 polling-delay = <0>;
1452 thermal-governor = "low_limits_floor";
1453 thermal-sensors = <&tsens1 7>;
1454 tracks-low;
1455 trips {
1456 mdm_trip: mdm-trip {
1457 temperature = <5000>;
1458 hysteresis = <5000>;
1459 type = "passive";
1460 };
1461 };
1462 cooling-maps {
1463 cpu0_vdd_cdev {
1464 trip = <&mdm_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301465 cooling-device = <&CPU0 2 2>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301466 };
1467 cpu6_vdd_cdev {
1468 trip = <&mdm_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301469 cooling-device = <&CPU6 (THERMAL_MAX_LIMIT-8)
1470 (THERMAL_MAX_LIMIT-8)>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301471 };
1472 gpu_vdd_cdev {
Manaf Meethalavalappu Pallikunhiaeb42ed2017-10-10 00:21:35 +05301473 trip = <&mdm_trip>;
Manaf Meethalavalappu Pallikunhi63987fe2017-11-28 21:18:22 +05301474 cooling-device = <&msm_gpu 4 4>;
Manaf Meethalavalappu Pallikunhi07ee0812017-09-07 01:09:06 +05301475 };
1476 cx_vdd_cdev {
1477 trip = <&mdm_trip>;
1478 cooling-device = <&cx_cdev 0 0>;
1479 };
1480 mx_vdd_cdev {
1481 trip = <&mdm_trip>;
1482 cooling-device = <&mx_cdev 0 0>;
1483 };
1484 modem_vdd_cdev {
1485 trip = <&mdm_trip>;
1486 cooling-device = <&modem_vdd 0 0>;
1487 };
1488 adsp_vdd_cdev {
1489 trip = <&mdm_trip>;
1490 cooling-device = <&adsp_vdd 0 0>;
1491 };
1492 cdsp_vdd_cdev {
1493 trip = <&mdm_trip>;
1494 cooling-device = <&cdsp_vdd 0 0>;
1495 };
1496 };
1497 };
1498
1499 lmh-dcvs-01 {
1500 polling-delay-passive = <0>;
1501 polling-delay = <0>;
1502 thermal-governor = "user_space";
1503 thermal-sensors = <&lmh_dcvs1>;
1504
1505 trips {
1506 active-config {
1507 temperature = <95000>;
1508 hysteresis = <30000>;
1509 type = "passive";
1510 };
1511 };
1512 };
1513
1514 lmh-dcvs-00 {
1515 polling-delay-passive = <0>;
1516 polling-delay = <0>;
1517 thermal-governor = "user_space";
1518 thermal-sensors = <&lmh_dcvs0>;
1519
1520 trips {
1521 active-config {
1522 temperature = <95000>;
1523 hysteresis = <30000>;
1524 type = "passive";
1525 };
1526 };
1527 };
Manaf Meethalavalappu Pallikunhi1558e492017-11-27 20:24:47 +05301528
1529 xo-therm-cpu-step {
1530 polling-delay-passive = <2000>;
1531 polling-delay = <0>;
1532 thermal-sensors = <&pm660_adc_tm 0x4c>;
1533 thermal-governor = "step_wise";
1534
1535 trips {
1536 gold_trip0: gold-trip0 {
1537 temperature = <45000>;
1538 hysteresis = <0>;
1539 type = "passive";
1540 };
1541 silver_trip1: silver-trip1 {
Manaf Meethalavalappu Pallikunhi01985c72017-12-06 18:39:40 +05301542 temperature = <50000>;
Manaf Meethalavalappu Pallikunhi1558e492017-11-27 20:24:47 +05301543 hysteresis = <0>;
1544 type = "passive";
1545 };
1546 };
1547
1548 cooling-maps {
1549 skin_cpu6 {
1550 trip = <&gold_trip0>;
1551 cooling-device =
1552 /* throttle from fmax to 1747200KHz */
1553 <&CPU6 THERMAL_NO_LIMIT
1554 (THERMAL_MAX_LIMIT-8)>;
1555 };
1556 skin_cpu7 {
1557 trip = <&gold_trip0>;
1558 cooling-device =
1559 <&CPU7 THERMAL_NO_LIMIT
1560 (THERMAL_MAX_LIMIT-8)>;
1561 };
1562 skin_cpu0 {
1563 trip = <&silver_trip1>;
1564 /* throttle from fmax to 1516800KHz */
1565 cooling-device = <&CPU0 THERMAL_NO_LIMIT 2>;
1566 };
1567 skin_cpu1 {
1568 trip = <&silver_trip1>;
1569 cooling-device = <&CPU1 THERMAL_NO_LIMIT 2>;
1570 };
1571 skin_cpu2 {
1572 trip = <&silver_trip1>;
1573 cooling-device = <&CPU2 THERMAL_NO_LIMIT 2>;
1574 };
1575 skin_cpu3 {
1576 trip = <&silver_trip1>;
1577 cooling-device = <&CPU3 THERMAL_NO_LIMIT 2>;
1578 };
1579 skin_cpu4 {
1580 trip = <&silver_trip1>;
1581 cooling-device = <&CPU4 THERMAL_NO_LIMIT 2>;
1582 };
1583 skin_cpu5 {
1584 trip = <&silver_trip1>;
1585 cooling-device = <&CPU5 THERMAL_NO_LIMIT 2>;
1586 };
1587 };
1588 };
1589
1590 xo-therm-mdm-step {
1591 polling-delay-passive = <0>;
1592 polling-delay = <0>;
1593 thermal-sensors = <&pm660_adc_tm 0x4c>;
1594 thermal-governor = "step_wise";
1595
1596 trips {
1597 modem_trip0: modem-trip0 {
1598 temperature = <44000>;
1599 hysteresis = <4000>;
1600 type = "passive";
1601 };
1602 modem_trip1: modem-trip1 {
1603 temperature = <46000>;
1604 hysteresis = <3000>;
1605 type = "passive";
1606 };
1607 modem_trip2: modem-trip2 {
1608 temperature = <48000>;
Manaf Meethalavalappu Pallikunhi01985c72017-12-06 18:39:40 +05301609 hysteresis = <3000>;
Manaf Meethalavalappu Pallikunhi1558e492017-11-27 20:24:47 +05301610 type = "passive";
1611 };
1612 modem_trip3: modem-trip3 {
1613 temperature = <55000>;
1614 hysteresis = <5000>;
1615 type = "passive";
1616 };
1617 };
1618
1619 cooling-maps {
1620 modem_lvl1 {
1621 trip = <&modem_trip1>;
1622 cooling-device = <&modem_pa 1 1>;
1623 };
1624 modem_lvl2 {
1625 trip = <&modem_trip2>;
1626 cooling-device = <&modem_pa 2 2>;
1627 };
1628 modem_lvl3 {
1629 trip = <&modem_trip3>;
1630 cooling-device = <&modem_pa 3 3>;
1631 };
1632 modem_proc_lvl1 {
1633 trip = <&modem_trip0>;
1634 cooling-device = <&modem_proc 1 1>;
1635 };
1636 modem_proc_lvl3 {
1637 trip = <&modem_trip3>;
1638 cooling-device = <&modem_proc 3 3>;
1639 };
1640 };
1641 };
Manaf Meethalavalappu Pallikunhi52c7ba12017-09-07 01:41:43 +05301642};