Commit 637cc974 authored by Matti Lehtimäki's avatar Matti Lehtimäki Committed by Bjorn Andersson
Browse files

ARM: dts: qcom: pm8941: Add thermal zone config

parent 84e72ea4
Loading
Loading
Loading
Loading
+31 −0
Original line number Diff line number Diff line
@@ -3,6 +3,37 @@
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/spmi/spmi.h>


/ {
	thermal-zones {
		pm8941-thermal {
			polling-delay-passive = <100>;
			polling-delay = <0>;
			thermal-sensors = <&pm8941_temp>;

			trips {
				trip0 {
					temperature = <105000>;
					hysteresis = <2000>;
					type = "passive";
				};

				trip1 {
					temperature = <125000>;
					hysteresis = <2000>;
					type = "hot";
				};

				crit {
					temperature = <145000>;
					hysteresis = <2000>;
					type = "critical";
				};
			};
		};
	};
};

&spmi_bus {

	pm8941_0: pm8941@0 {