Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a69759b authored by Gopala Krishna Nuthaki's avatar Gopala Krishna Nuthaki Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarGopala Krishna Nuthaki <gnuthaki@codeaurora.org>
parent 653a9c02
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)