1 #define PUZZLE_FAN_THERMAL(_cname, _fan) \
2 polling-delay-passive = <500>; \
3 polling-delay = <1000>; \
7 temperature = <75000>; \
11 _cname##_active_full: cpu-active-full { \
12 temperature = <70000>; \
13 hysteresis = <5000>; \
16 _cname##_active_high: cpu-active-high { \
17 temperature = <65000>; \
18 hysteresis = <5000>; \
21 _cname##_active_med: cpu-active-med { \
22 temperature = <62500>; \
23 hysteresis = <3000>; \
26 _cname##_active_low: cpu-active-low { \
27 temperature = <60000>; \
28 hysteresis = <3000>; \
31 _cname##_active_min: cpu-active-min { \
32 temperature = <55000>; \
33 hysteresis = <5000>; \
36 _cname##_active_idle: cpu-active-idle { \
37 temperature = <50000>; \
38 hysteresis = <5000>; \
44 trip = <&_cname##_active_full>; \
45 cooling-device = <_fan THERMAL_NO_LIMIT \
49 trip = <&_cname##_active_high>; \
50 cooling-device = <_fan 4 5>; \
53 trip = <&_cname##_active_med>; \
54 cooling-device = <_fan 3 4>; \
57 trip = <&_cname##_active_low>; \
58 cooling-device = <_fan 2 3>; \
61 trip = <&_cname##_active_min>; \
62 cooling-device = <_fan 1 2>; \
65 trip = <&_cname##_active_idle>; \
66 cooling-device = <_fan 0 0>; \