ARM: dts: imx7d: Add missing cooling device properties for CPUs
authorAnson Huang <Anson.Huang@nxp.com>
Thu, 24 Oct 2019 02:34:25 +0000 (10:34 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 28 Oct 2019 08:41:35 +0000 (16:41 +0800)
The cooling device properties "#cooling-cells" 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.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/boot/dts/imx7d.dtsi

index 27927675a81d13cd770614a527cc88ef252e2f55..d8acd7cc7918a1a3d6aa33b4cdb38c7891cdaf09 100644 (file)
@@ -22,6 +22,7 @@
                        reg = <1>;
                        clock-frequency = <996000000>;
                        operating-points-v2 = <&cpu0_opp_table>;
+                       #cooling-cells = <2>;
                        cpu-idle-states = <&cpu_sleep_wait>;
                };
        };