ARM: dts: qcom: Add fan thermal mitigation rules on Kalama HHG

Add thermal mitigation rules that are bound with fan as cooling
device.

Change-Id: I48d73ed961611f6ea4713695ab852039b2964d4d
This commit is contained in:
Minghao Zhang
2022-09-21 16:29:02 +08:00
parent 8f7fac657d
commit 11f891b710

View File

@@ -146,4 +146,120 @@
};
};
};
cpu-1-6 {
trips {
thermal-engine-config {
temperature = <125000>;
hysteresis = <1000>;
type = "passive";
};
thermal-hal-config {
temperature = <125000>;
hysteresis = <1000>;
type = "passive";
};
fan_cpu16_config0: fan-cpu16-config0 {
temperature = <95000>;
hysteresis = <5000>;
type = "passive";
};
};
cooling-maps {
fan_cdev_0 {
trip = <&fan_cpu16_config0>;
cooling-device = <&fancontroller 1 1>;
};
};
};
cpu-1-7 {
trips {
thermal-engine-config {
temperature = <125000>;
hysteresis = <1000>;
type = "passive";
};
thermal-hal-config {
temperature = <125000>;
hysteresis = <1000>;
type = "passive";
};
fan_cpu17_config0: fan-cpu17-config0 {
temperature = <95000>;
hysteresis = <5000>;
type = "passive";
};
};
cooling-maps {
fan_cdev_0 {
trip = <&fan_cpu17_config0>;
cooling-device = <&fancontroller 1 1>;
};
};
};
gpuss-0 {
trips {
thermal-engine-config {
temperature = <125000>;
hysteresis = <1000>;
type = "passive";
};
thermal-hal-config {
temperature = <125000>;
hysteresis = <1000>;
type = "passive";
};
fan_gpuss0_config0: fan-gpuss0-config0 {
temperature = <95000>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
fan_cdev_0 {
trip = <&fan_gpuss0_config0>;
cooling-device = <&fancontroller 1 1>;
};
};
};
gpuss-1 {
trips {
thermal-engine-config {
temperature = <125000>;
hysteresis = <1000>;
type = "passive";
};
thermal-hal-config {
temperature = <125000>;
hysteresis = <1000>;
type = "passive";
};
fan_gpuss1_config0: fan-gpuss1-config0 {
temperature = <95000>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
fan_cdev_0 {
trip = <&fan_gpuss1_config0>;
cooling-device = <&fancontroller 1 1>;
};
};
};
};