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

Commit 285fd081 authored by Sagar Chormale's avatar Sagar Chormale Committed by Sivasri Kumar Vanka
Browse files

ARM: dts: msm: Add QMI cooling devices for MDM9607



Add remote QMI cooling devices like modem_pa, modem_proc,
modem_cx and vdd restriction for modem subsystem for MDM9607.

Change-Id: Id275e22f10aab9f90789c601c8cea31866afb013
Signed-off-by: default avatarSivasri Kumar Vanka <sivasri@codeaurora.org>
parent e0783095
Loading
Loading
Loading
Loading
+31 −1
Original line number Diff line number Diff line
/*
 *Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
 *Copyright (c) 2018-2020, 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
@@ -12,6 +12,36 @@
 */
#include <dt-bindings/thermal/thermal.h>

&soc {
	qmi-tmd-devices {
		compatible = "qcom,qmi-cooling-devices";

		modem {
			qcom,instance-id = <0x0>;

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

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

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

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

&thermal_zones {
	nav-usr {
		polling-delay-passive = <0>;