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 <gnuthaki@codeaurora.org>
This commit is contained in:
Gopala Krishna Nuthaki 2020-09-14 14:23:15 +05:30 • committed by Gerrit - the friendly Code Review server
commit 0a69759b11

View file

@ -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)