arm64: dts: mt8183: Add #cooling-cells to CPU nodes
authormichael.kao <michael.kao@mediatek.com>
Fri, 3 Jan 2020 06:44:02 +0000 (14:44 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Thu, 20 Feb 2020 21:58:30 +0000 (22:58 +0100)
The #cooling-cells property needs to be specified to allow a CPU
to be used as cooling device.

Signed-off-by: Michael Kao <michael.kao@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt8183.dtsi

index d5c916f..97863ad 100644 (file)
@@ -76,6 +76,7 @@
                        capacity-dmips-mhz = <741>;
                        cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
                        dynamic-power-coefficient = <84>;
+                       #cooling-cells = <2>;
                };
 
                cpu1: cpu@1 {
@@ -86,6 +87,7 @@
                        capacity-dmips-mhz = <741>;
                        cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
                        dynamic-power-coefficient = <84>;
+                       #cooling-cells = <2>;
                };
 
                cpu2: cpu@2 {
@@ -96,6 +98,7 @@
                        capacity-dmips-mhz = <741>;
                        cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
                        dynamic-power-coefficient = <84>;
+                       #cooling-cells = <2>;
                };
 
                cpu3: cpu@3 {
                        capacity-dmips-mhz = <741>;
                        cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
                        dynamic-power-coefficient = <84>;
+                       #cooling-cells = <2>;
                };
 
                cpu4: cpu@100 {
                        capacity-dmips-mhz = <1024>;
                        cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
                        dynamic-power-coefficient = <211>;
+                       #cooling-cells = <2>;
                };
 
                cpu5: cpu@101 {
                        capacity-dmips-mhz = <1024>;
                        cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
                        dynamic-power-coefficient = <211>;
+                       #cooling-cells = <2>;
                };
 
                cpu6: cpu@102 {
                        capacity-dmips-mhz = <1024>;
                        cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
                        dynamic-power-coefficient = <211>;
+                       #cooling-cells = <2>;
                };
 
                cpu7: cpu@103 {
                        capacity-dmips-mhz = <1024>;
                        cpu-idle-states = <&CPU_SLEEP &CLUSTER_SLEEP>;
                        dynamic-power-coefficient = <211>;
+                       #cooling-cells = <2>;
                };
 
                idle-states {