]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
arm64: dts: mt8173: Fix cpu_thermal cooling-maps contributions
authorDaniel Kurtz <djkurtz@chromium.org>
Fri, 13 Jan 2017 02:30:05 +0000 (10:30 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Fri, 13 Jan 2017 15:35:55 +0000 (16:35 +0100)
commit7fcef92db8ba7fe667df6513f6ff7f9913816749
tree953807b56217da15e28f7cf0598d6e81bdbec093
parentfc6634ac0e5380aeb1063275a2e9a583d41b2306
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: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8173.dtsi