blob: d5a6f52321b6c774651e5138957494efb015659a [file] [log] [blame]
Manaf Meethalavalappu Pallikunhi4eb2b272018-01-02 17:29:37 +05301/* Copyright (c) 2018, 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
13#include <dt-bindings/thermal/thermal.h>
14
Manaf Meethalavalappu Pallikunhi08801072018-01-02 17:40:45 +053015&soc {
16 qmi-tmd-devices {
17 compatible = "qcom,qmi_cooling_devices";
18
19 modem {
20 qcom,instance-id = <0x0>;
21
22 modem_pa: modem_pa {
23 qcom,qmi-dev-name = "pa";
24 #cooling-cells = <2>;
25 };
26
27 modem_proc: modem_proc {
28 qcom,qmi-dev-name = "modem";
29 #cooling-cells = <2>;
30 };
31
32 modem_current: modem_current {
33 qcom,qmi-dev-name = "modem_current";
34 #cooling-cells = <2>;
35 };
36
37 modem_vdd: modem_vdd {
38 qcom,qmi-dev-name = "cpuv_restriction_cold";
39 #cooling-cells = <2>;
40 };
41 };
42 };
43};
44
Manaf Meethalavalappu Pallikunhi4eb2b272018-01-02 17:29:37 +053045&thermal_zones {
46 mdm-core-usr {
47 polling-delay-passive = <0>;
48 polling-delay = <0>;
49 thermal-governor = "user_space";
50 thermal-sensors = <&tsens0 1>;
51 trips {
52 active-config0 {
53 temperature = <125000>;
54 hysteresis = <1000>;
55 type = "passive";
56 };
57 };
58 };
59
60 qdsp-usr {
61 polling-delay-passive = <0>;
62 polling-delay = <0>;
63 thermal-governor = "user_space";
64 thermal-sensors = <&tsens0 2>;
65 trips {
66 active-config0 {
67 temperature = <125000>;
68 hysteresis = <1000>;
69 type = "passive";
70 };
71 };
72 };
73
74 camera-usr {
75 polling-delay-passive = <0>;
76 polling-delay = <0>;
77 thermal-governor = "user_space";
78 thermal-sensors = <&tsens0 3>;
79 trips {
80 active-config0 {
81 temperature = <125000>;
82 hysteresis = <1000>;
83 type = "passive";
84 };
85 };
86 };
87
88 apc1-cpu0-usr {
89 polling-delay-passive = <0>;
90 polling-delay = <0>;
91 thermal-sensors = <&tsens0 4>;
92 thermal-governor = "user_space";
93 trips {
94 active-config0 {
95 temperature = <125000>;
96 hysteresis = <1000>;
97 type = "passive";
98 };
99 };
100 };
101
102 apc1-cpu1-usr {
103 polling-delay-passive = <0>;
104 polling-delay = <0>;
105 thermal-sensors = <&tsens0 5>;
106 thermal-governor = "user_space";
107 trips {
108 active-config0 {
109 temperature = <125000>;
110 hysteresis = <1000>;
111 type = "passive";
112 };
113 };
114 };
115
116 apc1-cpu2-usr {
117 polling-delay-passive = <0>;
118 polling-delay = <0>;
119 thermal-sensors = <&tsens0 6>;
120 thermal-governor = "user_space";
121 trips {
122 active-config0 {
123 temperature = <125000>;
124 hysteresis = <1000>;
125 type = "passive";
126 };
127 };
128 };
129
130 apc1-cpu3-usr {
131 polling-delay-passive = <0>;
132 polling-delay = <0>;
133 thermal-sensors = <&tsens0 7>;
134 thermal-governor = "user_space";
135 trips {
136 active-config0 {
137 temperature = <125000>;
138 hysteresis = <1000>;
139 type = "passive";
140 };
141 };
142 };
143
144 apc1-l2-usr {
145 polling-delay-passive = <0>;
146 polling-delay = <0>;
147 thermal-sensors = <&tsens0 8>;
148 thermal-governor = "user_space";
149 trips {
150 active-config0 {
151 temperature = <125000>;
152 hysteresis = <1000>;
153 type = "passive";
154 };
155 };
156 };
157
158 apc0-cpu0-usr {
159 polling-delay-passive = <0>;
160 polling-delay = <0>;
161 thermal-sensors = <&tsens0 9>;
162 thermal-governor = "user_space";
163 trips {
164 active-config0 {
165 temperature = <125000>;
166 hysteresis = <1000>;
167 type = "passive";
168 };
169 };
170 };
171
172 apc0-cpu1-usr {
173 polling-delay-passive = <0>;
174 polling-delay = <0>;
175 thermal-sensors = <&tsens0 10>;
176 thermal-governor = "user_space";
177 trips {
178 active-config0 {
179 temperature = <125000>;
180 hysteresis = <1000>;
181 type = "passive";
182 };
183 };
184 };
185
186 apc0-cpu2-usr {
187 polling-delay-passive = <0>;
188 polling-delay = <0>;
189 thermal-sensors = <&tsens0 11>;
190 thermal-governor = "user_space";
191 trips {
192 active-config0 {
193 temperature = <125000>;
194 hysteresis = <1000>;
195 type = "passive";
196 };
197 };
198 };
199
200 apc0-cpu3-usr {
201 polling-delay-passive = <0>;
202 polling-delay = <0>;
203 thermal-sensors = <&tsens0 12>;
204 thermal-governor = "user_space";
205 trips {
206 active-config0 {
207 temperature = <125000>;
208 hysteresis = <1000>;
209 type = "passive";
210 };
211 };
212 };
213
214 apc0-l2-usr {
215 polling-delay-passive = <0>;
216 polling-delay = <0>;
217 thermal-sensors = <&tsens0 13>;
218 thermal-governor = "user_space";
219 trips {
220 active-config0 {
221 temperature = <125000>;
222 hysteresis = <1000>;
223 type = "passive";
224 };
225 };
226 };
227
228 gpu0-usr {
229 polling-delay-passive = <0>;
230 polling-delay = <0>;
231 thermal-sensors = <&tsens0 14>;
232 thermal-governor = "user_space";
233 trips {
234 active-config0 {
235 temperature = <125000>;
236 hysteresis = <1000>;
237 type = "passive";
238 };
239 };
240 };
241
242 gpu1-usr {
243 polling-delay-passive = <0>;
244 polling-delay = <0>;
245 thermal-sensors = <&tsens0 15>;
246 thermal-governor = "user_space";
247 trips {
248 active-config0 {
249 temperature = <125000>;
250 hysteresis = <1000>;
251 type = "passive";
252 };
253 };
254 };
Manaf Meethalavalappu Pallikunhid3d166f2018-01-02 23:13:21 +0530255
256 gpu1-step {
257 polling-delay-passive = <250>;
258 polling-delay = <0>;
259 thermal-sensors = <&tsens0 15>;
260 thermal-governor = "step_wise";
261 trips {
262 gpu_trip0: gpu-trip0 {
263 temperature = <95000>;
264 hysteresis = <0>;
265 type = "passive";
266 };
267 };
Manaf Meethalavalappu Pallikunhi41916a92018-01-12 17:45:00 +0530268 cooling-maps {
269 gpu_cdev0 {
270 trip = <&gpu_trip0>;
271 cooling-device =
272 <&msm_gpu THERMAL_NO_LIMIT
273 THERMAL_NO_LIMIT>;
274 };
275 };
Manaf Meethalavalappu Pallikunhid3d166f2018-01-02 23:13:21 +0530276 };
277
278 deca-cpu-max-step {
279 polling-delay-passive = <50>;
280 polling-delay = <100>;
281 thermal-governor = "step_wise";
282 trips {
283 cpu_trip:cpu-trip {
284 temperature = <95000>;
285 hysteresis = <0>;
286 type = "passive";
287 };
288 };
289 cooling-maps {
290 cpu0_cdev {
291 trip = <&cpu_trip>;
292 cooling-device =
293 <&CPU0 THERMAL_NO_LIMIT
294 (THERMAL_MAX_LIMIT-1)>;
295 };
296 cpu1_cdev {
297 trip = <&cpu_trip>;
298 cooling-device =
299 <&CPU1 THERMAL_NO_LIMIT
300 (THERMAL_MAX_LIMIT-1)>;
301 };
302 cpu2_cdev {
303 trip = <&cpu_trip>;
304 cooling-device =
305 <&CPU2 THERMAL_NO_LIMIT
306 (THERMAL_MAX_LIMIT-1)>;
307 };
308 cpu3_cdev {
309 trip = <&cpu_trip>;
310 cooling-device =
311 <&CPU3 THERMAL_NO_LIMIT
312 (THERMAL_MAX_LIMIT-1)>;
313 };
314 cpu4_cdev {
315 trip = <&cpu_trip>;
316 cooling-device =
317 <&CPU4 THERMAL_NO_LIMIT
318 (THERMAL_MAX_LIMIT-1)>;
319 };
320 cpu5_cdev {
321 trip = <&cpu_trip>;
322 cooling-device =
323 <&CPU5 THERMAL_NO_LIMIT
324 (THERMAL_MAX_LIMIT-1)>;
325 };
326 cpu6_cdev {
327 trip = <&cpu_trip>;
328 cooling-device =
329 <&CPU6 THERMAL_NO_LIMIT
330 (THERMAL_MAX_LIMIT-1)>;
331 };
332 cpu7_cdev {
333 trip = <&cpu_trip>;
334 cooling-device =
335 <&CPU7 THERMAL_NO_LIMIT
336 (THERMAL_MAX_LIMIT-1)>;
337 };
338 };
339 };
340
341 pop-mem-step {
342 polling-delay-passive = <250>;
343 polling-delay = <0>;
344 thermal-sensors = <&tsens0 2>;
345 thermal-governor = "step_wise";
346 trips {
347 pop_trip: pop-trip {
348 temperature = <70000>;
349 hysteresis = <0>;
350 type = "passive";
351 };
352 };
353 cooling-maps {
354 pop_cdev0 {
355 trip = <&pop_trip>;
356 cooling-device =
357 <&CPU0 THERMAL_NO_LIMIT
358 (THERMAL_MAX_LIMIT-1)>;
359 };
360 pop_cdev1 {
361 trip = <&pop_trip>;
362 cooling-device =
363 <&CPU1 THERMAL_NO_LIMIT
364 (THERMAL_MAX_LIMIT-1)>;
365 };
366 pop_cdev2 {
367 trip = <&pop_trip>;
368 cooling-device =
369 <&CPU2 THERMAL_NO_LIMIT
370 (THERMAL_MAX_LIMIT-1)>;
371 };
372 pop_cdev3 {
373 trip = <&pop_trip>;
374 cooling-device =
375 <&CPU3 THERMAL_NO_LIMIT
376 (THERMAL_MAX_LIMIT-1)>;
377 };
378 pop_cdev4 {
379 trip = <&pop_trip>;
380 cooling-device =
381 <&CPU4 THERMAL_NO_LIMIT
382 (THERMAL_MAX_LIMIT-1)>;
383 };
384 pop_cdev5 {
385 trip = <&pop_trip>;
386 cooling-device =
387 <&CPU5 THERMAL_NO_LIMIT
388 (THERMAL_MAX_LIMIT-1)>;
389 };
390 pop_cdev6 {
391 trip = <&pop_trip>;
392 cooling-device =
393 <&CPU6 THERMAL_NO_LIMIT
394 (THERMAL_MAX_LIMIT-1)>;
395 };
396 pop_cdev7 {
397 trip = <&pop_trip>;
398 cooling-device =
399 <&CPU7 THERMAL_NO_LIMIT
400 (THERMAL_MAX_LIMIT-1)>;
401 };
402 };
403 };
404
405 apc1-cpu0-step {
406 polling-delay-passive = <0>;
407 polling-delay = <0>;
408 thermal-sensors = <&tsens0 4>;
409 thermal-governor = "step_wise";
410 trips {
411 apc1_cpu0_trip: apc1-cpu0-trip {
412 temperature = <105000>;
413 hysteresis = <15000>;
414 type = "passive";
415 };
416 };
417 cooling-maps {
418 cpu4_cdev {
419 trip = <&apc1_cpu0_trip>;
420 cooling-device =
421 <&CPU4 THERMAL_MAX_LIMIT
422 THERMAL_MAX_LIMIT>;
423 };
424 };
425 };
426
427 apc1-cpu1-step {
428 polling-delay-passive = <0>;
429 polling-delay = <0>;
430 thermal-sensors = <&tsens0 5>;
431 thermal-governor = "step_wise";
432 trips {
433 apc1_cpu1_trip: apc1-cpu1-trip {
434 temperature = <105000>;
435 hysteresis = <15000>;
436 type = "passive";
437 };
438 };
439 cooling-maps {
440 cpu5_cdev {
441 trip = <&apc1_cpu1_trip>;
442 cooling-device =
443 <&CPU5 THERMAL_MAX_LIMIT
444 THERMAL_MAX_LIMIT>;
445 };
446 };
447 };
448
449 apc1-cpu2-step {
450 polling-delay-passive = <0>;
451 polling-delay = <0>;
452 thermal-sensors = <&tsens0 6>;
453 thermal-governor = "step_wise";
454 trips {
455 apc1_cpu2_trip: apc1-cpu2-trip {
456 temperature = <105000>;
457 hysteresis = <15000>;
458 type = "passive";
459 };
460 };
461 cooling-maps {
462 cpu6_cdev {
463 trip = <&apc1_cpu2_trip>;
464 cooling-device =
465 <&CPU6 THERMAL_MAX_LIMIT
466 THERMAL_MAX_LIMIT>;
467 };
468 };
469 };
470
471 apc1-cpu3-step {
472 polling-delay-passive = <0>;
473 polling-delay = <0>;
474 thermal-sensors = <&tsens0 7>;
475 thermal-governor = "step_wise";
476 trips {
477 apc1_cpu3_trip: apc1-cpu3-trip {
478 temperature = <105000>;
479 hysteresis = <15000>;
480 type = "passive";
481 };
482 };
483 cooling-maps {
484 cpu7_cdev {
485 trip = <&apc1_cpu3_trip>;
486 cooling-device =
487 <&CPU7 THERMAL_MAX_LIMIT
488 THERMAL_MAX_LIMIT>;
489 };
490 };
491 };
492
493 apc0-cpu0-step {
494 polling-delay-passive = <0>;
495 polling-delay = <0>;
496 thermal-sensors = <&tsens0 9>;
497 thermal-governor = "step_wise";
498 trips {
499 apc0_cpu0_trip: apc0-cpu0-trip {
500 temperature = <105000>;
501 hysteresis = <15000>;
502 type = "passive";
503 };
504 };
505 cooling-maps {
506 cpu0_cdev {
507 trip = <&apc0_cpu0_trip>;
508 cooling-device =
509 <&CPU0 THERMAL_MAX_LIMIT
510 THERMAL_MAX_LIMIT>;
511 };
512 };
513 };
514
515 apc0-cpu1-step {
516 polling-delay-passive = <0>;
517 polling-delay = <0>;
518 thermal-sensors = <&tsens0 10>;
519 thermal-governor = "step_wise";
520 trips {
521 apc0_cpu1_trip: apc0-cpu1-trip {
522 temperature = <105000>;
523 hysteresis = <15000>;
524 type = "passive";
525 };
526 };
527 cooling-maps {
528 cpu1_cdev {
529 trip = <&apc0_cpu1_trip>;
530 cooling-device =
531 <&CPU1 THERMAL_MAX_LIMIT
532 THERMAL_MAX_LIMIT>;
533 };
534 };
535 };
536
537 apc0-cpu2-step {
538 polling-delay-passive = <0>;
539 polling-delay = <0>;
540 thermal-sensors = <&tsens0 11>;
541 thermal-governor = "step_wise";
542 trips {
543 apc0_cpu2_trip: apc0-cpu2-trip {
544 temperature = <105000>;
545 hysteresis = <15000>;
546 type = "passive";
547 };
548 };
549 cooling-maps {
550 cpu2_cdev {
551 trip = <&apc0_cpu2_trip>;
552 cooling-device =
553 <&CPU2 THERMAL_MAX_LIMIT
554 THERMAL_MAX_LIMIT>;
555 };
556 };
557 };
558
559 apc0-cpu3-step {
560 polling-delay-passive = <0>;
561 polling-delay = <0>;
562 thermal-sensors = <&tsens0 12>;
563 thermal-governor = "step_wise";
564 trips {
565 apc0_cpu3_trip: apc0-cpu3-trip {
566 temperature = <105000>;
567 hysteresis = <15000>;
568 type = "passive";
569 };
570 };
571 cooling-maps {
572 cpu3_cdev {
573 trip = <&apc0_cpu3_trip>;
574 cooling-device =
575 <&CPU3 THERMAL_MAX_LIMIT
576 THERMAL_MAX_LIMIT>;
577 };
578 };
579 };
580
581 mdm-core-lowf {
582 polling-delay-passive = <0>;
583 polling-delay = <0>;
584 thermal-governor = "low_limits_floor";
585 thermal-sensors = <&tsens0 1>;
586 tracks-low;
587 trips {
588 mdm_core_trip: mdm-core-trip {
589 temperature = <5000>;
590 hysteresis = <5000>;
591 type = "passive";
592 };
593 };
594 cooling-maps {
595 cpu0_vdd_cdev {
596 trip = <&mdm_core_trip>;
597 cooling-device = <&CPU0 (THERMAL_MAX_LIMIT - 4)
598 (THERMAL_MAX_LIMIT - 4)>;
599 };
Manaf Meethalavalappu Pallikunhi41916a92018-01-12 17:45:00 +0530600 gpu_vdd_cdev {
601 trip = <&mdm_core_trip>;
602 cooling-device = <&msm_gpu 2 2>;
603 };
Manaf Meethalavalappu Pallikunhid3d166f2018-01-02 23:13:21 +0530604 cx_vdd_cdev {
605 trip = <&mdm_core_trip>;
606 cooling-device = <&cx_cdev 0 0>;
607 };
608 modem_vdd_cdev {
609 trip = <&mdm_core_trip>;
610 cooling-device = <&modem_vdd 0 0>;
611 };
612 };
613 };
614
615 qdsp-lowf {
616 polling-delay-passive = <0>;
617 polling-delay = <0>;
618 thermal-governor = "low_limits_floor";
619 thermal-sensors = <&tsens0 2>;
620 tracks-low;
621 trips {
622 qdsp_trip: qdsp-trip {
623 temperature = <5000>;
624 hysteresis = <5000>;
625 type = "passive";
626 };
627 };
628 cooling-maps {
629 cpu0_vdd_cdev {
630 trip = <&qdsp_trip>;
631 cooling-device = <&CPU0 (THERMAL_MAX_LIMIT - 4)
632 (THERMAL_MAX_LIMIT - 4)>;
633 };
Manaf Meethalavalappu Pallikunhi41916a92018-01-12 17:45:00 +0530634 gpu_vdd_cdev {
635 trip = <&qdsp_trip>;
636 cooling-device = <&msm_gpu 2 2>;
637 };
Manaf Meethalavalappu Pallikunhid3d166f2018-01-02 23:13:21 +0530638 cx_vdd_cdev {
639 trip = <&qdsp_trip>;
640 cooling-device = <&cx_cdev 0 0>;
641 };
642 modem_vdd_cdev {
643 trip = <&qdsp_trip>;
644 cooling-device = <&modem_vdd 0 0>;
645 };
646 };
647 };
648
649 camera-lowf {
650 polling-delay-passive = <0>;
651 polling-delay = <0>;
652 thermal-governor = "low_limits_floor";
653 thermal-sensors = <&tsens0 3>;
654 tracks-low;
655 trips {
656 camera_trip: camera-trip {
657 temperature = <5000>;
658 hysteresis = <5000>;
659 type = "passive";
660 };
661 };
662 cooling-maps {
663 cpu0_vdd_cdev {
664 trip = <&camera_trip>;
665 cooling-device = <&CPU0 (THERMAL_MAX_LIMIT - 4)
666 (THERMAL_MAX_LIMIT - 4)>;
667 };
Manaf Meethalavalappu Pallikunhi41916a92018-01-12 17:45:00 +0530668 gpu_vdd_cdev {
669 trip = <&camera_trip>;
670 cooling-device = <&msm_gpu 2 2>;
671 };
Manaf Meethalavalappu Pallikunhid3d166f2018-01-02 23:13:21 +0530672 cx_vdd_cdev {
673 trip = <&camera_trip>;
674 cooling-device = <&cx_cdev 0 0>;
675 };
676 modem_vdd_cdev {
677 trip = <&camera_trip>;
678 cooling-device = <&modem_vdd 0 0>;
679 };
680 };
681 };
682
683 apc1-cpu0-lowf {
684 polling-delay-passive = <0>;
685 polling-delay = <0>;
686 thermal-governor = "low_limits_floor";
687 thermal-sensors = <&tsens0 4>;
688 tracks-low;
689 trips {
690 cpu4_trip: apc1-cpu0-trip {
691 temperature = <5000>;
692 hysteresis = <5000>;
693 type = "passive";
694 };
695 };
696 cooling-maps {
697 cpu0_vdd_cdev {
698 trip = <&cpu4_trip>;
699 cooling-device = <&CPU0 (THERMAL_MAX_LIMIT - 4)
700 (THERMAL_MAX_LIMIT - 4)>;
701 };
Manaf Meethalavalappu Pallikunhi41916a92018-01-12 17:45:00 +0530702 gpu_vdd_cdev {
703 trip = <&cpu4_trip>;
704 cooling-device = <&msm_gpu 2 2>;
705 };
Manaf Meethalavalappu Pallikunhid3d166f2018-01-02 23:13:21 +0530706 cx_vdd_cdev {
707 trip = <&cpu4_trip>;
708 cooling-device = <&cx_cdev 0 0>;
709 };
710 modem_vdd_cdev {
711 trip = <&cpu4_trip>;
712 cooling-device = <&modem_vdd 0 0>;
713 };
714 };
715 };
716
717 apc1-cpu1-lowf {
718 polling-delay-passive = <0>;
719 polling-delay = <0>;
720 thermal-governor = "low_limits_floor";
721 thermal-sensors = <&tsens0 5>;
722 tracks-low;
723 trips {
724 cpu5_trip: apc1-cpu0-trip {
725 temperature = <5000>;
726 hysteresis = <5000>;
727 type = "passive";
728 };
729 };
730 cooling-maps {
731 cpu0_vdd_cdev {
732 trip = <&cpu5_trip>;
733 cooling-device = <&CPU0 (THERMAL_MAX_LIMIT - 4)
734 (THERMAL_MAX_LIMIT - 4)>;
735 };
Manaf Meethalavalappu Pallikunhi41916a92018-01-12 17:45:00 +0530736 gpu_vdd_cdev {
737 trip = <&cpu5_trip>;
738 cooling-device = <&msm_gpu 2 2>;
739 };
Manaf Meethalavalappu Pallikunhid3d166f2018-01-02 23:13:21 +0530740 cx_vdd_cdev {
741 trip = <&cpu5_trip>;
742 cooling-device = <&cx_cdev 0 0>;
743 };
744 modem_vdd_cdev {
745 trip = <&cpu5_trip>;
746 cooling-device = <&modem_vdd 0 0>;
747 };
748 };
749 };
750
751 apc1-cpu2-lowf {
752 polling-delay-passive = <0>;
753 polling-delay = <0>;
754 thermal-governor = "low_limits_floor";
755 thermal-sensors = <&tsens0 6>;
756 tracks-low;
757 trips {
758 cpu6_trip: apc1-cpu2-trip {
759 temperature = <5000>;
760 hysteresis = <5000>;
761 type = "passive";
762 };
763 };
764 cooling-maps {
765 cpu0_vdd_cdev {
766 trip = <&cpu6_trip>;
767 cooling-device = <&CPU0 (THERMAL_MAX_LIMIT - 4)
768 (THERMAL_MAX_LIMIT - 4)>;
769 };
Manaf Meethalavalappu Pallikunhi41916a92018-01-12 17:45:00 +0530770 gpu_vdd_cdev {
771 trip = <&cpu6_trip>;
772 cooling-device = <&msm_gpu 2 2>;
773 };
Manaf Meethalavalappu Pallikunhid3d166f2018-01-02 23:13:21 +0530774 cx_vdd_cdev {
775 trip = <&cpu6_trip>;
776 cooling-device = <&cx_cdev 0 0>;
777 };
778 modem_vdd_cdev {
779 trip = <&cpu6_trip>;
780 cooling-device = <&modem_vdd 0 0>;
781 };
782 };
783 };
784
785 apc1-cpu3-lowf {
786 polling-delay-passive = <0>;
787 polling-delay = <0>;
788 thermal-governor = "low_limits_floor";
789 thermal-sensors = <&tsens0 7>;
790 tracks-low;
791 trips {
792 cpu7_trip: apc1-cpu3-trip {
793 temperature = <5000>;
794 hysteresis = <5000>;
795 type = "passive";
796 };
797 };
798 cooling-maps {
799 cpu0_vdd_cdev {
800 trip = <&cpu7_trip>;
801 cooling-device = <&CPU0 (THERMAL_MAX_LIMIT - 4)
802 (THERMAL_MAX_LIMIT - 4)>;
803 };
Manaf Meethalavalappu Pallikunhi41916a92018-01-12 17:45:00 +0530804 gpu_vdd_cdev {
805 trip = <&cpu7_trip>;
806 cooling-device = <&msm_gpu 2 2>;
807 };
Manaf Meethalavalappu Pallikunhid3d166f2018-01-02 23:13:21 +0530808 cx_vdd_cdev {
809 trip = <&cpu7_trip>;
810 cooling-device = <&cx_cdev 0 0>;
811 };
812 modem_vdd_cdev {
813 trip = <&cpu7_trip>;
814 cooling-device = <&modem_vdd 0 0>;
815 };
816 };
817 };
818
819 apc1-l2-lowf {
820 polling-delay-passive = <0>;
821 polling-delay = <0>;
822 thermal-governor = "low_limits_floor";
823 thermal-sensors = <&tsens0 8>;
824 tracks-low;
825 trips {
826 apc1_l2_trip: apc1-l2-trip {
827 temperature = <5000>;
828 hysteresis = <5000>;
829 type = "passive";
830 };
831 };
832 cooling-maps {
833 cpu0_vdd_cdev {
834 trip = <&apc1_l2_trip>;
835 cooling-device = <&CPU0 (THERMAL_MAX_LIMIT - 4)
836 (THERMAL_MAX_LIMIT - 4)>;
837 };
Manaf Meethalavalappu Pallikunhi41916a92018-01-12 17:45:00 +0530838 gpu_vdd_cdev {
839 trip = <&apc1_l2_trip>;
840 cooling-device = <&msm_gpu 2 2>;
841 };
Manaf Meethalavalappu Pallikunhid3d166f2018-01-02 23:13:21 +0530842 cx_vdd_cdev {
843 trip = <&apc1_l2_trip>;
844 cooling-device = <&cx_cdev 0 0>;
845 };
846 modem_vdd_cdev {
847 trip = <&apc1_l2_trip>;
848 cooling-device = <&modem_vdd 0 0>;
849 };
850 };
851 };
852
853 apc0-cpu0-lowf {
854 polling-delay-passive = <0>;
855 polling-delay = <0>;
856 thermal-governor = "low_limits_floor";
857 thermal-sensors = <&tsens0 9>;
858 tracks-low;
859 trips {
860 cpu0_trip: apc0-cpu0-trip {
861 temperature = <5000>;
862 hysteresis = <5000>;
863 type = "passive";
864 };
865 };
866 cooling-maps {
867 cpu0_vdd_cdev {
868 trip = <&cpu0_trip>;
869 cooling-device = <&CPU0 (THERMAL_MAX_LIMIT - 4)
870 (THERMAL_MAX_LIMIT - 4)>;
871 };
Manaf Meethalavalappu Pallikunhi41916a92018-01-12 17:45:00 +0530872 gpu_vdd_cdev {
873 trip = <&cpu0_trip>;
874 cooling-device = <&msm_gpu 2 2>;
875 };
Manaf Meethalavalappu Pallikunhid3d166f2018-01-02 23:13:21 +0530876 cx_vdd_cdev {
877 trip = <&cpu0_trip>;
878 cooling-device = <&cx_cdev 0 0>;
879 };
880 modem_vdd_cdev {
881 trip = <&cpu0_trip>;
882 cooling-device = <&modem_vdd 0 0>;
883 };
884 };
885 };
886
887 apc0-cpu1-lowf {
888 polling-delay-passive = <0>;
889 polling-delay = <0>;
890 thermal-governor = "low_limits_floor";
891 thermal-sensors = <&tsens0 10>;
892 tracks-low;
893 trips {
894 cpu1_trip: apc0-cpu1-trip {
895 temperature = <5000>;
896 hysteresis = <5000>;
897 type = "passive";
898 };
899 };
900 cooling-maps {
901 cpu0_vdd_cdev {
902 trip = <&cpu1_trip>;
903 cooling-device = <&CPU0 (THERMAL_MAX_LIMIT - 4)
904 (THERMAL_MAX_LIMIT - 4)>;
905 };
Manaf Meethalavalappu Pallikunhi41916a92018-01-12 17:45:00 +0530906 gpu_vdd_cdev {
907 trip = <&cpu1_trip>;
908 cooling-device = <&msm_gpu 2 2>;
909 };
Manaf Meethalavalappu Pallikunhid3d166f2018-01-02 23:13:21 +0530910 cx_vdd_cdev {
911 trip = <&cpu1_trip>;
912 cooling-device = <&cx_cdev 0 0>;
913 };
914 modem_vdd_cdev {
915 trip = <&cpu1_trip>;
916 cooling-device = <&modem_vdd 0 0>;
917 };
918 };
919 };
920
921 apc0-cpu2-lowf {
922 polling-delay-passive = <0>;
923 polling-delay = <0>;
924 thermal-governor = "low_limits_floor";
925 thermal-sensors = <&tsens0 11>;
926 tracks-low;
927 trips {
928 cpu2_trip: apc0-cpu2-trip {
929 temperature = <5000>;
930 hysteresis = <5000>;
931 type = "passive";
932 };
933 };
934 cooling-maps {
935 cpu0_vdd_cdev {
936 trip = <&cpu2_trip>;
937 cooling-device = <&CPU0 (THERMAL_MAX_LIMIT - 4)
938 (THERMAL_MAX_LIMIT - 4)>;
939 };
Manaf Meethalavalappu Pallikunhi41916a92018-01-12 17:45:00 +0530940 gpu_vdd_cdev {
941 trip = <&cpu2_trip>;
942 cooling-device = <&msm_gpu 2 2>;
943 };
Manaf Meethalavalappu Pallikunhid3d166f2018-01-02 23:13:21 +0530944 cx_vdd_cdev {
945 trip = <&cpu2_trip>;
946 cooling-device = <&cx_cdev 0 0>;
947 };
948 modem_vdd_cdev {
949 trip = <&cpu2_trip>;
950 cooling-device = <&modem_vdd 0 0>;
951 };
952 };
953 };
954
955 apc0-cpu3-lowf {
956 polling-delay-passive = <0>;
957 polling-delay = <0>;
958 thermal-governor = "low_limits_floor";
959 thermal-sensors = <&tsens0 12>;
960 tracks-low;
961 trips {
962 cpu3_trip: apc0-cpu3-trip {
963 temperature = <5000>;
964 hysteresis = <5000>;
965 type = "passive";
966 };
967 };
968 cooling-maps {
969 cpu0_vdd_cdev {
970 trip = <&cpu3_trip>;
971 cooling-device = <&CPU0 (THERMAL_MAX_LIMIT - 4)
972 (THERMAL_MAX_LIMIT - 4)>;
973 };
Manaf Meethalavalappu Pallikunhi41916a92018-01-12 17:45:00 +0530974 gpu_vdd_cdev {
975 trip = <&cpu3_trip>;
976 cooling-device = <&msm_gpu 2 2>;
977 };
Manaf Meethalavalappu Pallikunhid3d166f2018-01-02 23:13:21 +0530978 cx_vdd_cdev {
979 trip = <&cpu3_trip>;
980 cooling-device = <&cx_cdev 0 0>;
981 };
982 modem_vdd_cdev {
983 trip = <&cpu3_trip>;
984 cooling-device = <&modem_vdd 0 0>;
985 };
986 };
987 };
988
989 apc0-l2-lowf {
990 polling-delay-passive = <0>;
991 polling-delay = <0>;
992 thermal-governor = "low_limits_floor";
993 thermal-sensors = <&tsens0 13>;
994 tracks-low;
995 trips {
996 apc0_l2_trip: apc0-l2-trip {
997 temperature = <5000>;
998 hysteresis = <5000>;
999 type = "passive";
1000 };
1001 };
1002 cooling-maps {
1003 cpu0_vdd_cdev {
1004 trip = <&apc0_l2_trip>;
1005 cooling-device = <&CPU0 (THERMAL_MAX_LIMIT - 4)
1006 (THERMAL_MAX_LIMIT - 4)>;
1007 };
Manaf Meethalavalappu Pallikunhi41916a92018-01-12 17:45:00 +05301008 gpu_vdd_cdev {
1009 trip = <&apc0_l2_trip>;
1010 cooling-device = <&msm_gpu 2 2>;
1011 };
Manaf Meethalavalappu Pallikunhid3d166f2018-01-02 23:13:21 +05301012 cx_vdd_cdev {
1013 trip = <&apc0_l2_trip>;
1014 cooling-device = <&cx_cdev 0 0>;
1015 };
1016 modem_vdd_cdev {
1017 trip = <&apc0_l2_trip>;
1018 cooling-device = <&modem_vdd 0 0>;
1019 };
1020 };
1021 };
1022
1023 gpu0-lowf {
1024 polling-delay-passive = <0>;
1025 polling-delay = <0>;
1026 thermal-governor = "low_limits_floor";
1027 thermal-sensors = <&tsens0 14>;
1028 tracks-low;
1029 trips {
1030 gpu0_trip: gpu0-trip {
1031 temperature = <5000>;
1032 hysteresis = <5000>;
1033 type = "passive";
1034 };
1035 };
1036 cooling-maps {
1037 cpu0_vdd_cdev {
1038 trip = <&gpu0_trip>;
1039 cooling-device = <&CPU0 (THERMAL_MAX_LIMIT - 4)
1040 (THERMAL_MAX_LIMIT - 4)>;
1041 };
Manaf Meethalavalappu Pallikunhi41916a92018-01-12 17:45:00 +05301042 gpu_vdd_cdev {
1043 trip = <&gpu0_trip>;
1044 cooling-device = <&msm_gpu 2 2>;
1045 };
Manaf Meethalavalappu Pallikunhid3d166f2018-01-02 23:13:21 +05301046 cx_vdd_cdev {
1047 trip = <&gpu0_trip>;
1048 cooling-device = <&cx_cdev 0 0>;
1049 };
1050 modem_vdd_cdev {
1051 trip = <&gpu0_trip>;
1052 cooling-device = <&modem_vdd 0 0>;
1053 };
1054 };
1055 };
1056
1057 gpu1-lowf {
1058 polling-delay-passive = <0>;
1059 polling-delay = <0>;
1060 thermal-governor = "low_limits_floor";
1061 thermal-sensors = <&tsens0 15>;
1062 tracks-low;
1063 trips {
1064 gpu1_trip: gpu1-trip {
1065 temperature = <5000>;
1066 hysteresis = <5000>;
1067 type = "passive";
1068 };
1069 };
1070 cooling-maps {
1071 cpu0_vdd_cdev {
1072 trip = <&gpu1_trip>;
1073 cooling-device = <&CPU0 (THERMAL_MAX_LIMIT - 4)
1074 (THERMAL_MAX_LIMIT - 4)>;
1075 };
Manaf Meethalavalappu Pallikunhi41916a92018-01-12 17:45:00 +05301076 gpu_vdd_cdev {
1077 trip = <&gpu1_trip>;
1078 cooling-device = <&msm_gpu 2 2>;
1079 };
Manaf Meethalavalappu Pallikunhid3d166f2018-01-02 23:13:21 +05301080 cx_vdd_cdev {
1081 trip = <&gpu1_trip>;
1082 cooling-device = <&cx_cdev 0 0>;
1083 };
1084 modem_vdd_cdev {
1085 trip = <&gpu1_trip>;
1086 cooling-device = <&modem_vdd 0 0>;
1087 };
1088 };
1089 };
Manaf Meethalavalappu Pallikunhi4eb2b272018-01-02 17:29:37 +05301090};