Manorit Chawdhry | 377cc64 | 2023-10-06 10:15:58 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | #include <dt-bindings/thermal/thermal.h> |
| 4 | |
| 5 | wkup0_thermal: wkup0-thermal { |
| 6 | polling-delay-passive = <250>; /* milliseconds */ |
| 7 | polling-delay = <500>; /* milliseconds */ |
| 8 | thermal-sensors = <&wkup_vtm0 0>; |
| 9 | |
| 10 | trips { |
| 11 | wkup0_crit: wkup0-crit { |
| 12 | temperature = <125000>; /* milliCelsius */ |
| 13 | hysteresis = <2000>; /* milliCelsius */ |
| 14 | type = "critical"; |
| 15 | }; |
| 16 | }; |
| 17 | }; |
| 18 | |
| 19 | wkup1_thermal: wkup1-thermal { |
| 20 | polling-delay-passive = <250>; /* milliseconds */ |
| 21 | polling-delay = <500>; /* milliseconds */ |
| 22 | thermal-sensors = <&wkup_vtm0 1>; |
| 23 | |
| 24 | trips { |
| 25 | wkup1_crit: wkup1-crit { |
| 26 | temperature = <125000>; /* milliCelsius */ |
| 27 | hysteresis = <2000>; /* milliCelsius */ |
| 28 | type = "critical"; |
| 29 | }; |
| 30 | }; |
| 31 | }; |
| 32 | |
| 33 | main0_thermal: main0-thermal { |
| 34 | polling-delay-passive = <250>; /* milliseconds */ |
| 35 | polling-delay = <500>; /* milliseconds */ |
| 36 | thermal-sensors = <&wkup_vtm0 2>; |
| 37 | |
| 38 | trips { |
| 39 | main0_crit: main0-crit { |
| 40 | temperature = <125000>; /* milliCelsius */ |
| 41 | hysteresis = <2000>; /* milliCelsius */ |
| 42 | type = "critical"; |
| 43 | }; |
| 44 | }; |
| 45 | }; |
| 46 | |
| 47 | main1_thermal: main1-thermal { |
| 48 | polling-delay-passive = <250>; /* milliseconds */ |
| 49 | polling-delay = <500>; /* milliseconds */ |
| 50 | thermal-sensors = <&wkup_vtm0 3>; |
| 51 | |
| 52 | trips { |
| 53 | main1_crit: main1-crit { |
| 54 | temperature = <125000>; /* milliCelsius */ |
| 55 | hysteresis = <2000>; /* milliCelsius */ |
| 56 | type = "critical"; |
| 57 | }; |
| 58 | }; |
| 59 | }; |
| 60 | |
| 61 | main2_thermal: main2-thermal { |
| 62 | polling-delay-passive = <250>; /* milliseconds */ |
| 63 | polling-delay = <500>; /* milliseconds */ |
| 64 | thermal-sensors = <&wkup_vtm0 4>; |
| 65 | |
| 66 | trips { |
| 67 | main2_crit: main2-crit { |
| 68 | temperature = <125000>; /* milliCelsius */ |
| 69 | hysteresis = <2000>; /* milliCelsius */ |
| 70 | type = "critical"; |
| 71 | }; |
| 72 | }; |
| 73 | }; |
| 74 | |
| 75 | main3_thermal: main3-thermal { |
| 76 | polling-delay-passive = <250>; /* milliseconds */ |
| 77 | polling-delay = <500>; /* milliseconds */ |
| 78 | thermal-sensors = <&wkup_vtm0 5>; |
| 79 | |
| 80 | trips { |
| 81 | main3_crit: main3-crit { |
| 82 | temperature = <125000>; /* milliCelsius */ |
| 83 | hysteresis = <2000>; /* milliCelsius */ |
| 84 | type = "critical"; |
| 85 | }; |
| 86 | }; |
| 87 | }; |
| 88 | |
| 89 | main4_thermal: main4-thermal { |
| 90 | polling-delay-passive = <250>; /* milliseconds */ |
| 91 | polling-delay = <500>; /* milliseconds */ |
| 92 | thermal-sensors = <&wkup_vtm0 6>; |
| 93 | |
| 94 | trips { |
| 95 | main4_crit: main4-crit { |
| 96 | temperature = <125000>; /* milliCelsius */ |
| 97 | hysteresis = <2000>; /* milliCelsius */ |
| 98 | type = "critical"; |
| 99 | }; |
| 100 | }; |
| 101 | }; |