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

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

Merge "ARM: dts: msm: Enable CX IPeak cdev and thermal zone for TRINKET"

parents 4c6a127c d63f6266
Loading
Loading
Loading
Loading
+28 −0
Original line number Diff line number Diff line
@@ -77,6 +77,14 @@
			};
		};
	};

	cxip_cdev: cxip-cdev@3ed000 {
		compatible = "qcom,cxip-lm-cooling-device";
		reg = <0x3ed000 0xa008>;
		qcom,thermal-client-offset = <0x9000>;
		qcom,bypass-client-list = <0xa004>;
		#cooling-cells = <2>;
	};
};

&thermal_zones {
@@ -1549,4 +1557,24 @@
			};
		};
	};

	cdsp-step {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-sensors = <&tsens0 1>;
		thermal-governor = "step_wise";
		trips {
			cdsp_config: cdsp-config {
				temperature = <95000>;
				hysteresis = <20000>;
				type = "passive";
			};
		};
		cooling-maps {
			cxip-cdev {
				trip = <&cdsp_config>;
				cooling-device = <&cxip_cdev 1 1>;
			};
		};
	};
};