projects
/
openwrt
/
staging
/
stintel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mvebu: enable thermal zone polling for IEI Puzzle devices
[openwrt/staging/stintel.git]
/
target
/
linux
/
mvebu
/
files
/
arch
/
arm64
/
boot
/
dts
/
marvell
/
puzzle-thermal.dtsi
diff --git
a/target/linux/mvebu/files/arch/arm64/boot/dts/marvell/puzzle-thermal.dtsi
b/target/linux/mvebu/files/arch/arm64/boot/dts/marvell/puzzle-thermal.dtsi
index 94677532f2dc1f341ca5c9953272db9baa7bab1f..a8ce8fd102c69614de541f54780169b504a6ebde 100644
(file)
--- a/
target/linux/mvebu/files/arch/arm64/boot/dts/marvell/puzzle-thermal.dtsi
+++ b/
target/linux/mvebu/files/arch/arm64/boot/dts/marvell/puzzle-thermal.dtsi
@@
-1,4
+1,7
@@
#define PUZZLE_FAN_THERMAL(_cname, _fan) \
#define PUZZLE_FAN_THERMAL(_cname, _fan) \
+ polling-delay-passive = <500>; \
+ polling-delay = <1000>; \
+ \
trips { \
_cname##_active_high: cpu-active-high { \
temperature = <80000>; \
trips { \
_cname##_active_high: cpu-active-high { \
temperature = <80000>; \
@@
-28,14
+31,14
@@
}; \
cpu-active-med { \
trip = <&_cname##_active_med>; \
}; \
cpu-active-med { \
trip = <&_cname##_active_med>; \
- cooling-device = <_fan 2
THERMAL_NO_LIMIT>;
\
+ cooling-device = <_fan 2
3>;
\
}; \
cpu-active-low { \
trip = <&_cname##_active_low>; \
}; \
cpu-active-low { \
trip = <&_cname##_active_low>; \
- cooling-device = <_fan 1
THERMAL_NO_LIMIT>;
\
+ cooling-device = <_fan 1
2>;
\
}; \
cpu-active-idle { \
trip = <&_cname##_active_idle>; \
}; \
cpu-active-idle { \
trip = <&_cname##_active_idle>; \
- cooling-device = <_fan 0
THERMAL_NO_LIMIT>;
\
+ cooling-device = <_fan 0
0>;
\
}; \
}
}; \
}