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

Commit cd46ff3e authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drivers: thermal: Add support for CDSP cooling devices via qmi cdev"

parents 1381559f fb740cee
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
@@ -50,7 +50,9 @@ Subsystem properties:
			"modem_skin1" -> Modem skin mitigation device1,
			"modem_skin2" -> Modem skin mitigation device2,
			"modem_skin3" -> Modem skin mitigation device3,
			"cpr_cold" -> for cpr restriction.
			"cpr_cold" -> for cpr restriction,
			"cdsp_sw" -> for CDSP DCVS mitigation device,
			"cdsp_hw" -> for CDSP hardware mitigation device.

	-#cooling-cells:
		Usage: required
@@ -109,6 +111,16 @@ Example:
				qcom,qmi-dev-name = "cpuv_restriction_cold";
				#cooling-cells = <2>;
			};

			cdsp_sw: cdsp {
				qcom,qmi-dev-name = "cdsp_sw";
				#cooling-cells = <2>;
			};

			cdsp_hw: hvx {
				qcom,qmi-dev-name = "cdsp_hw";
				#cooling-cells = <2>;
			};
		};

		slpi {
+9 −1
Original line number Diff line number Diff line
/* Copyright (c) 2017-2018, The Linux Foundation. All rights reserved.
/* Copyright (c) 2017-2019, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -125,6 +125,14 @@ static struct qmi_dev_info device_clients[] = {
		.dev_name = "modem_skin3",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
	},
	{
		.dev_name = "cdsp_sw",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
	},
	{
		.dev_name = "cdsp_hw",
		.type = QMI_CDEV_MAX_LIMIT_TYPE,
	},
	{
		.dev_name = "cpuv_restriction_cold",
		.type = QMI_CDEV_MIN_LIMIT_TYPE,