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>
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 v3 4/7] arm64: dts: imx95: add anamix temperature thermal zone and cooling node
Date: Sat, 12 Oct 2024 19:19:11 +0800 [thread overview]
Message-ID: <20241012-imx95-dts-new-v3-4-edfab0054c71@nxp.com> (raw)
In-Reply-To: <20241012-imx95-dts-new-v3-0-edfab0054c71@nxp.com>
From: Peng Fan <peng.fan@nxp.com>
i.MX95 has two on-chip temperature sensors, one is inside anamix block.
This is to add the anamix temperature thermal zone and its cooling
device.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
---
arch/arm64/boot/dts/freescale/imx95.dtsi | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/arch/arm64/boot/dts/freescale/imx95.dtsi b/arch/arm64/boot/dts/freescale/imx95.dtsi
index a96bf8e6a1a29f06741cdf5ac20e414ce71b5c03..ae8e09203ef431d8869fdce79df9f31a3e55971c 100644
--- a/arch/arm64/boot/dts/freescale/imx95.dtsi
+++ b/arch/arm64/boot/dts/freescale/imx95.dtsi
@@ -371,6 +371,38 @@ map0 {
};
};
};
+
+ ana-thermal {
+ polling-delay-passive = <250>;
+ polling-delay = <2000>;
+ thermal-sensors = <&scmi_sensor 0>;
+ trips {
+ ana_alert: trip0 {
+ temperature = <105000>;
+ hysteresis = <2000>;
+ type = "passive";
+ };
+
+ ana_crit0: trip1 {
+ temperature = <125000>;
+ hysteresis = <2000>;
+ type = "critical";
+ };
+ };
+
+ cooling-maps {
+ map0 {
+ trip = <&ana_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>;
+ };
+ };
+ };
};
psci {
--
2.37.1
next prev parent reply other threads:[~2024-10-12 11:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-12 11:19 [PATCH v3 0/7] arm64: dts: imx95: add various nodes Peng Fan (OSS)
2024-10-12 11:19 ` [PATCH v3 1/7] arm64: dts: imx95: set max-rx-timeout-ms Peng Fan (OSS)
2024-10-21 13:48 ` Alexander Stein
2024-10-12 11:19 ` [PATCH v3 2/7] arm64: dts: imx95: add bbm/misc/syspower scmi nodes Peng Fan (OSS)
2024-10-12 11:19 ` [PATCH v3 3/7] arm64: dts: imx95: update a55 thermal trip points Peng Fan (OSS)
2024-10-12 11:19 ` Peng Fan (OSS) [this message]
2024-10-12 11:19 ` [PATCH v3 5/7] arm64: dts: imx95: enable A55 cpuidle Peng Fan (OSS)
2024-10-12 11:19 ` [PATCH v3 6/7] arm64: dts: imx95-19x19-evk: add nxp,ctrl-ids property Peng Fan (OSS)
2024-10-12 11:19 ` [PATCH v3 7/7] arm64: dts: imx95-19x19-evk: add lpi2c[5,6] and sub-nodes Peng Fan (OSS)
2024-10-21 9:24 ` [PATCH v3 0/7] arm64: dts: imx95: add various nodes Peng Fan
2024-10-22 1:31 ` Shawn Guo
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=20241012-imx95-dts-new-v3-4-edfab0054c71@nxp.com \
--to=peng.fan@oss.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=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;
as well as URLs for NNTP newsgroup(s).