mirror of
https://github.com/Evolution-X-Devices/kernel_oneplus_sm8550-devicetrees
synced 2026-02-01 09:49:52 +00:00
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:
@@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user