]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ARM: dts: exynos: fix incomplete Odroid-XU3/4 thermal-zones definition
authorWilly Wolff <willy.mh.wolff@gmail.com>
Thu, 7 Sep 2017 16:10:00 +0000 (18:10 +0200)
committerKrzysztof Kozlowski <krzk@kernel.org>
Sun, 17 Sep 2017 07:33:19 +0000 (09:33 +0200)
commite740731dae9470f7fb86efa643ec881a66d4e4c0
tree0354bf0acb3ae55b8c2f36961719bbf79fbf231c
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e
ARM: dts: exynos: fix incomplete Odroid-XU3/4 thermal-zones definition

Odroid XU3/4 boards have thermal sensors per 4 pairs of A7+A15
cores but currently there is only one thermal-zone (including
cooling maps) defined (for the first pair of cores - the first
core of the A7 cluster and the first core of A15 cluster) so
i.e. if the task is running on any of A15 cores but the first
one, such core can reach high temperature without any proper
cooling action.

Fix it by adding missing thermal-zones definitions.

Also while at it fix the number of steps in cpufreq cooling for
cpu4 (11 steps for A15 corresponds to 700MHz, for 600MHz 12 steps
should be used).

Signed-off-by: Willy Wolff <willy.mh.wolff@gmail.com>
[b.zolnierkie: rewrote patch subject & description + minor fixups]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
arch/arm/boot/dts/exynos5422-odroidxu3-common.dtsi