All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] arm: dts: imx8m{m,p}-verdin: use IT temperatures
@ 2022-06-22 15:43 Philippe Schenker
  2022-06-22 16:26 ` Tom Rini
  0 siblings, 1 reply; 3+ messages in thread
From: Philippe Schenker @ 2022-06-22 15:43 UTC (permalink / raw)
  To: u-boot, sbabic
  Cc: Philippe Schenker, Francesco Dolcini, Fabio Estevam,
	Marcel Ziswiler, NXP i.MX U-Boot Team, Tom Rini

From: Philippe Schenker <philippe.schenker@toradex.com>

Use IT temperature threshold for critical/passive trip point
on Verdin iMX8M Plus and Mini.

Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
Reviewed-by: Francesco Dolcini <francesco.dolcini@toradex.com>

---

 arch/arm/dts/imx8mm-verdin.dts | 8 ++++++++
 arch/arm/dts/imx8mp-verdin.dts | 8 ++++++++
 2 files changed, 16 insertions(+)

diff --git a/arch/arm/dts/imx8mm-verdin.dts b/arch/arm/dts/imx8mm-verdin.dts
index a2331627d7..bc6f0bfec8 100644
--- a/arch/arm/dts/imx8mm-verdin.dts
+++ b/arch/arm/dts/imx8mm-verdin.dts
@@ -101,6 +101,14 @@
 	assigned-clock-rates = <786432000>, <722534400>;
 };
 
+&cpu_alert0 {
+	temperature = <95000>;
+};
+
+&cpu_crit0 {
+	temperature = <105000>;
+};
+
 /* Verdin SPI_1 */
 &ecspi2 {
 	#address-cells = <1>;
diff --git a/arch/arm/dts/imx8mp-verdin.dts b/arch/arm/dts/imx8mp-verdin.dts
index bc8bf4dad5..b9c6b924e4 100644
--- a/arch/arm/dts/imx8mp-verdin.dts
+++ b/arch/arm/dts/imx8mp-verdin.dts
@@ -52,6 +52,14 @@
 	};
 };
 
+&cpu_alert0 {
+	temperature = <95000>;
+};
+
+&cpu_crit0 {
+	temperature = <105000>;
+};
+
 &eqos {
 	phy-handle = <&ethphy0>;
 	phy-mode = "rgmii-id";
-- 
2.36.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-22 16:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-22 15:43 [PATCH] arm: dts: imx8m{m,p}-verdin: use IT temperatures Philippe Schenker
2022-06-22 16:26 ` Tom Rini
2022-06-22 16:54   ` Philippe Schenker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.