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

Commit a0b57bda authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

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

parents f5b2f023 37ffa2c0
Loading
Loading
Loading
Loading
+32 −76
Original line number Diff line number Diff line
@@ -120,25 +120,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";
			};
@@ -147,22 +141,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>;
			};
		};
	};
@@ -170,25 +159,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";
			};
@@ -197,22 +180,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>;
			};
		};
	};
@@ -220,25 +198,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";
			};
@@ -247,22 +219,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>;
			};
		};
	};
@@ -270,25 +237,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";
			};
@@ -297,22 +258,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>;
			};
		};
	};