From: Shawn Guo <shawnguo2@yeah.net>
To: "Peng Fan (OSS)" <peng.fan@oss.nxp.com>
Cc: 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>,
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: Re: [PATCH v2 4/7] arm64: dts: freescale: imx95: add anamix temperature thermal zone and cooling node
Date: Tue, 8 Oct 2024 20:56:38 +0800 [thread overview]
Message-ID: <ZwUsBuvojW15l5Kz@dragon> (raw)
In-Reply-To: <20240903-imx95-dts-new-v2-4-8ed795d61358@nxp.com>
On Tue, Sep 03, 2024 at 03:17:49PM +0800, Peng Fan (OSS) wrote:
> 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 2cba7a889030..d031b9548aaf 100644
> --- a/arch/arm64/boot/dts/freescale/imx95.dtsi
> +++ b/arch/arm64/boot/dts/freescale/imx95.dtsi
> @@ -372,6 +372,38 @@ map0 {
> };
> };
> };
> +
> + ana-thermal {
> + polling-delay-passive = <250>;
> + polling-delay = <2000>;
> + thermal-sensors = <&scmi_sensor 0>;
Have a newline between property list and child node.
Shawn
> + 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-08 12:56 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-03 7:17 [PATCH v2 0/7] arm64: dts: freescale: imx95: add various nodes Peng Fan (OSS)
2024-09-03 7:17 ` [PATCH v2 1/7] arm64: dts: freescale: imx95: set max-rx-timeout-ms Peng Fan (OSS)
2024-10-08 12:51 ` Shawn Guo
2024-10-10 10:31 ` Peng Fan
2024-09-03 7:17 ` [PATCH v2 2/7] arm64: dts: freescale: imx95: add bbm/misc/syspower scmi nodes Peng Fan (OSS)
2024-09-05 12:18 ` Alexander Stein
2024-09-03 7:17 ` [PATCH v2 3/7] arm64: dts: freescale: imx95: update a55 thermal trip points Peng Fan (OSS)
2024-09-05 12:24 ` Alexander Stein
2024-09-06 8:19 ` Peng Fan
2024-09-03 7:17 ` [PATCH v2 4/7] arm64: dts: freescale: imx95: add anamix temperature thermal zone and cooling node Peng Fan (OSS)
2024-10-08 12:56 ` Shawn Guo [this message]
2024-09-03 7:17 ` [PATCH v2 5/7] arm64: dts: freescale: imx95: enable A55 cpuidle Peng Fan (OSS)
2024-09-03 7:17 ` [PATCH v2 6/7] arm64: dts: freescale: imx95-19x19-evk: add nxp,ctrl-ids property Peng Fan (OSS)
2024-10-08 13:01 ` Shawn Guo
2024-10-10 10:32 ` Peng Fan
2024-09-03 7:17 ` [PATCH v2 7/7] arm64: dts: freescale: imx95-19x19-evk: add lpi2c[5,6] and sub-nodes Peng Fan (OSS)
2024-09-05 12:26 ` [PATCH v2 7/7] arm64: dts: freescale: imx95-19x19-evk: add lpi2c[5, 6] " Alexander Stein
2024-09-06 8:17 ` Peng Fan
2024-09-30 9:16 ` [PATCH v2 0/7] arm64: dts: freescale: imx95: add various nodes Peng Fan
2024-10-08 12:55 ` 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=ZwUsBuvojW15l5Kz@dragon \
--to=shawnguo2@yeah.net \
--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=peng.fan@oss.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 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.