ARM: dts: sunxi: Add missing cooling device properties for CPUs
authorViresh Kumar <viresh.kumar@linaro.org>
Tue, 5 Jun 2018 04:47:49 +0000 (10:17 +0530)
committerMaxime Ripard <maxime.ripard@bootlin.com>
Mon, 18 Jun 2018 07:29:22 +0000 (09:29 +0200)
commite3b742026b92a141b43560858b089921953a63de
treeb6e4721d84e41fec12a1590808ffff6ec20b22ae
parentce397d215ccd07b8ae3f71db689aedb85d56ab40
ARM: dts: sunxi: Add missing cooling device properties for CPUs

The cooling device properties, like "#cooling-cells" and
"dynamic-power-coefficient", should either be present for all the CPUs
of a cluster or none. If these are present only for a subset of CPUs of
a cluster then things will start falling apart as soon as the CPUs are
brought online in a different order. For example, this will happen
because the operating system looks for such properties in the CPU node
it is trying to bring up, so that it can register a cooling device.

Add such missing properties.

Fix other missing properties (clocks, OPP, clock latency) as well to
make it all work.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
arch/arm/boot/dts/sun6i-a31.dtsi
arch/arm/boot/dts/sun7i-a20.dtsi
arch/arm/boot/dts/sun8i-a33.dtsi