openwrt-mirror/target/linux/ipq807x
Robert Marko c4752e0a13
ipq807x: add critical thermal trips to all thermal zones
Kernel 6.1 has started actually enforcing the bindings requirment that
thermal zones must have associated trips described as well, otherwise they
will fail during probing with:
[    0.865494] thermal_sys: Failed to find 'trips' node
[    0.867254] thermal_sys: Failed to find trip points for thermal-sensor id=4
[    0.872271] thermal_sys: Failed to find 'trips' node
[    0.878898] thermal_sys: Failed to find trip points for thermal-sensor id=5
[    0.884222] thermal_sys: Failed to find 'trips' node
[    0.890775] thermal_sys: Failed to find trip points for thermal-sensor id=6
[    0.896073] thermal_sys: Failed to find 'trips' node
[    0.902668] thermal_sys: Failed to find trip points for thermal-sensor id=7
[    0.907964] thermal_sys: Failed to find 'trips' node
[    0.914569] thermal_sys: Failed to find trip points for thermal-sensor id=8
[    0.921203] thermal_sys: Failed to find 'trips' node
[    0.926469] thermal_sys: Failed to find trip points for thermal-sensor id=14
[    0.931759] thermal_sys: Failed to find 'trips' node
[    0.938703] thermal_sys: Failed to find trip points for thermal-sensor id=15

So, since CPUFreq support isnt yet upstream we can start by adding critical
trips to all of the thermal zones to protect the devices against severely
overheating.
Qualcomm has set the overheat trip at 120 C but lets be conservative and
set it at 110 C.

This patch has been sent upstream as well.

Signed-off-by: Robert Marko <robimarko@gmail.com>
2023-06-08 06:53:37 +02:00
..
base-files Revert "ipq807x: add initial support for prpl Foundation Haze board" 2023-06-05 11:46:47 +02:00
files/arch/arm64/boot/dts/qcom Revert "ipq807x: add initial support for prpl Foundation Haze board" 2023-06-05 11:46:47 +02:00
generic ipq807x: add Qualcomm Atheros IPQ807x target 2023-01-16 12:42:23 +01:00
image Revert "ipq807x: add initial support for prpl Foundation Haze board" 2023-06-05 11:46:47 +02:00
patches-6.1 ipq807x: add critical thermal trips to all thermal zones 2023-06-08 06:53:37 +02:00
config-6.1 ipq807x: refresh kernel config 2023-06-06 20:08:10 +02:00
Makefile ipq807x: switch to kernel 6.1 2023-06-04 03:14:27 +02:00