1 #define PUZZLE_FAN_THERMAL(_cname, _fan) \
2 polling-delay-passive = <500>; \
3 polling-delay = <1000>; \
6 _cname##_active_high: cpu-active-high { \
7 temperature = <80000>; \
11 _cname##_active_med: cpu-active-med { \
12 temperature = <72000>; \
13 hysteresis = <2000>; \
16 _cname##_active_low: cpu-active-low { \
17 temperature = <65000>; \
18 hysteresis = <2000>; \
21 _cname##_active_idle: cpu-active-idle { \
22 temperature = <60000>; \
23 hysteresis = <2000>; \
29 trip = <&_cname##_active_high>; \
30 cooling-device = <_fan 3 THERMAL_NO_LIMIT>; \
33 trip = <&_cname##_active_med>; \
34 cooling-device = <_fan 2 3>; \
37 trip = <&_cname##_active_low>; \
38 cooling-device = <_fan 1 2>; \
41 trip = <&_cname##_active_idle>; \
42 cooling-device = <_fan 0 0>; \