mirror of
https://github.com/Evolution-X-Devices/kernel_xiaomi_sm8450-devicetrees
synced 2026-02-01 08:51:30 +00:00
Merge "ARM: dts: qcom: Add fan thermal mitigation rules on Anorak"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
b39646dd9e
@@ -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
|
||||
|
||||
@@ -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>;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user