From: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>
To: Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>, Frank Li <frank.li@nxp.com>
Cc: devicetree@vger.kernel.org, imx@lists.linux.dev,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, Peng Fan <peng.fan@nxp.com>
Subject: [PATCH 2/4] arm64: dts: imx91: Add thermal zone node
Date: Fri, 12 Dec 2025 17:16:08 +0800 [thread overview]
Message-ID: <20251212-imx91-dts-v1-2-2bb3c13762dd@nxp.com> (raw)
In-Reply-To: <20251212-imx91-dts-v1-0-2bb3c13762dd@nxp.com>
From: Peng Fan <peng.fan@nxp.com>
Add thermal zone node
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
arch/arm64/boot/dts/freescale/imx91.dtsi | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx91.dtsi b/arch/arm64/boot/dts/freescale/imx91.dtsi
index c08db08ca9607b9780a77e215cdb5997e4daae4e..d8b5e188949f59b7452df54407d2126a5e1a54e7 100644
--- a/arch/arm64/boot/dts/freescale/imx91.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx91.dtsi
@@ -6,6 +6,37 @@
#include "imx91-pinfunc.h"
#include "imx91_93_common.dtsi"
+/{
+ thermal_zones: thermal-zones {
+ cpu-thermal {
+ polling-delay-passive = <250>;
+ polling-delay = <2000>;
+ thermal-sensors = <&tempsense0>;
+ trips {
+ cpu_alert0: trip0 {
+ temperature = <80000>;
+ hysteresis = <2000>;
+ type = "passive";
+ };
+
+ cpu_crit0: trip1 {
+ temperature = <90000>;
+ hysteresis = <2000>;
+ type = "critical";
+ };
+ };
+
+ cooling-maps {
+ map0 {
+ trip = <&cpu_alert0>;
+ cooling-device =
+ <&A55_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
+ };
+ };
+};
+
&aips1 {
tempsense0: thermal-sensor@44482000 {
compatible = "fsl,imx91-tmu";
--
2.37.1
next prev parent reply other threads:[~2025-12-12 9:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-12 9:16 [PATCH 0/4] arm64: dts: imx91: misc updates Peng Fan (OSS)
2025-12-12 9:16 ` [PATCH 1/4] arm64: dts: imx91: Add tempsensor node Peng Fan (OSS)
2025-12-12 16:43 ` Frank Li
2025-12-15 0:50 ` Peng Fan
2025-12-12 9:16 ` Peng Fan (OSS) [this message]
2025-12-12 9:16 ` [PATCH 3/4] arm64: dts: imx91: Update file name with dash Peng Fan (OSS)
2025-12-14 22:02 ` Francesco Valla
2025-12-12 9:16 ` [PATCH 4/4] arm64: dts: imx91-11x11-evk: Add gpio4 alias Peng Fan (OSS)
2025-12-12 14:39 ` [PATCH 0/4] arm64: dts: imx91: misc updates Rob Herring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251212-imx91-dts-v1-2-2bb3c13762dd@nxp.com \
--to=peng.fan@oss.nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=frank.li@nxp.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=peng.fan@nxp.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®