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

Commit 3187dbfc authored by Ram Chandrasekar's avatar Ram Chandrasekar Committed by Manaf Meethalavalappu Pallikunhi
Browse files

drivers: thermal: qmi_cdev: update the cooling devices



Add support for an additional pa and charge state mitigation devices.
Also rename the modem_skin# to mmw_skin# mitigation devices.

Change-Id: I1ea5889dbfdfaff77d3d0c9bbdbcbfc3b744501c
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
parent 6e902980
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -35,21 +35,23 @@ Subsystem properties:
		Definition: Remote subsystem device identifier. Below strings
			are the only acceptable device names,
			"pa" -> for pa cooling device,
			"pa_fr1" -> for pa cooling device,
			"cpuv_restriction_cold" -> for vdd restriction,
			"cx_vdd_limit" -> for vdd limit,
			"modem" -> for processor passive cooling device,
			"modem_current" -> for current limiting device,
			"modem_bw" ->  for bus bandwidth limiting device,
			"vbatt_low" -> BCL vbat mitigation device,
			"charge_state" -> Charge state mitigation device,
			"mmw0" -> Millimeter wave limiting device 0,
			"mmw1" -> Millimeter wave limiting device 1,
			"mmw2" -> Millimeter wave limiting device 2,
			"mmw3" -> Millimeter wave limiting device 3,
			"modem_skin" -> Modem skin mitigation device,
			"modem_skin0" -> Modem skin mitigation device0,
			"modem_skin1" -> Modem skin mitigation device1,
			"modem_skin2" -> Modem skin mitigation device2,
			"modem_skin3" -> Modem skin mitigation device3,
			"mmw_skin0" -> MMW skin mitigation device0,
			"mmw_skin1" -> MMW skin mitigation device1,
			"mmw_skin2" -> MMW skin mitigation device2,
			"mmw_skin3" -> MMW skin mitigation device3,
			"cpr_cold" -> for cpr restriction,
			"cdsp_sw" -> for CDSP DCVS mitigation device,
			"cdsp_hw" -> for CDSP hardware mitigation device.
+12 −4
Original line number Diff line number Diff line
@@ -69,6 +69,10 @@ static struct qmi_dev_info device_clients[] = {
		.dev_name = "pa",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
	},
	{
		.dev_name = "pa_fr1",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
	},
	{
		.dev_name = "cx_vdd_limit",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
@@ -93,6 +97,10 @@ static struct qmi_dev_info device_clients[] = {
		.dev_name = "vbatt_low",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
	},
	{
		.dev_name = "charge_state",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
	},
	{
		.dev_name = "mmw0",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
@@ -110,19 +118,19 @@ static struct qmi_dev_info device_clients[] = {
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
	},
	{
		.dev_name = "modem_skin0",
		.dev_name = "mmw_skin0",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
	},
	{
		.dev_name = "modem_skin1",
		.dev_name = "mmw_skin1",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
	},
	{
		.dev_name = "modem_skin2",
		.dev_name = "mmw_skin2",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
	},
	{
		.dev_name = "modem_skin3",
		.dev_name = "mmw_skin3",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
	},
	{