Skip to content

Commit cdee3b6

Browse files
linuswolofj
authored andcommitted
ARM: dts: ux500: Fix up the CPU thermal zone
This fixes up the default ux500 CPU thermal zone: - Set polling delay to 0 and explain why - Set passive polling delay to 250 - Remove restrictions from the CPU cooling device, we should use all cpufreq steps to cool down if needed. Link: https://lore.kernel.org/r/[email protected] Fixes: b786a05 ("ARM: dts: ux500: Update thermal zone") Suggested-by: Daniel Lezcano <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Reviewed-by: Daniel Lezcano <[email protected]> Signed-off-by: Olof Johansson <[email protected]>
1 parent a304c0a commit cdee3b6

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

arch/arm/boot/dts/ste-dbx5x0.dtsi

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <dt-bindings/mfd/dbx500-prcmu.h>
99
#include <dt-bindings/arm/ux500_pm_domains.h>
1010
#include <dt-bindings/gpio/gpio.h>
11+
#include <dt-bindings/thermal/thermal.h>
1112

1213
/ {
1314
#address-cells = <1>;
@@ -59,8 +60,12 @@
5960
* cooling.
6061
*/
6162
cpu_thermal: cpu-thermal {
62-
polling-delay-passive = <0>;
63-
polling-delay = <1000>;
63+
polling-delay-passive = <250>;
64+
/*
65+
* This sensor fires interrupts to update the thermal
66+
* zone, so no polling is needed.
67+
*/
68+
polling-delay = <0>;
6469

6570
thermal-sensors = <&thermal>;
6671

@@ -79,7 +84,7 @@
7984

8085
cooling-maps {
8186
trip = <&cpu_alert>;
82-
cooling-device = <&CPU0 0 2>;
87+
cooling-device = <&CPU0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
8388
contribution = <100>;
8489
};
8590
};

0 commit comments

Comments
 (0)