Commit 5c3f0d5f authored by Serge Schneider's avatar Serge Schneider Committed by Phil Elwell
Browse files

hwmon: adjust rpi-poe-fan overlay trip points

parent d30f9834
Loading
Loading
Loading
Loading
+9 −17
Original line number Diff line number Diff line
@@ -14,9 +14,9 @@
				compatible = "raspberrypi,rpi-poe-fan";
				firmware = <&firmware>;
				cooling-min-state = <0>;
				cooling-max-state = <3>;
				cooling-max-state = <2>;
				#cooling-cells = <2>;
				cooling-levels = <0 50 150 255>;
				cooling-levels = <0 150 255>;
				status = "okay";
			};
		};
@@ -26,35 +26,27 @@
		target = <&cpu_thermal>;
		__overlay__ {
			trips {
				threshold: trip-point@0 {
					temperature = <45000>;
					hysteresis = <5000>;
					type = "active";
				};
				target: trip-point@1 {
				trip0: trip0 {
					temperature = <50000>;
					hysteresis = <2000>;
					hysteresis = <5000>;
					type = "active";
				};
				cpu_hot: cpu_hot@0 {
				trip1: trip1 {

					temperature = <55000>;
					hysteresis = <2000>;
					hysteresis = <5000>;
					type = "active";
				};
			};
			cooling-maps {
				map0 {
					trip = <&threshold>;
					trip = <&trip0>;
					cooling-device = <&fan0 0 1>;
				};
				map1 {
					trip = <&target>;
					trip = <&trip1>;
					cooling-device = <&fan0 1 2>;
				};
				map2 {
					trip = <&cpu_hot>;
					cooling-device = <&fan0 2 3>;
				};
			};
		};
	};