Skip to content

Commit 7379888

Browse files
XECDesignpopcornmix
authored andcommitted
hwmon: adjust rpi-poe-fan overlay trip points
Signed-off-by: Serge Schneider <[email protected]>
1 parent 77a25e0 commit 7379888

File tree

1 file changed

+9
-17
lines changed

1 file changed

+9
-17
lines changed

arch/arm/boot/dts/overlays/rpi-poe-overlay.dts

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
compatible = "raspberrypi,rpi-poe-fan";
1515
firmware = <&firmware>;
1616
cooling-min-state = <0>;
17-
cooling-max-state = <3>;
17+
cooling-max-state = <2>;
1818
#cooling-cells = <2>;
19-
cooling-levels = <0 50 150 255>;
19+
cooling-levels = <0 150 255>;
2020
status = "okay";
2121
};
2222
};
@@ -26,35 +26,27 @@
2626
target = <&cpu_thermal>;
2727
__overlay__ {
2828
trips {
29-
threshold: trip-point@0 {
30-
temperature = <45000>;
31-
hysteresis = <5000>;
32-
type = "active";
33-
};
34-
target: trip-point@1 {
29+
trip0: trip0 {
3530
temperature = <50000>;
36-
hysteresis = <2000>;
31+
hysteresis = <5000>;
3732
type = "active";
3833
};
39-
cpu_hot: cpu_hot@0 {
34+
trip1: trip1 {
35+
4036
temperature = <55000>;
41-
hysteresis = <2000>;
37+
hysteresis = <5000>;
4238
type = "active";
4339
};
4440
};
4541
cooling-maps {
4642
map0 {
47-
trip = <&threshold>;
43+
trip = <&trip0>;
4844
cooling-device = <&fan0 0 1>;
4945
};
5046
map1 {
51-
trip = <&target>;
47+
trip = <&trip1>;
5248
cooling-device = <&fan0 1 2>;
5349
};
54-
map2 {
55-
trip = <&cpu_hot>;
56-
cooling-device = <&fan0 2 3>;
57-
};
5850
};
5951
};
6052
};

0 commit comments

Comments
 (0)