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)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:55:38 +0000 (14:55 +0900)
commit66d5644dfdb2867c210501cef3778fa0fec041c3
treeac1a63a6dbf5266a9bf5e944cd07ff630032eeb9
parent383e9b61f85cc8e5f1fcb1493d95f826a2fa736e
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