arm64: dts: amlogic: Add all CPUs in cooling maps
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 16 Nov 2018 10:04:24 +0000 (15:34 +0530)
committerKevin Hilman <khilman@baylibre.com>
Thu, 29 Nov 2018 20:30:09 +0000 (12:30 -0800)
commit146e99be22ee5ac50c89cfd68ef6617d097fb196
tree7e6587fc9b0d73bcc41f6ab3c93ac7923f7eded5
parent0449b8e371acb8609bd6363c91dda464a262f778
arm64: dts: amlogic: 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>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gxm-khadas-vim2.dts