Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm: dts: mediatek: 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.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>

authored by

Viresh Kumar and committed by
Matthias Brugger
0c7f7a51 ce397d21

+3
+3
arch/arm/boot/dts/mt7623.dtsi
··· 92 92 <&apmixedsys CLK_APMIXED_MAINPLL>; 93 93 clock-names = "cpu", "intermediate"; 94 94 operating-points-v2 = <&cpu_opp_table>; 95 + #cooling-cells = <2>; 95 96 clock-frequency = <1300000000>; 96 97 }; 97 98 ··· 104 103 <&apmixedsys CLK_APMIXED_MAINPLL>; 105 104 clock-names = "cpu", "intermediate"; 106 105 operating-points-v2 = <&cpu_opp_table>; 106 + #cooling-cells = <2>; 107 107 clock-frequency = <1300000000>; 108 108 }; 109 109 ··· 116 114 <&apmixedsys CLK_APMIXED_MAINPLL>; 117 115 clock-names = "cpu", "intermediate"; 118 116 operating-points-v2 = <&cpu_opp_table>; 117 + #cooling-cells = <2>; 119 118 clock-frequency = <1300000000>; 120 119 }; 121 120 };