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

Commit 68901f62 authored by Priyansh Jain's avatar Priyansh Jain
Browse files

ARM: dts: msm: update thermal config for sdxlemur

update thermal config for sdxlemux based on latest
recommendation.

Change-Id: Ia653ada0153fbcc55fdebe794693ddf03c2c563f
parent 98b681ca
Loading
Loading
Loading
Loading
+51 −168
Original line number Diff line number Diff line
@@ -23,86 +23,59 @@
		thermal-governor = "step_wise";
		thermal-sensors = <&tsens0 1>;
		trips {
			cpu_config: active-config0 {
			cpu_config0: active-config0 {
				temperature = <95000>;
				hysteresis = <0>;
				type = "passive";
			};
		};

		cooling-maps {
			cpu_cdev {
				trip = <&cpu_config>;
				cooling-device = <&CPU0 THERMAL_NO_LIMIT
							THERMAL_NO_LIMIT>;
			};
		};
	};

	mdmss-0-step {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "step_wise";
		thermal-sensors = <&tsens0 3>;
		trips {
			mdmss0_config0: mdmss0-config0 {
				temperature = <95000>;
				hysteresis = <5000>;
				hysteresis = <2000>;
				type = "passive";
			};

			mdmss0_config1: mdmss0-config1 {
				temperature = <100000>;
				hysteresis = <5000>;
			cpu_config1: active-config1 {
				temperature = <97000>;
				hysteresis = <3000>;
				type = "passive";
			};

			mdmss0_config2: mdmss0-config2 {
				temperature = <105000>;
				hysteresis = <5000>;
			cpu_config2: active-config2 {
				temperature = <99000>;
				hysteresis = <3000>;
				type = "passive";
			};
		};

		cooling-maps {
			lte_cdev0 {
				trip = <&mdmss0_config0>;
				cooling-device = <&modem_lte_dsc 7 7>;
			};

			nr_scg_cdev0 {
				trip = <&mdmss0_config0>;
				cooling-device = <&modem_nr_scg_dsc 2 2>;
			cpu_cdev0 {
				trip = <&cpu_config0>;
				cooling-device = <&CPU0 1 1>;
			};

			nr_cdev0 {
				trip = <&mdmss0_config0>;
				cooling-device = <&modem_nr_dsc 4 4>;
			cpu_cdev1 {
				trip = <&cpu_config1>;
				cooling-device = <&CPU0 2 2>;
			};

			lte_cdev1 {
				trip = <&mdmss0_config1>;
				cooling-device = <&modem_lte_dsc 8 8>;
			cpu_cdev2 {
				trip = <&cpu_config2>;
				cooling-device = <&CPU0 3 THERMAL_NO_LIMIT>;
			};

			nr_scg_cdev1 {
				trip = <&mdmss0_config1>;
				cooling-device = <&modem_nr_scg_dsc 10 10>;
		};

			nr_cdev1 {
				trip = <&mdmss0_config1>;
				cooling-device = <&modem_nr_dsc 6 6>;
	};

			lte_cdev2 {
				trip = <&mdmss0_config2>;
				cooling-device = <&modem_lte_dsc 255 255>;
	mdmss-0-step {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "step_wise";
		thermal-sensors = <&tsens0 3>;
		trips {
			mdmss0_config0: mdmss0-config0 {
				temperature = <111000>;
				hysteresis = <3000>;
				type = "passive";
			};

			nr_cdev2 {
				trip = <&mdmss0_config2>;
				cooling-device = <&modem_nr_dsc 255 255>;
			mdmss0_config1: mdmss0-config1 {
				temperature = <115000>;
				hysteresis = <2000>;
				type = "passive";
			};
		};
	};
@@ -114,20 +87,14 @@
		thermal-sensors = <&tsens0 4>;
		trips {
			mdmss1_config0: mdmss1-config0 {
				temperature = <95000>;
				hysteresis = <5000>;
				temperature = <111000>;
				hysteresis = <3000>;
				type = "passive";
			};

			mdmss1_config1: mdmss1-config1 {
				temperature = <100000>;
				hysteresis = <5000>;
				type = "passive";
			};

			mdmss1_config2: mdmss1-config2 {
				temperature = <105000>;
				hysteresis = <5000>;
				temperature = <115000>;
				hysteresis = <2000>;
				type = "passive";
			};
		};
@@ -135,41 +102,26 @@
		cooling-maps {
			lte_cdev0 {
				trip = <&mdmss1_config0>;
				cooling-device = <&modem_lte_dsc 7 7>;
				cooling-device = <&modem_lte_dsc 8 8>;
			};

			nr_scg_cdev0 {
				trip = <&mdmss1_config0>;
				cooling-device = <&modem_nr_scg_dsc 2 2>;
				cooling-device = <&modem_nr_scg_dsc 10 10>;
			};

			nr_cdev0 {
				trip = <&mdmss1_config0>;
				cooling-device = <&modem_nr_dsc 4 4>;
				cooling-device = <&modem_nr_dsc 6 6>;
			};

			lte_cdev1 {
				trip = <&mdmss1_config1>;
				cooling-device = <&modem_lte_dsc 8 8>;
			};

			nr_scg_cdev1 {
				trip = <&mdmss1_config1>;
				cooling-device = <&modem_nr_scg_dsc 10 10>;
				cooling-device = <&modem_lte_dsc 255 255>;
			};

			nr_cdev1 {
				trip = <&mdmss1_config1>;
				cooling-device = <&modem_nr_dsc 6 6>;
			};

			lte_cdev2 {
				trip = <&mdmss1_config2>;
				cooling-device = <&modem_lte_dsc 255 255>;
			};

			nr_cdev2 {
				trip = <&mdmss1_config2>;
				cooling-device = <&modem_nr_dsc 255 255>;
			};
		};
@@ -182,65 +134,17 @@
		thermal-sensors = <&tsens0 5>;
		trips {
			mdmss2_config0: mdmss2-config0 {
				temperature = <95000>;
				hysteresis = <5000>;
				temperature = <111000>;
				hysteresis = <3000>;
				type = "passive";
			};

			mdmss2_config1: mdmss2-config1 {
				temperature = <100000>;
				hysteresis = <5000>;
				type = "passive";
			};

			mdmss2_config2: mdmss2-config2 {
				temperature = <105000>;
				hysteresis = <5000>;
				temperature = <115000>;
				hysteresis = <2000>;
				type = "passive";
			};
		};

		cooling-maps {
			lte_cdev0 {
				trip = <&mdmss2_config0>;
				cooling-device = <&modem_lte_dsc 7 7>;
			};

			nr_scg_cdev0 {
				trip = <&mdmss2_config0>;
				cooling-device = <&modem_nr_scg_dsc 2 2>;
			};

			nr_cdev0 {
				trip = <&mdmss2_config0>;
				cooling-device = <&modem_nr_dsc 4 4>;
			};

			lte_cdev1 {
				trip = <&mdmss2_config1>;
				cooling-device = <&modem_lte_dsc 8 8>;
			};

			nr_scg_cdev1 {
				trip = <&mdmss2_config1>;
				cooling-device = <&modem_nr_scg_dsc 10 10>;
			};

			nr_cdev1 {
				trip = <&mdmss2_config1>;
				cooling-device = <&modem_nr_dsc 6 6>;
			};

			lte_cdev2 {
				trip = <&mdmss2_config2>;
				cooling-device = <&modem_lte_dsc 255 255>;
			};

			nr_cdev2 {
				trip = <&mdmss2_config2>;
				cooling-device = <&modem_nr_dsc 255 255>;
			};
		};
	};

	mdmss-3-step {
@@ -250,20 +154,14 @@
		thermal-sensors = <&tsens0 6>;
		trips {
			mdmss3_config0: mdmss3-config0 {
				temperature = <95000>;
				hysteresis = <5000>;
				temperature = <111000>;
				hysteresis = <3000>;
				type = "passive";
			};

			mdmss3_config1: mdmss3-config1 {
				temperature = <100000>;
				hysteresis = <5000>;
				type = "passive";
			};

			mdmss3_config2: mdmss3-config2 {
				temperature = <105000>;
				hysteresis = <5000>;
				temperature = <115000>;
				hysteresis = <2000>;
				type = "passive";
			};
		};
@@ -271,41 +169,26 @@
		cooling-maps {
			lte_cdev0 {
				trip = <&mdmss3_config0>;
				cooling-device = <&modem_lte_dsc 7 7>;
				cooling-device = <&modem_lte_dsc 8 8>;
			};

			nr_scg_cdev0 {
				trip = <&mdmss3_config0>;
				cooling-device = <&modem_nr_scg_dsc 2 2>;
				cooling-device = <&modem_nr_scg_dsc 10 10>;
			};

			nr_cdev0 {
				trip = <&mdmss3_config0>;
				cooling-device = <&modem_nr_dsc 4 4>;
				cooling-device = <&modem_nr_dsc 6 6>;
			};

			lte_cdev1 {
				trip = <&mdmss3_config1>;
				cooling-device = <&modem_lte_dsc 8 8>;
			};

			nr_scg_cdev1 {
				trip = <&mdmss3_config1>;
				cooling-device = <&modem_nr_scg_dsc 10 10>;
				cooling-device = <&modem_lte_dsc 255 255>;
			};

			nr_cdev1 {
				trip = <&mdmss3_config1>;
				cooling-device = <&modem_nr_dsc 6 6>;
			};

			lte_cdev2 {
				trip = <&mdmss3_config2>;
				cooling-device = <&modem_lte_dsc 255 255>;
			};

			nr_cdev2 {
				trip = <&mdmss3_config2>;
				cooling-device = <&modem_nr_dsc 255 255>;
			};
		};