|
|
@@ -56,57 +56,14 @@
|
|
|
};
|
|
|
|
|
|
thermal-zones {
|
|
|
- chassis-thermal {
|
|
|
- polling-delay = <5000>;
|
|
|
- thermal-sensors = <&puzzle_hwmon 0>, <&puzzle_hwmon 1>;
|
|
|
-
|
|
|
- trips {
|
|
|
- chassis_very_hot: trip-point3 {
|
|
|
- temperature = <55000>;
|
|
|
- hysteresis = <5000>;
|
|
|
- type = "active";
|
|
|
- };
|
|
|
-
|
|
|
- chassis_hot: trip-point2 {
|
|
|
- temperature = <50000>;
|
|
|
- hysteresis = <5000>;
|
|
|
- type = "active";
|
|
|
- };
|
|
|
-
|
|
|
- chassis_warm: trip-point1 {
|
|
|
- temperature = <45000>;
|
|
|
- hysteresis = <5000>;
|
|
|
- type = "active";
|
|
|
- };
|
|
|
-
|
|
|
- chassis_cold: trip-point0 {
|
|
|
- temperature = <40000>;
|
|
|
- hysteresis = <5000>;
|
|
|
- type = "active";
|
|
|
- };
|
|
|
- };
|
|
|
+ chassis0-thermal {
|
|
|
+ thermal-sensors = <&puzzle_hwmon 0>;
|
|
|
+ PUZZLE_FAN_CHASSIS_THERMAL(chassis0, &chassis_fan_group0);
|
|
|
+ };
|
|
|
|
|
|
- cooling-maps {
|
|
|
- map3 {
|
|
|
- trip = <&chassis_very_hot>;
|
|
|
- cooling-device = <&chassis_fan_group0 6 6>;
|
|
|
- };
|
|
|
-
|
|
|
- map2 {
|
|
|
- trip = <&chassis_hot>;
|
|
|
- cooling-device = <&chassis_fan_group0 3 3>;
|
|
|
- };
|
|
|
-
|
|
|
- map1 {
|
|
|
- trip = <&chassis_warm>;
|
|
|
- cooling-device = <&chassis_fan_group0 1 1>;
|
|
|
- };
|
|
|
-
|
|
|
- map0 {
|
|
|
- trip = <&chassis_cold>;
|
|
|
- cooling-device = <&chassis_fan_group0 0 0>;
|
|
|
- };
|
|
|
- };
|
|
|
+ chassis1-thermal {
|
|
|
+ thermal-sensors = <&puzzle_hwmon 1>;
|
|
|
+ PUZZLE_FAN_CHASSIS_THERMAL(chassis1, &chassis_fan_group0);
|
|
|
};
|
|
|
|
|
|
cp0-phy0-thermal {
|