From f2c359ea072ea372923b397dbbe2d52a8eef7b42 Mon Sep 17 00:00:00 2001 From: Manaf Meethalavalappu Pallikunhi Date: Sun, 23 Jan 2022 20:50:48 +0530 Subject: [PATCH] ARM: dts: qcom: Enable CPU hotplug cooling device for kalama Enable CPU hotplug cooling device to hotplug the CPUs under thermal conditions. Change-Id: Ic19cf341e8934cd5ad073e4d4ccbe2e5be7dd765 --- qcom/kalama-thermal.dtsi | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/qcom/kalama-thermal.dtsi b/qcom/kalama-thermal.dtsi index fb13cf14..0d60a4ed 100644 --- a/qcom/kalama-thermal.dtsi +++ b/qcom/kalama-thermal.dtsi @@ -33,6 +33,45 @@ interrupt-names = "uplow","critical"; #thermal-sensor-cells = <1>; }; + + qcom,cpu-hotplug { + compatible = "qcom,cpu-hotplug"; + + cpu0_hotplug: cpu0-hotplug { + qcom,cpu = <&CPU0>; + #cooling-cells = <2>; + }; + + cpu1_hotplug: cpu1-hotplug { + qcom,cpu = <&CPU1>; + #cooling-cells = <2>; + }; + + cpu2_hotplug: cpu2-hotplug { + qcom,cpu = <&CPU2>; + #cooling-cells = <2>; + }; + + cpu3_hotplug: cpu3-hotplug { + qcom,cpu = <&CPU3>; + #cooling-cells = <2>; + }; + + cpu5_hotplug: cpu5-hotplug { + qcom,cpu = <&CPU5>; + #cooling-cells = <2>; + }; + + cpu6_hotplug: cpu6-hotplug { + qcom,cpu = <&CPU6>; + #cooling-cells = <2>; + }; + + cpu7_hotplug: cpu7-hotplug { + qcom,cpu = <&CPU7>; + #cooling-cells = <2>; + }; + }; }; &thermal_zones {