Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 37ffa2c0 authored by Minghao Zhang's avatar Minghao Zhang
Browse files

ARM: dts: qcom: Update CPU and GPU mitigation rules on Lahaina HHG

Update cpu-1-6-step and cpu-1-7-step thermal zone mitigation rules
with CPU and gpuss-0-step and gpuss-1-step thermal zone mitigation
rules with GPU based on the latest recommendation.

Change-Id: I5721575cac197b976867aa78b98ed5694316d6f0
parent 09198c25
Loading
Loading
Loading
Loading
+32 −76
Original line number Diff line number Diff line
@@ -115,25 +115,19 @@
	cpu-1-6-step {
		trips {
			fan_cpu16_config0: fan-cpu16-config0 {
				temperature = <50000>;
				hysteresis = <0>;
				temperature = <80000>;
				hysteresis = <5000>;
				type = "passive";
			};

			fan_cpu16_config1: fan-cpu16-config1 {
				temperature = <65000>;
				hysteresis = <0>;
				temperature = <90000>;
				hysteresis = <5000>;
				type = "passive";
			};

			fan_cpu16_config2: fan-cpu16-config2 {
				temperature = <80000>;
				hysteresis = <0>;
				type = "passive";
			};

			fan_cpu16_config3: fan-cpu16-config3 {
				temperature = <90000>;
				temperature = <95000>;
				hysteresis = <0>;
				type = "passive";
			};
@@ -142,22 +136,17 @@
		cooling-maps {
			fan_cdev_0 {
				trip = <&fan_cpu16_config0>;
				cooling-device = <&fancontroller 0 1>;
				cooling-device = <&fancontroller 1 1>;
			};

			fan_cdev_1 {
				trip = <&fan_cpu16_config1>;
				cooling-device = <&fancontroller 1 2>;
				cooling-device = <&fancontroller 2 2>;
			};

			fan_cdev_2 {
				trip = <&fan_cpu16_config2>;
				cooling-device = <&fancontroller 2 3>;
			};

			fan_cdev_3 {
				trip = <&fan_cpu16_config3>;
				cooling-device = <&fancontroller 3 4>;
				cooling-device = <&fancontroller 3 3>;
			};
		};
	};
@@ -165,25 +154,19 @@
	cpu-1-7-step {
		trips {
			fan_cpu17_config0: fan-cpu17-config0 {
				temperature = <50000>;
				hysteresis = <0>;
				temperature = <80000>;
				hysteresis = <5000>;
				type = "passive";
			};

			fan_cpu17_config1: fan-cpu17-config1 {
				temperature = <65000>;
				hysteresis = <0>;
				temperature = <90000>;
				hysteresis = <5000>;
				type = "passive";
			};

			fan_cpu17_config2: fan-cpu17-config2 {
				temperature = <80000>;
				hysteresis = <0>;
				type = "passive";
			};

			fan_cpu17_config3: fan-cpu17-config3 {
				temperature = <90000>;
				temperature = <95000>;
				hysteresis = <0>;
				type = "passive";
			};
@@ -192,22 +175,17 @@
		cooling-maps {
			fan_cdev_0 {
				trip = <&fan_cpu17_config0>;
				cooling-device = <&fancontroller 0 1>;
				cooling-device = <&fancontroller 1 1>;
			};

			fan_cdev_1 {
				trip = <&fan_cpu17_config1>;
				cooling-device = <&fancontroller 1 2>;
				cooling-device = <&fancontroller 2 2>;
			};

			fan_cdev_2 {
				trip = <&fan_cpu17_config2>;
				cooling-device = <&fancontroller 2 3>;
			};

			fan_cdev_3 {
				trip = <&fan_cpu17_config3>;
				cooling-device = <&fancontroller 3 4>;
				cooling-device = <&fancontroller 3 3>;
			};
		};
	};
@@ -215,25 +193,19 @@
	gpuss-0-step {
		trips {
			fan_gpuss0_config0: fan-gpuss0-config0 {
				temperature = <50000>;
				hysteresis = <0>;
				temperature = <85000>;
				hysteresis = <5000>;
				type = "passive";
			};

			fan_gpuss0_config1: fan-gpuss0-config1 {
				temperature = <65000>;
				hysteresis = <0>;
				temperature = <90000>;
				hysteresis = <5000>;
				type = "passive";
			};

			fan_gpuss0_config2: fan-gpuss0-config2 {
				temperature = <80000>;
				hysteresis = <0>;
				type = "passive";
			};

			fan_gpuss0_config3: fan-gpuss0-config3 {
				temperature = <90000>;
				temperature = <95000>;
				hysteresis = <0>;
				type = "passive";
			};
@@ -242,22 +214,17 @@
		cooling-maps {
			fan_cdev_0 {
				trip = <&fan_gpuss0_config0>;
				cooling-device = <&fancontroller 0 1>;
				cooling-device = <&fancontroller 1 1>;
			};

			fan_cdev_1 {
				trip = <&fan_gpuss0_config1>;
				cooling-device = <&fancontroller 1 2>;
				cooling-device = <&fancontroller 2 2>;
			};

			fan_cdev_2 {
				trip = <&fan_gpuss0_config2>;
				cooling-device = <&fancontroller 2 3>;
			};

			fan_cdev_3 {
				trip = <&fan_gpuss0_config3>;
				cooling-device = <&fancontroller 3 4>;
				cooling-device = <&fancontroller 3 3>;
			};
		};
	};
@@ -265,25 +232,19 @@
	gpuss-1-step {
		trips {
			fan_gpuss1_config0: fan-gpuss1-config0 {
				temperature = <50000>;
				hysteresis = <0>;
				temperature = <85000>;
				hysteresis = <5000>;
				type = "passive";
			};

			fan_gpuss1_config1: fan-gpuss1-config1 {
				temperature = <65000>;
				hysteresis = <0>;
				temperature = <90000>;
				hysteresis = <5000>;
				type = "passive";
			};

			fan_gpuss1_config2: fan-gpuss1-config2 {
				temperature = <80000>;
				hysteresis = <0>;
				type = "passive";
			};

			fan_gpuss1_config3: fan-gpuss1-config3 {
				temperature = <90000>;
				temperature = <95000>;
				hysteresis = <0>;
				type = "passive";
			};
@@ -292,22 +253,17 @@
		cooling-maps {
			fan_cdev_0 {
				trip = <&fan_gpuss1_config0>;
				cooling-device = <&fancontroller 0 1>;
				cooling-device = <&fancontroller 1 1>;
			};

			fan_cdev_1 {
				trip = <&fan_gpuss1_config1>;
				cooling-device = <&fancontroller 1 2>;
				cooling-device = <&fancontroller 2 2>;
			};

			fan_cdev_2 {
				trip = <&fan_gpuss1_config2>;
				cooling-device = <&fancontroller 2 3>;
			};

			fan_cdev_3 {
				trip = <&fan_gpuss1_config3>;
				cooling-device = <&fancontroller 3 4>;
				cooling-device = <&fancontroller 3 3>;
			};
		};
	};