From 0a69759b1167c07b2bdf249ea2d8b0b233ca209a Mon Sep 17 00:00:00 2001 From: Gopala Krishna Nuthaki Date: Mon, 14 Sep 2020 14:23:15 +0530 Subject: [PATCH] drivers: thermal: qmi_sensors: Add MSM_SKIN_THERM qmi sensors Add modem QPM sensors to QPM qmi sensors list. It enables these qmi sensors to expose as thermal zones and apps can able to monitor and mitigate for these sensors. Change-Id: I2c5d4eb3655b9fa193a4ee052a40c1d7d1603bf7 Signed-off-by: Gopala Krishna Nuthaki --- drivers/thermal/qcom/qmi_sensors.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/thermal/qcom/qmi_sensors.c b/drivers/thermal/qcom/qmi_sensors.c index cb9407cd153b..2e549451736d 100644 --- a/drivers/thermal/qcom/qmi_sensors.c +++ b/drivers/thermal/qcom/qmi_sensors.c @@ -60,6 +60,7 @@ enum qmi_ts_sensor { QMI_TS_MMW_PA2, QMI_TS_MMW_PA3, QMI_TS_SDR_MMW, + QMI_TS_MSM_SKIN, QMI_TS_MAX_NR }; @@ -121,6 +122,7 @@ static char sensor_clients[QMI_TS_MAX_NR][QMI_CLIENT_NAME_LENGTH] = { {"mmw_pa2"}, {"mmw_pa3"}, {"sdr_mmw_therm"}, + {"msm_skin_therm"}, }; static int32_t encode_qmi(int32_t val)