summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClément Péron <peron.clem@gmail.com>2020-10-03 12:03:32 +0200
committerMaxime Ripard <maxime@cerno.tech>2020-10-05 11:36:58 +0200
commitdea252fa41cd8ce332d148444e4799235a8a03ec (patch)
treeca7d6aaae971fa6bca7f127257a02d41037fa4dd
parent2933bf3528007f834fb7f5eab033f9c5b0683f91 (diff)
downloadlinux-stable-dea252fa41cd8ce332d148444e4799235a8a03ec.tar.gz
linux-stable-dea252fa41cd8ce332d148444e4799235a8a03ec.tar.bz2
linux-stable-dea252fa41cd8ce332d148444e4799235a8a03ec.zip
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 <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
-rw-r--r--arch/arm/boot/dts/sun4i-a10.dtsi2
1 files changed, 1 insertions, 1 deletions
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 @@
trips {
cpu_alert0: cpu-alert0 {
/* milliCelsius */
- temperature = <850000>;
+ temperature = <85000>;
hysteresis = <2000>;
type = "passive";
};