Add cooling-cells property to the CPU nodes to support cpufreq cooling devices.
Unified · Split
| @@ -45,6 +45,7 @@ · 44 unmodified lines | |||
| 45 | dynamic-power-coefficient = <100>; | 45 | dynamic-power-coefficient = <100>; |
| 46 | 46 | ||
| 47 | qcom,freq-domain = <&cpufreq_hw 0>; | 47 | qcom,freq-domain = <&cpufreq_hw 0>; |
| 48 | #cooling-cells = <2>; | ||
| 48 | 49 | ||
| 49 | l2_0: l2-cache { | 50 | l2_0: l2-cache { |
| 50 | compatible = "cache"; | 51 | compatible = "cache"; |
| @@ -76,6 +77,7 @@ · 25 unmodified lines | |||
| 76 | dynamic-power-coefficient = <100>; | 77 | dynamic-power-coefficient = <100>; |
| 77 | 78 | ||
| 78 | qcom,freq-domain = <&cpufreq_hw 0>; | 79 | qcom,freq-domain = <&cpufreq_hw 0>; |
| 80 | #cooling-cells = <2>; | ||
| 79 | }; | 81 | }; |
| 80 | 82 | ||
| 81 | cpu2: cpu@200 { | 83 | cpu2: cpu@200 { |
| @@ -94,6 +96,7 @@ · 12 unmodified lines | |||
| 94 | dynamic-power-coefficient = <100>; | 96 | dynamic-power-coefficient = <100>; |
| 95 | 97 | ||
| 96 | qcom,freq-domain = <&cpufreq_hw 0>; | 98 | qcom,freq-domain = <&cpufreq_hw 0>; |
| 99 | #cooling-cells = <2>; | ||
| 97 | 100 | ||
| 98 | l2_2: l2-cache { | 101 | l2_2: l2-cache { |
| 99 | compatible = "cache"; | 102 | compatible = "cache"; |
| @@ -119,6 +122,7 @@ · 19 unmodified lines | |||
| 119 | dynamic-power-coefficient = <238>; | 122 | dynamic-power-coefficient = <238>; |
| 120 | 123 | ||
| 121 | qcom,freq-domain = <&cpufreq_hw 1>; | 124 | qcom,freq-domain = <&cpufreq_hw 1>; |
| 125 | #cooling-cells = <2>; | ||
| 122 | 126 | ||
| 123 | l2_3: l2-cache { | 127 | l2_3: l2-cache { |
| 124 | compatible = "cache"; | 128 | compatible = "cache"; |
| @@ -144,6 +148,7 @@ · 19 unmodified lines | |||
| 144 | dynamic-power-coefficient = <238>; | 148 | dynamic-power-coefficient = <238>; |
| 145 | 149 | ||
| 146 | qcom,freq-domain = <&cpufreq_hw 1>; | 150 | qcom,freq-domain = <&cpufreq_hw 1>; |
| 151 | #cooling-cells = <2>; | ||
| 147 | 152 | ||
| 148 | l2_4: l2-cache { | 153 | l2_4: l2-cache { |
| 149 | compatible = "cache"; | 154 | compatible = "cache"; |
| @@ -169,6 +174,7 @@ · 19 unmodified lines | |||
| 169 | dynamic-power-coefficient = <238>; | 174 | dynamic-power-coefficient = <238>; |
| 170 | 175 | ||
| 171 | qcom,freq-domain = <&cpufreq_hw 1>; | 176 | qcom,freq-domain = <&cpufreq_hw 1>; |
| 177 | #cooling-cells = <2>; | ||
| 172 | 178 | ||
| 173 | l2_5: l2-cache { | 179 | l2_5: l2-cache { |
| 174 | compatible = "cache"; | 180 | compatible = "cache"; |
| @@ -194,6 +200,7 @@ · 19 unmodified lines | |||
| 194 | dynamic-power-coefficient = <238>; | 200 | dynamic-power-coefficient = <238>; |
| 195 | 201 | ||
| 196 | qcom,freq-domain = <&cpufreq_hw 1>; | 202 | qcom,freq-domain = <&cpufreq_hw 1>; |
| 203 | #cooling-cells = <2>; | ||
| 197 | 204 | ||
| 198 | l2_6: l2-cache { | 205 | l2_6: l2-cache { |
| 199 | compatible = "cache"; | 206 | compatible = "cache"; |
| @@ -219,6 +226,7 @@ · 19 unmodified lines | |||
| 219 | dynamic-power-coefficient = <588>; | 226 | dynamic-power-coefficient = <588>; |
| 220 | 227 | ||
| 221 | qcom,freq-domain = <&cpufreq_hw 2>; | 228 | qcom,freq-domain = <&cpufreq_hw 2>; |
| 229 | #cooling-cells = <2>; | ||
| 222 | 230 | ||
| 223 | l2_7: l2-cache { | 231 | l2_7: l2-cache { |
| 224 | compatible = "cache"; | 232 | compatible = "cache"; |