mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
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:
parent
653a9c02c2
commit
0a69759b11
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue