mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-06-15 11:43:54 +02:00
![Stijn Segers](/assets/img/avatar_default.png)
DTS paths for 32 bit ARM devices changed with 6.6, move files/ to files-6.1 to prep for kernel 6.6 introduction. Signed-off-by: Stijn Segers <foss@volatilesystems.org>
69 lines
1.9 KiB
Plaintext
69 lines
1.9 KiB
Plaintext
#define PUZZLE_FAN_THERMAL(_cname, _fan) \
|
|
polling-delay-passive = <500>; \
|
|
polling-delay = <1000>; \
|
|
\
|
|
trips { \
|
|
cpu-hot { \
|
|
temperature = <75000>; \
|
|
hysteresis = <5000>; \
|
|
type = "hot"; \
|
|
}; \
|
|
_cname##_active_full: cpu-active-full { \
|
|
temperature = <70000>; \
|
|
hysteresis = <5000>; \
|
|
type = "active"; \
|
|
}; \
|
|
_cname##_active_high: cpu-active-high { \
|
|
temperature = <65000>; \
|
|
hysteresis = <5000>; \
|
|
type = "active"; \
|
|
}; \
|
|
_cname##_active_med: cpu-active-med { \
|
|
temperature = <62500>; \
|
|
hysteresis = <3000>; \
|
|
type = "active"; \
|
|
}; \
|
|
_cname##_active_low: cpu-active-low { \
|
|
temperature = <60000>; \
|
|
hysteresis = <3000>; \
|
|
type = "active"; \
|
|
}; \
|
|
_cname##_active_min: cpu-active-min { \
|
|
temperature = <55000>; \
|
|
hysteresis = <5000>; \
|
|
type = "active"; \
|
|
}; \
|
|
_cname##_active_idle: cpu-active-idle { \
|
|
temperature = <50000>; \
|
|
hysteresis = <5000>; \
|
|
type = "active"; \
|
|
}; \
|
|
}; \
|
|
cooling-maps { \
|
|
cpu-active-full { \
|
|
trip = <&_cname##_active_full>; \
|
|
cooling-device = <_fan THERMAL_NO_LIMIT \
|
|
THERMAL_NO_LIMIT>; \
|
|
}; \
|
|
cpu-active-high { \
|
|
trip = <&_cname##_active_high>; \
|
|
cooling-device = <_fan 4 5>; \
|
|
}; \
|
|
cpu-active-med { \
|
|
trip = <&_cname##_active_med>; \
|
|
cooling-device = <_fan 3 4>; \
|
|
}; \
|
|
cpu-active-low { \
|
|
trip = <&_cname##_active_low>; \
|
|
cooling-device = <_fan 2 3>; \
|
|
}; \
|
|
cpu-active-min { \
|
|
trip = <&_cname##_active_min>; \
|
|
cooling-device = <_fan 1 2>; \
|
|
}; \
|
|
cpu-active-idle { \
|
|
trip = <&_cname##_active_idle>; \
|
|
cooling-device = <_fan 0 0>; \
|
|
}; \
|
|
}
|