projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b134320
)
ARM: dts: sun4i-a10: fix cpu_alert temperature
author
Clément Péron
<peron.clem@gmail.com>
Sat, 3 Oct 2020 10:03:32 +0000
(12:03 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Tue, 10 Nov 2020 09:24:02 +0000
(10:24 +0100)
[ Upstream commit
dea252fa41cd8ce332d148444e4799235a8a03ec
]
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 <peron.clem@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link:
https://lore.kernel.org/r/20201003100332.431178-1-peron.clem@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/boot/dts/sun4i-a10.dtsi
patch
|
blob
|
history
diff --git
a/arch/arm/boot/dts/sun4i-a10.dtsi
b/arch/arm/boot/dts/sun4i-a10.dtsi
index 7e7dfc2b43db0e722c5d3a6777fb5278b71ec0d3..d1af56d2f25e58a807420a59908180cf220efe60 100644
(file)
--- a/
arch/arm/boot/dts/sun4i-a10.dtsi
+++ b/
arch/arm/boot/dts/sun4i-a10.dtsi
@@
-144,7
+144,7
@@
trips {
cpu_alert0: cpu_alert0 {
/* milliCelsius */
- temperature = <85000
0
>;
+ temperature = <85000>;
hysteresis = <2000>;
type = "passive";
};