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

Commit ee21b89e authored by Gopala Krishna Nuthaki's avatar Gopala Krishna Nuthaki Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: qcom: Add skin thermal zone mitigation for SCUBA

Add quiet-therm skin thermal zone mitigation rule with
5sec polling period and gpu,cpufreq as cooling devcies
based on latest recomondations.

Change-Id: I6dab1c249cef7f7ba95dddc5c88f85eb5fb589be
parent 5a298b18
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
@@ -133,6 +133,47 @@
	status = "ok";
};

&thermal_zones {
	quiet-therm-usr {
		polling-delay = <5000>;
	};

	quiet-therm-step {
		polling-delay-passive = <2000>;
		polling-delay = <5000>;
		thermal-governor = "step_wise";
		thermal-sensors = <&pm2250_adc_tm_iio ADC_AMUX_THM2_PU2>;
		wake-capable-sensor;
		trips {
			quiet_gpu_trip: quiet-gpu-trip {
				temperature = <43000>;
				hysteresis = <0>;
				type = "passive";
			};

			quiet_cpu0_trip: quiet-cpu0-trip {
				temperature = <41000>;
				hysteresis = <0>;
				type = "passive";
			};
		};

		cooling-maps {
			gpu-cdev {
				trip = <&quiet_gpu_trip>;
				cooling-device = <&msm_gpu THERMAL_NO_LIMIT
							(THERMAL_MAX_LIMIT - 3)>;
			};

			cpu0-cdev {
				trip = <&quiet_cpu0_trip>;
				cooling-device = <&CPU0 THERMAL_NO_LIMIT
							(THERMAL_MAX_LIMIT - 5)>;
			};
		};
	};
};

&dsi_nt36525_truly_video {
	qcom,panel-supply-entries = <&dsi_panel_pwr_supply_no_labibb>;
	qcom,mdss-dsi-bl-pmic-control-type = "bl_ctrl_pwm";