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

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

Merge "ARM: dts: msm: Enable modem pa sensor config only for YUPIK QRD"

parents 070a1fa9 372f47f7
Loading
Loading
Loading
Loading
+88 −0
Original line number Diff line number Diff line
@@ -265,6 +265,94 @@
		};
	};

	modem-sub6-pa1-step {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "step_wise";
		thermal-sensors = <&qmi_sensor
				(QMI_MODEM_INST_ID+QMI_PA)>;
		trips {
			sub6_pa1_trip0: sub6-pa1-trip0 {
				temperature = <43000>;
				hysteresis = <4000>;
				type = "passive";
			};

			sub6_pa1_trip1: sub6-pa1-trip1 {
				temperature = <45000>;
				hysteresis = <4000>;
				type = "passive";
			};

			sub6_pa1_trip2: sub6-pa1-trip2 {
				temperature = <55000>;
				hysteresis = <5000>;
				type = "passive";
			};
		};

		cooling-maps {
			pa_fr1_cdev0 {
				trip = <&sub6_pa1_trip0>;
				cooling-device = <&modem_pa_fr1 1 1>;
			};

			pa_fr1_cdev1 {
				trip = <&sub6_pa1_trip1>;
				cooling-device = <&modem_pa_fr1 2 2>;
			};

			pa_fr1_cdev2 {
				trip = <&sub6_pa1_trip2>;
				cooling-device = <&modem_pa_fr1 3 3>;
			};
		};
	};

	modem-lte-pa2-step {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "step_wise";
		thermal-sensors = <&qmi_sensor
				(QMI_MODEM_INST_ID+QMI_PA_1)>;
		trips {
			sub6_pa2_trip0: sub6-pa2-trip0 {
				temperature = <42000>;
				hysteresis = <4000>;
				type = "passive";
			};

			sub6_pa2_trip1: sub6-pa2-trip1 {
				temperature = <44000>;
				hysteresis = <4000>;
				type = "passive";
			};

			sub6_pa2_trip2: sub6-pa2-trip2 {
				temperature = <55000>;
				hysteresis = <5000>;
				type = "passive";
			};
		};

		cooling-maps {
			pa_cdev0 {
				trip = <&sub6_pa2_trip0>;
				cooling-device = <&modem_pa 1 1>;
			};

			pa_cdev1 {
				trip = <&sub6_pa2_trip1>;
				cooling-device = <&modem_pa 2 2>;
			};

			pa_cdev2 {
				trip = <&sub6_pa2_trip2>;
				cooling-device = <&modem_pa 3 3>;
			};
		};
	};

	quiet-therm-step {
		polling-delay-passive = <2000>;
		polling-delay = <0>;
+0 −88
Original line number Diff line number Diff line
@@ -263,94 +263,6 @@
		};
	};

	modem-sub6-pa1-step {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "step_wise";
		thermal-sensors = <&qmi_sensor
				(QMI_MODEM_INST_ID+QMI_PA)>;
		trips {
			sub6_pa1_trip0: sub6-pa1-trip0 {
				temperature = <43000>;
				hysteresis = <4000>;
				type = "passive";
			};

			sub6_pa1_trip1: sub6-pa1-trip1 {
				temperature = <45000>;
				hysteresis = <4000>;
				type = "passive";
			};

			sub6_pa1_trip2: sub6-pa1-trip2 {
				temperature = <55000>;
				hysteresis = <5000>;
				type = "passive";
			};
		};

		cooling-maps {
			pa_fr1_cdev0 {
				trip = <&sub6_pa1_trip0>;
				cooling-device = <&modem_pa_fr1 1 1>;
			};

			pa_fr1_cdev1 {
				trip = <&sub6_pa1_trip1>;
				cooling-device = <&modem_pa_fr1 2 2>;
			};

			pa_fr1_cdev2 {
				trip = <&sub6_pa1_trip2>;
				cooling-device = <&modem_pa_fr1 3 3>;
			};
		};
	};

	modem-lte-pa2-step {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "step_wise";
		thermal-sensors = <&qmi_sensor
				(QMI_MODEM_INST_ID+QMI_PA_1)>;
		trips {
			sub6_pa2_trip0: sub6-pa2-trip0 {
				temperature = <42000>;
				hysteresis = <4000>;
				type = "passive";
			};

			sub6_pa2_trip1: sub6-pa2-trip1 {
				temperature = <44000>;
				hysteresis = <4000>;
				type = "passive";
			};

			sub6_pa2_trip2: sub6-pa2-trip2 {
				temperature = <55000>;
				hysteresis = <5000>;
				type = "passive";
			};
		};

		cooling-maps {
			pa_cdev0 {
				trip = <&sub6_pa2_trip0>;
				cooling-device = <&modem_pa 1 1>;
			};

			pa_cdev1 {
				trip = <&sub6_pa2_trip1>;
				cooling-device = <&modem_pa 2 2>;
			};

			pa_cdev2 {
				trip = <&sub6_pa2_trip2>;
				cooling-device = <&modem_pa 3 3>;
			};
		};
	};

	cpu-0-0-step {
		polling-delay-passive = <0>;
		polling-delay = <0>;