From: Peng Fan <peng.fan@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 11/13] arm64: dts: imx95-19x19-evk: Add pf09 and pf53 thermal zones
Date: Fri, 15 Aug 2025 17:03:57 +0800 [thread overview]
Message-ID: <20250815-imx9-dts-v1-11-e609eb4e3105@nxp.com> (raw)
In-Reply-To: <20250815-imx9-dts-v1-0-e609eb4e3105@nxp.com>
System Manager supports reading out pf09 and pf53 temperature and
SCMI Agent could get the values through SCMI sensor protocol. So add
the nodes to allow Linux to get the temperature.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts | 73 +++++++++++++++++++++++
1 file changed, 73 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts
index c35a5083c837379804e07f98163c0a5d4301abd7..0ad5707314fb225b74d8940908b53dc2a444ed5d 100644
--- a/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts
+++ b/arch/arm64/boot/dts/freescale/imx95-19x19-evk.dts
@@ -1078,6 +1078,79 @@ map3 {
};
};
};
+
+ pf09-thermal {
+ polling-delay = <2000>;
+ polling-delay-passive = <250>;
+ thermal-sensors = <&scmi_sensor 2>;
+
+ trips {
+ pf09_alert: trip0 {
+ hysteresis = <2000>;
+ temperature = <140000>;
+ type = "passive";
+ };
+
+ pf09_crit: trip1 {
+ hysteresis = <2000>;
+ temperature = <155000>;
+ type = "critical";
+ };
+ };
+ };
+
+ pf53arm-thermal {
+ polling-delay = <2000>;
+ polling-delay-passive = <250>;
+ thermal-sensors = <&scmi_sensor 4>;
+
+ cooling-maps {
+ map0 {
+ trip = <&pf5301_alert>;
+ cooling-device =
+ <&A55_0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+ <&A55_1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+ <&A55_2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+ <&A55_3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+ <&A55_4 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+ <&A55_5 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
+ };
+
+ trips {
+ pf5301_alert: trip0 {
+ hysteresis = <2000>;
+ temperature = <140000>;
+ type = "passive";
+ };
+
+ pf5301_crit: trip1 {
+ hysteresis = <2000>;
+ temperature = <155000>;
+ type = "critical";
+ };
+ };
+ };
+
+ pf53soc-thermal {
+ polling-delay = <2000>;
+ polling-delay-passive = <250>;
+ thermal-sensors = <&scmi_sensor 3>;
+
+ trips {
+ pf5302_alert: trip0 {
+ hysteresis = <2000>;
+ temperature = <140000>;
+ type = "passive";
+ };
+
+ pf5302_crit: trip1 {
+ hysteresis = <2000>;
+ temperature = <155000>;
+ type = "critical";
+ };
+ };
+ };
};
&tpm6 {
--
2.37.1
next prev parent reply other threads:[~2025-08-15 9:05 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-15 9:03 [PATCH 00/13] arm64: dts: imx95: various updates Peng Fan
2025-08-15 9:03 ` [PATCH 01/13] arm64: dts: imx95: Correct the lpuart7 and lpuart8 srcid Peng Fan
2025-08-15 16:31 ` Frank Li
2025-08-15 9:03 ` [PATCH 02/13] arm64: dts: imx95: Add System Counter node Peng Fan
2025-08-15 16:32 ` Frank Li
2025-08-15 9:03 ` [PATCH 03/13] arm64: dts: imx95: Add LMM/CPU nodes Peng Fan
2025-08-15 16:33 ` Frank Li
2025-08-15 9:03 ` [PATCH 04/13] arm64: dts: imx95: Add more V2X MUs Peng Fan
2025-08-15 16:33 ` Frank Li
2025-08-15 9:03 ` [PATCH 05/13] arm64: dts: imx95: Add OCOTP node Peng Fan
2025-08-15 16:35 ` Frank Li
2025-08-15 9:03 ` [PATCH 06/13] arm64: dts: imx95: Add coresight nodes Peng Fan
2025-08-15 16:37 ` Frank Li
2025-08-15 9:03 ` [PATCH 07/13] arm64: dts: imx95-evk: Update alias Peng Fan
2025-08-15 16:38 ` Frank Li
2025-08-15 9:03 ` [PATCH 08/13] arm64: dts: imx95-19x19-evk: Add phy supply for netc Peng Fan
2025-08-15 16:39 ` Frank Li
2025-08-15 9:03 ` [PATCH 09/13] arm64: dts: imx95-19x19-evk: Add Tsettle delay in m2 regulator Peng Fan
2025-08-15 16:39 ` Frank Li
2025-08-15 9:03 ` [PATCH 10/13] arm64: dts: imx95-19x19-evk: Add pca9632 node Peng Fan
2025-08-15 16:41 ` Frank Li
2025-08-18 7:05 ` Maud Spierings
2025-08-15 9:03 ` Peng Fan [this message]
2025-08-15 16:44 ` [PATCH 11/13] arm64: dts: imx95-19x19-evk: Add pf09 and pf53 thermal zones Frank Li
2025-08-15 9:03 ` [PATCH 12/13] arm64: dts: imx95-19x19-evk: Add spidev0 Peng Fan
2025-08-15 16:46 ` Frank Li
2025-08-15 9:03 ` [PATCH 13/13] arm64: dts: imx95-15x15-evk: Change pinctrl settings for usdhc2 Peng Fan
2025-08-15 16:46 ` Frank Li
2025-08-15 21:19 ` [PATCH 00/13] arm64: dts: imx95: various updates Rob Herring (Arm)
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=20250815-imx9-dts-v1-11-e609eb4e3105@nxp.com \
--to=peng.fan@nxp.com \
--cc=Frank.Li@nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.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=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;
as well as URLs for NNTP newsgroup(s).