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

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

Merge "ARM: dts: qcom: Enable CX IPeak cooling device for LAGOON"

parents 00b30143 1b89ce4e
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -304,6 +304,13 @@
				<RPMH_REGULATOR_LEVEL_MAX>;
		};

		cx_cdev: regulator-cdev {
			compatible = "qcom,rpmh-reg-cdev";
			mboxes = <&qmp_aop 0>;
			qcom,reg-resource-name = "cx";
			#cooling-cells = <2>;
		};

		VDD_MSS_LEVEL:
		S6E_LEVEL:
		pm6150a_s6_level: regulator-pm6150a-s6-level {
+20 −0
Original line number Diff line number Diff line
@@ -94,6 +94,15 @@
			};
		};
	};

	cxip_cdev: cxip-cdev@1fed000 {
		compatible = "qcom,cxip-lm-cooling-device";
		reg = <0x1fed000 0x10060>;
		qcom,thermal-client-offset = <0x8000>;
		qcom,bypass-client-list = <0xe00c 0xf00c 0x1000c 0x1001c
					0x1002c 0x1003c 0x1004c 0x1005c>;
		#cooling-cells = <2>;
	};
};

&thermal_zones {
@@ -913,6 +922,12 @@
		thermal-governor = "step_wise";
		wake-capable-sensor;
		trips {
			cxip_trip: cxip-trip {
				temperature = <95000>;
				hysteresis = <20000>;
				type = "passive";
			};

			q6_hvx_trip0: q6-hvx-trip0 {
				temperature = <95000>;
				hysteresis = <0>;
@@ -927,6 +942,11 @@
		};

		cooling-maps {
			cxip-cdev {
				trip = <&cxip_trip>;
				cooling-device = <&cxip_cdev 1 1>;
			};

			cdsp-cdev0 {
				trip = <&q6_hvx_trip0>;
				cooling-device = <&cdsp_sw THERMAL_NO_LIMIT