mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 15:11:54 +00:00
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
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user