@@ -11,6 +11,8 @@
#include <dt-bindings/power/mt8183-power.h>
#include <dt-bindings/reset-controller/mt8183-resets.h>
#include "mt8183-pinfunc.h"
+#include <dt-bindings/thermal/thermal.h>
+
/ {
compatible = "mediatek,mt8183";
interrupt-parent = <&sysirq>;
@@ -59,6 +61,7 @@
reg = <0x000>;
enable-method = "psci";
dynamic-power-coefficient = <84>;
+ #cooling-cells = <2>;
};
cpu1: cpu@1 {
@@ -67,6 +70,7 @@
reg = <0x001>;
enable-method = "psci";
dynamic-power-coefficient = <84>;
+ #cooling-cells = <2>;
};
cpu2: cpu@2 {
@@ -75,6 +79,7 @@
reg = <0x002>;
enable-method = "psci";
dynamic-power-coefficient = <84>;
+ #cooling-cells = <2>;
};
cpu3: cpu@3 {
@@ -83,6 +88,7 @@
reg = <0x003>;
enable-method = "psci";
dynamic-power-coefficient = <84>;
+ #cooling-cells = <2>;
};
cpu4: cpu@100 {
@@ -91,6 +97,7 @@
reg = <0x100>;
enable-method = "psci";
dynamic-power-coefficient = <211>;
+ #cooling-cells = <2>;
};
cpu5: cpu@101 {
@@ -99,6 +106,7 @@
reg = <0x101>;
enable-method = "psci";
dynamic-power-coefficient = <211>;
+ #cooling-cells = <2>;
};
cpu6: cpu@102 {
@@ -107,6 +115,7 @@
reg = <0x102>;
enable-method = "psci";
dynamic-power-coefficient = <211>;
+ #cooling-cells = <2>;
};
cpu7: cpu@103 {
@@ -115,6 +124,7 @@
reg = <0x103>;
enable-method = "psci";
dynamic-power-coefficient = <211>;
+ #cooling-cells = <2>;
};
};
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> --- arch/arm64/boot/dts/mediatek/mt8183.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+)