arm64: dts: rockchip: Fix multiple thermal zones conflict in rk3399.dtsi
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 4 Jun 2019 16:57:57 +0000 (18:57 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Wed, 26 Jun 2019 22:24:29 +0000 (00:24 +0200)
commit95f231f801ae1b1d630f03c3348873f7e1bd6f18
treef8b92bd62e0ff7ebf054150c86c4d513af04258a
parent587b4ee24fc7200fea5c630c5d981b2cca35149f
arm64: dts: rockchip: Fix multiple thermal zones conflict in rk3399.dtsi

Currently the common thermal zones definitions for the rk3399 assumes
multiple thermal zones are supported by the governors. This is not the
case and each thermal zone has its own governor instance acting
individually without collaboration with other governors.

As the cooling device for the CPU and the GPU thermal zones is the
same, each governors take different decisions for the same cooling
device leading to conflicting instructions and an erratic behavior.

As the cooling-maps is about to become an optional property, let's
remove the cpu cooling device map from the GPU thermal zone.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399.dtsi