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

Commit 689a8b1f authored by Manaf Meethalavalappu Pallikunhi's avatar Manaf Meethalavalappu Pallikunhi
Browse files

ARM: dts: msm: Add die temperature zone config for PM6150 and PM6150L



Add thermal zone config rules and mitigation config like battery
charging and CPU for PM6150 and PM6150L die temperature alarms
respectively.

Change-Id: I43c691da08007a01dc6eedd7a514529ac7e32bd6
Signed-off-by: default avatarManaf Meethalavalappu Pallikunhi <manafm@codeaurora.org>
parent c2fb5cb7
Loading
Loading
Loading
Loading
+26 −0
Original line number Diff line number Diff line
@@ -279,3 +279,29 @@
	};
};

&thermal_zones {
	pm6150_temp_alarm: pm6150-tz {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "step_wise";
		thermal-sensors = <&pm6150_tz>;

		trips {
			pm6150_trip0: trip0 {
				temperature = <95000>;
				hysteresis = <0>;
				type = "passive";
			};
			pm6150_trip1: trip1 {
				temperature = <115000>;
				hysteresis = <0>;
				type = "passive";
			};
			trip2 {
				temperature = <145000>;
				hysteresis = <0>;
				type = "passive";
			};
		};
	};
};
+27 −0
Original line number Diff line number Diff line
@@ -265,3 +265,30 @@
		};
	};
};

&thermal_zones {
	pm6150l_temp_alarm: pm6150l-tz {
		polling-delay-passive = <0>;
		polling-delay = <0>;
		thermal-governor = "step_wise";
		thermal-sensors = <&pm6150l_tz>;

		trips {
			pm6150l_trip0: trip0 {
				temperature = <95000>;
				hysteresis = <0>;
				type = "passive";
			};
			pm6150l_trip1: trip1 {
				temperature = <115000>;
				hysteresis = <0>;
				type = "passive";
			};
			trip2 {
				temperature = <145000>;
				hysteresis = <0>;
				type = "passive";
			};
		};
	};
};
+2 −0
Original line number Diff line number Diff line
@@ -10,6 +10,8 @@
 * GNU General Public License for more details.
 */

#include "sm6150-thermal-overlay.dtsi"

&soc {
};

+2 −0
Original line number Diff line number Diff line
@@ -10,6 +10,8 @@
 * GNU General Public License for more details.
 */

#include "sm6150-thermal-overlay.dtsi"

&soc {
};

+2 −0
Original line number Diff line number Diff line
@@ -10,5 +10,7 @@
 * GNU General Public License for more details.
 */

#include "sm6150-thermal-overlay.dtsi"

&soc {
};
Loading