1 #define PUZZLE_FAN_THERMAL(_cname, _fan) \
3 _cname##_active_high: cpu-active-high { \
4 temperature = <80000>; \
8 _cname##_active_med: cpu-active-med { \
9 temperature = <72000>; \
10 hysteresis = <2000>; \
13 _cname##_active_low: cpu-active-low { \
14 temperature = <65000>; \
15 hysteresis = <2000>; \
18 _cname##_active_idle: cpu-active-idle { \
19 temperature = <60000>; \
20 hysteresis = <2000>; \
26 trip = <&_cname##_active_high>; \
27 cooling-device = <_fan 3 THERMAL_NO_LIMIT>; \
30 trip = <&_cname##_active_med>; \
31 cooling-device = <_fan 2 THERMAL_NO_LIMIT>; \
34 trip = <&_cname##_active_low>; \
35 cooling-device = <_fan 1 THERMAL_NO_LIMIT>; \
38 trip = <&_cname##_active_idle>; \
39 cooling-device = <_fan 0 THERMAL_NO_LIMIT>; \