Neha Malcom Francis | 69b19ca | 2023-09-27 18:39:56 +0530 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | |
| 3 | #include <dt-bindings/thermal/thermal.h> |
| 4 | |
| 5 | thermal_zones: thermal-zones { |
| 6 | wkup_thermal: wkup-thermal { |
| 7 | polling-delay-passive = <250>; /* milliseconds */ |
| 8 | polling-delay = <500>; /* milliseconds */ |
| 9 | thermal-sensors = <&wkup_vtm0 0>; |
| 10 | |
| 11 | trips { |
| 12 | wkup_crit: wkup-crit { |
| 13 | temperature = <125000>; /* milliCelsius */ |
| 14 | hysteresis = <2000>; /* milliCelsius */ |
| 15 | type = "critical"; |
| 16 | }; |
| 17 | }; |
| 18 | }; |
| 19 | |
| 20 | mpu_thermal: mpu-thermal { |
| 21 | polling-delay-passive = <250>; /* milliseconds */ |
| 22 | polling-delay = <500>; /* milliseconds */ |
| 23 | thermal-sensors = <&wkup_vtm0 1>; |
| 24 | |
| 25 | trips { |
| 26 | mpu_crit: mpu-crit { |
| 27 | temperature = <125000>; /* milliCelsius */ |
| 28 | hysteresis = <2000>; /* milliCelsius */ |
| 29 | type = "critical"; |
| 30 | }; |
| 31 | }; |
| 32 | }; |
| 33 | |
| 34 | c7x_thermal: c7x-thermal { |
| 35 | polling-delay-passive = <250>; /* milliseconds */ |
| 36 | polling-delay = <500>; /* milliseconds */ |
| 37 | thermal-sensors = <&wkup_vtm0 2>; |
| 38 | |
| 39 | trips { |
| 40 | c7x_crit: c7x-crit { |
| 41 | temperature = <125000>; /* milliCelsius */ |
| 42 | hysteresis = <2000>; /* milliCelsius */ |
| 43 | type = "critical"; |
| 44 | }; |
| 45 | }; |
| 46 | }; |
| 47 | |
| 48 | gpu_thermal: gpu-thermal { |
| 49 | polling-delay-passive = <250>; /* milliseconds */ |
| 50 | polling-delay = <500>; /* milliseconds */ |
| 51 | thermal-sensors = <&wkup_vtm0 3>; |
| 52 | |
| 53 | trips { |
| 54 | gpu_crit: gpu-crit { |
| 55 | temperature = <125000>; /* milliCelsius */ |
| 56 | hysteresis = <2000>; /* milliCelsius */ |
| 57 | type = "critical"; |
| 58 | }; |
| 59 | }; |
| 60 | }; |
| 61 | |
| 62 | r5f_thermal: r5f-thermal { |
| 63 | polling-delay-passive = <250>; /* milliseconds */ |
| 64 | polling-delay = <500>; /* milliseconds */ |
| 65 | thermal-sensors = <&wkup_vtm0 4>; |
| 66 | |
| 67 | trips { |
| 68 | r5f_crit: r5f-crit { |
| 69 | temperature = <125000>; /* milliCelsius */ |
| 70 | hysteresis = <2000>; /* milliCelsius */ |
| 71 | type = "critical"; |
| 72 | }; |
| 73 | }; |
| 74 | }; |
| 75 | }; |