From be375a03c7952baf7bfce6032365de392762972f Mon Sep 17 00:00:00 2001 From: Manaf Meethalavalappu Pallikunhi Date: Thu, 28 Jan 2016 23:09:30 +0530 Subject: msm: thermal: Add support to monitor only one tsens for MX restriction Currently VDD MX restriction feature monitors all tsens for low temperature condition. Some targets which has higher MX restriction thresholds shows frequent interrupts from multiple sensors causing power impact. Add support to monitor only one sensor for VDD MX restriction feature. Add an optional device tree property "qcom,mx-restriction-sensor_id" to specify sensor id for monitor. If not defined, monitor all tsens for VDD MX restriction. Change-Id: Ib709b00c27f43c2603ac8a08b75f2fbd5800983b Signed-off-by: Manaf Meethalavalappu Pallikunhi --- include/linux/msm_thermal.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/linux') diff --git a/include/linux/msm_thermal.h b/include/linux/msm_thermal.h index 52331a5897f2..f3ec960536aa 100644 --- a/include/linux/msm_thermal.h +++ b/include/linux/msm_thermal.h @@ -74,6 +74,7 @@ struct msm_thermal_data { int32_t cx_phase_request_key; int32_t vdd_mx_temp_degC; int32_t vdd_mx_temp_hyst_degC; + int32_t vdd_mx_sensor_id; int32_t therm_reset_temp_degC; }; -- cgit v1.2.3