Skip to contentSkip to conversation

ARM: dts: sun4i-a10: fix cpu_alert temperature

PATCH Applied Clément Péron 2 participants 2 messages Oct 3, 2020 – Oct 5, 2020

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: sun4i-a10: fix cpu_alert temperature

When running dtbs_check thermal_zone warn about the temperature declared.

thermal-zones: cpu-thermal:trips:cpu-alert0:temperature:0:0: 850000 is greater than the maximum of 200000

It's indeed wrong the real value is 85°C and not 850°C.

---
 arch/arm/boot/dts/sun4i-a10.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/boot/dts/sun4i-a10.dtsi +1 -1
index 0f95a6ef8543..1c5a666c54b5 100644
@@ -143,7 +143,7 @@ map0 {
 			trips {
 				cpu_alert0: cpu-alert0 {
 					/* milliCelsius */
-					temperature = <850000>;
+					temperature = <85000>;
 					hysteresis = <2000>;
 					type = "passive";
 				};
Signature · 1 line
2.25.1
#1 lore raw
Quoted 8 lines · Clément Péron

When running dtbs_check thermal_zone warn about the temperature declared.

thermal-zones: cpu-thermal:trips:cpu-alert0:temperature:0:0: 850000 is greater than the maximum of 200000

It's indeed wrong the real value is 85°C and not 850°C.

Applied, thanks!
Maxime