arm64: dts: hisilicon: Add missing cooling device properties for CPUs
authorViresh Kumar <viresh.kumar@linaro.org>
Fri, 25 May 2018 05:40:03 +0000 (11:10 +0530)
committerWei Xu <xuwei5@hisilicon.com>
Tue, 17 Jul 2018 12:56:45 +0000 (13:56 +0100)
commit4d4585c21f53c15a10c52b45e0392de79e07127e
treeca47246fe5ee0f342d75bd92bbaf2a7d3959c468
parenta5956defe5a537447a83de9b4bcd6a7c9aa1cc74
arm64: dts: hisilicon: 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.

Do minor rearrangement as well to keep ordering consistent.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Wei Xu <xuwei5@hisilicon.com>
arch/arm64/boot/dts/hisilicon/hi6220.dtsi