#define PUZZLE_FAN_THERMAL(_cname, _fan)				\
	polling-delay-passive = <0>;					\
	polling-delay = <1000>;						\
									\
	trips {								\
		_cname##_active_full: trip-point5 {			\
			temperature = <70000>;				\
			hysteresis = <3000>;				\
			type = "active";				\
		};							\
		_cname##_active_very_high: trip-point4 {		\
			temperature = <67500>;				\
			hysteresis = <3000>;				\
			type = "active";				\
		};							\
		_cname##_active_high: trip-point3 {			\
			temperature = <65000>;				\
			hysteresis = <5000>;				\
			type = "active";				\
		};							\
		_cname##_active_med: trip-point2 {			\
			temperature = <62500>;				\
			hysteresis = <3000>;				\
			type = "active";				\
		};							\
		_cname##_active_low: trip-point1 {			\
			temperature = <60000>;				\
			hysteresis = <3000>;				\
			type = "active";				\
		};							\
		_cname##_active_min: trip-point0 {			\
			temperature = <55000>;				\
			hysteresis = <5000>;				\
			type = "active";				\
		};							\
	};								\
	cooling-maps {							\
		map5 {							\
			trip = <&_cname##_active_full>;			\
			cooling-device = <_fan 6 6>;			\
		};							\
		map4 {							\
			trip = <&_cname##_active_very_high>;		\
			cooling-device = <_fan 5 5>;			\
		};							\
		map3 {							\
			trip = <&_cname##_active_high>;			\
			cooling-device = <_fan 4 4>;			\
		};							\
		map2 {							\
			trip = <&_cname##_active_med>;			\
			cooling-device = <_fan 3 3>;			\
		};							\
		map1 {							\
			trip = <&_cname##_active_low>;			\
			cooling-device = <_fan 2 2>;			\
		};							\
		map0 {							\
			trip = <&_cname##_active_min>;			\
			cooling-device = <_fan 1 1>;			\
		};							\
	}

#define PUZZLE_FAN_CHASSIS_THERMAL(_cname, _fan)			\
	polling-delay-passive = <0>;					\
	polling-delay = <5000>;						\
									\
	trips {								\
		_cname##_active_full: trip-point2 {			\
			temperature = <70000>;				\
			hysteresis = <3000>;				\
			type = "active";				\
		};							\
		_cname##_active_med: trip-point1 {			\
			temperature = <62500>;				\
			hysteresis = <3000>;				\
			type = "active";				\
		};							\
		_cname##_active_min: trip-point0 {			\
			temperature = <55000>;				\
			hysteresis = <5000>;				\
			type = "active";				\
		};							\
	};								\
	cooling-maps {							\
		map2 {							\
			trip = <&_cname##_active_full>;			\
			cooling-device = <_fan 6 6>;			\
		};							\
		map1 {							\
			trip = <&_cname##_active_med>;			\
			cooling-device = <_fan 3 3>;			\
		};							\
		map0 {							\
			trip = <&_cname##_active_min>;			\
			cooling-device = <_fan 1 1>;			\
		};							\
	}
