]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: dts: rockchip: Add all CPUs in cooling maps
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 16 Nov 2018 10:04:32 +0000 (15:34 +0530)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 19 Nov 2018 13:45:35 +0000 (14:45 +0100)
commit699865b006e1dd7fc6cea123cf15357a10f39d73
tree73bb6e9c567c8e37a639b4feaf01d92455472ca3
parent43034ac703b4aac3af7c0e1ea3428451559bf520
arm64: dts: rockchip: Add all CPUs in cooling maps

Each CPU can (and does) participate in cooling down the system but the
DT only captures a handful of them, normally CPU0, in the cooling maps.
Things work by chance currently as under normal circumstances its the
first CPU of each cluster which is used by the operating systems to
probe the cooling devices. But as soon as this CPU ordering changes and
any other CPU is used to bring up the cooling device, we will start
seeing failures.

Also the DT is rather incomplete when we list only one CPU in the
cooling maps, as the hardware doesn't have any such limitations.

Update cooling maps to include all devices affected by individual trip
points.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3328.dtsi
arch/arm64/boot/dts/rockchip/rk3368.dtsi
arch/arm64/boot/dts/rockchip/rk3399-gru-kevin.dts
arch/arm64/boot/dts/rockchip/rk3399.dtsi