summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>2016-01-28 23:09:30 +0530
committerKyle Yan <kyan@codeaurora.org>2016-07-05 15:33:53 -0700
commitbe375a03c7952baf7bfce6032365de392762972f (patch)
tree94d1a015d3b8ab034530532347db6253773f7b29 /include
parent86eb5bd26d8b18e4e98fee497828933a53ce48dd (diff)
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 <manafm@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/msm_thermal.h1
1 files changed, 1 insertions, 0 deletions
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;
};