2020-10-03 10:06:22

by Clément Péron

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Clément Péron <[email protected]>
---
arch/arm/boot/dts/sun4i-a10.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/sun4i-a10.dtsi b/arch/arm/boot/dts/sun4i-a10.dtsi
index 0f95a6ef8543..1c5a666c54b5 100644
--- a/arch/arm/boot/dts/sun4i-a10.dtsi
+++ b/arch/arm/boot/dts/sun4i-a10.dtsi
@@ -143,7 +143,7 @@ map0 {
trips {
cpu_alert0: cpu-alert0 {
/* milliCelsius */
- temperature = <850000>;
+ temperature = <85000>;
hysteresis = <2000>;
type = "passive";
};
--
2.25.1


2020-10-05 09:43:46

by Maxime Ripard

[permalink] [raw]
Subject: Re: [PATCH] ARM: dts: sun4i-a10: fix cpu_alert temperature

On Sat, Oct 03, 2020 at 12:03:32PM +0200, Cl?ment P?ron wrote:
> 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.
>
> Signed-off-by: Cl?ment P?ron <[email protected]>

Applied, thanks!
Maxime


Attachments:
(No filename) (407.00 B)
signature.asc (235.00 B)
Download all attachments