Merge "ARM: dts: qcom: Add fan thermal mitigation rules on Anorak"

This commit is contained in:
qctecmdr
2022-12-02 20:11:47 -08:00
committed by Gerrit - the friendly Code Review server
2 changed files with 100 additions and 0 deletions

View File

@@ -421,6 +421,12 @@
hysteresis = <1000>;
type = "passive";
};
fan_config0: fan-config0 {
temperature = <70000>;
hysteresis = <1000>;
type = "passive";
};
};
};
@@ -576,6 +582,7 @@
fancontroller: max31760@50 {
compatible = "maxim,max31760";
#cooling-cells = <2>;
reg = <0x50>;
pinctrl-names = "default";
pinctrl-0 = <&pwr_en_gpio_default

View File

@@ -150,4 +150,97 @@
};
};
};
sys-therm-1 {
cooling-maps {
fan_cdev_0 {
trip = <&fan_config0>;
cooling-device = <&fancontroller 3 3>;
};
};
};
nspss-1 {
trips {
fan_nspss1_config0: fan-nspss1-config0 {
temperature = <80000>;
hysteresis = <0>;
type = "passive";
};
fan_nspss1_config1: fan-nspss1-config1 {
temperature = <90000>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
fan_cdev_0 {
trip = <&fan_nspss1_config0>;
cooling-device = <&fancontroller 3 3>;
};
fan_cdev_1 {
trip = <&fan_nspss1_config1>;
cooling-device = <&fancontroller 4 4>;
};
};
};
gpuss-2 {
trips {
fan_gpuss2_config0: fan-gpuss0-config0 {
temperature = <70000>;
hysteresis = <0>;
type = "passive";
};
fan_gpuss2_config1: fan-gpuss0-config1 {
temperature = <90000>;
hysteresis = <0>;
type = "passive";
};
};
cooling-maps {
fan_cdev_0 {
trip = <&fan_gpuss2_config0>;
cooling-device = <&fancontroller 3 3>;
};
fan_cdev_1 {
trip = <&fan_gpuss2_config0>;
cooling-device = <&fancontroller 4 4>;
};
};
};
cpu-1-1-0 {
trips {
fan_cpu110_config0: fan-cpu110-config0 {
temperature = <70000>;
hysteresis = <1000>;
type = "passive";
};
fan_cpu110_config1: fan-cpu110-config1 {
temperature = <90000>;
hysteresis = <1000>;
type = "passive";
};
};
cooling-maps {
fan_cdev_0 {
trip = <&fan_cpu110_config0>;
cooling-device = <&fancontroller 3 3>;
};
fan_cdev_1 {
trip = <&fan_cpu110_config1>;
cooling-device = <&fancontroller 4 4>;
};
};
};
};