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

Commit 6c90ff2e authored by Manaf Meethalavalappu Pallikunhi's avatar Manaf Meethalavalappu Pallikunhi Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: qcom: Add die temperature zone config for PM6350

Add thermal zone config rule for pmic alarm sensor
for PM6350. It monitors 3 levels alarm notifications
from PM6350 die sensor.

Change-Id: Iebb4ea3e418dccf79d85d22b5118456c5d5b3dcc
parent 7ce7964d
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
@@ -100,3 +100,33 @@
		};
	};
};

&thermal_zones {
	pm6350_tz {
		polling-delay-passive = <100>;
		polling-delay = <0>;
		thermal-governor = "step_wise";
		thermal-sensors = <&pm6350_tz>;
		wake-capable-sensor;

		trips {
			pm6350_trip0: trip0 {
				temperature = <95000>;
				hysteresis = <0>;
				type = "passive";
			};

			pm6350_trip1: trip1 {
				temperature = <115000>;
				hysteresis = <0>;
				type = "passive";
			};

			pm6350_trip2: trip2 {
				temperature = <145000>;
				hysteresis = <0>;
				type = "passive";
			};
		};
	};
};