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

This commit is contained in:
qctecmdr
2022-09-21 22:00:29 -07:00
committed by Gerrit - the friendly Code Review server

View File

@@ -89,6 +89,40 @@
status = "disabled";
};
&pm8550_gpios {
pwr_en_gpio {
pwr_en_gpio_default: pwr_en_gpio_default {
pins = "gpio9";
function = "normal";
power-source = <0>;
output-low;
input-disable;
};
};
};
&DBO3 {
/delete-property/ gpio;
};
&qupv3_hub_i2c2 {
status = "ok";
fancontroller: max31760@50 {
compatible = "maxim,max31760";
reg = <0x50>;
#cooling-cells = <2>;
maxim,vdd-supply = <&L4N>;
maxim,vcca-supply = <&L15B>;
regulator-name = "maxim,vdd", "maxim,vcca";
pinctrl-names = "default";
pinctrl-0 = <&pwr_en_gpio_default>;
maxim,pwr-en-gpio = <&pm8550_gpios 9 GPIO_ACTIVE_LOW>;
status = "ok";
};
};
&thermal_zones {
cam-flash-therm {
status = "disabled";
@@ -112,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>;
};
};
};
};