Commit 4d8aa009 authored by Viresh Kumar's avatar Viresh Kumar Committed by Shawn Guo

ARM: dts: ls1021a: 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: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 63e71fed
...@@ -324,6 +324,8 @@ map0 { ...@@ -324,6 +324,8 @@ map0 {
trip = <&cpu_alert>; trip = <&cpu_alert>;
cooling-device = cooling-device =
<&cpu0 THERMAL_NO_LIMIT <&cpu0 THERMAL_NO_LIMIT
THERMAL_NO_LIMIT>,
<&cpu1 THERMAL_NO_LIMIT
THERMAL_NO_LIMIT>; THERMAL_NO_LIMIT>;
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment