Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7fcef92d authored by Daniel Kurtz's avatar Daniel Kurtz Committed by Matthias Brugger
Browse files

arm64: dts: mt8173: Fix cpu_thermal cooling-maps contributions



According to [0], the contribution field for each cooling-device express
their relative power efficiency. Higher weights express higher power
efficiency.  Weighting is relative such that if each cooling device has a
weight of 1 they are considered equal. This is particularly useful in
heterogeneous systems where two cooling devices may perform the same kind
of compute, but with different efficiency.

[0] Documentation/thermal/power_allocator.txt

According to Mediatek IC designer, the power efficiency ratio between the
LITTLE core cluster (cooling-device cpu0) and big core cluster
(cooling-device cpu1) is around 3:1 (3072:1024).

Signed-off-by: default avatarDaniel Kurtz <djkurtz@chromium.org>
Signed-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent fc6634ac
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -182,12 +182,12 @@
				map@0 {
					trip = <&target>;
					cooling-device = <&cpu0 0 0>;
					contribution = <1024>;
					contribution = <3072>;
				};
				map@1 {
					trip = <&target>;
					cooling-device = <&cpu2 0 0>;
					contribution = <2048>;
					contribution = <1024>;
				};
			};
		};