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

Commit 7ceb77ce authored by Ram Chandrasekar's avatar Ram Chandrasekar Committed by Gerrit - the friendly Code Review server
Browse files

drivers: thermal: qmi_cooling: Add support for more devices



Newer modem's are supporting more cooling devices. Enable these new
cooling devices for thermal framework.

Change-Id: I8b3d98bca6fe05335275880557fdf561d6cc54ce
Signed-off-by: default avatarRam Chandrasekar <rkumbako@codeaurora.org>
parent 254a1fda
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -40,6 +40,16 @@ Subsystem properties:
			"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,
			"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,
			"cpr_cold" -> for cpr restriction.

	-#cooling-cells:
+36 −0
Original line number Diff line number Diff line
@@ -81,6 +81,42 @@ static struct qmi_dev_info device_clients[] = {
		.dev_name = "modem_bw",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
	},
	{
		.dev_name = "vbatt_low",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
	},
	{
		.dev_name = "mmw0",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
	},
	{
		.dev_name = "mmw1",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
	},
	{
		.dev_name = "mmw2",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
	},
	{
		.dev_name = "mmw3",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
	},
	{
		.dev_name = "modem_skin0",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
	},
	{
		.dev_name = "modem_skin1",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
	},
	{
		.dev_name = "modem_skin2",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
	},
	{
		.dev_name = "modem_skin3",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
	},
	{
		.dev_name = "cpuv_restriction_cold",
		.type = QMI_CDEV_MIN_LIMIT_TYPE,