From: Thierry Reding <thierry.reding@kernel.org>
To: Thierry Reding <thierry.reding@kernel.org>
Cc: Thierry Reding <treding@nvidia.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Jonathan Hunter <jonathanh@nvidia.com>,
devicetree@vger.kernel.org, linux-tegra@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: [PATCH v2 3/3] arm64: tegra: Add cooling device on Jetson AGX Thor DevKit
Date: Fri, 28 Aug 2026 13:51:39 +0200 [thread overview]
Message-ID: <20260828-tegra264-fan-v2-3-a460389d8ef5@nvidia.com> (raw)
In-Reply-To: <20260828-tegra264-fan-v2-0-a460389d8ef5@nvidia.com>
From: Thierry Reding <treding@nvidia.com>
Monitor the TJ thermal zone and use the main PWM fan of the Jetson AGX
Thor Developer Kit to actively cool the device if needed.
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
arch/arm64/boot/dts/nvidia/tegra264-p3834.dtsi | 32 +++++++++++++
.../boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi | 52 ++++++++++++++++++++++
2 files changed, 84 insertions(+)
diff --git a/arch/arm64/boot/dts/nvidia/tegra264-p3834.dtsi b/arch/arm64/boot/dts/nvidia/tegra264-p3834.dtsi
index 58cd81bc33d7..d4c9f45e03c1 100644
--- a/arch/arm64/boot/dts/nvidia/tegra264-p3834.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra264-p3834.dtsi
@@ -39,4 +39,36 @@ cmdqv@6200000 {
status = "okay";
};
};
+
+ thermal-zones {
+ cpu-thermal {
+ polling-delay-passive = <40>;
+ polling-delay = <1000>;
+ status = "okay";
+ };
+
+ gpu-thermal {
+ polling-delay-passive = <40>;
+ polling-delay = <1000>;
+ status = "okay";
+ };
+
+ soc012-thermal {
+ polling-delay-passive = <40>;
+ polling-delay = <1000>;
+ status = "okay";
+ };
+
+ soc345-thermal {
+ polling-delay-passive = <40>;
+ polling-delay = <1000>;
+ status = "okay";
+ };
+
+ tj-thermal {
+ polling-delay-passive = <40>;
+ polling-delay = <1000>;
+ status = "okay";
+ };
+ };
};
diff --git a/arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi b/arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi
index 4550e843f513..dd042e57839a 100644
--- a/arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi
@@ -22,4 +22,56 @@ fan: pwm-fan {
pwms = <&pwm4 0 40000>;
#cooling-cells = <2>;
};
+
+ thermal-zones {
+ tj-thermal {
+ trips {
+ tj_trip_active0: active-0 {
+ temperature = <80000>;
+ hysteresis = <0>;
+ type = "active";
+ };
+
+ tj_trip_active1: active-1 {
+ temperature = <86000>;
+ hysteresis = <0>;
+ type = "active";
+ };
+
+ tj_trip_active2: active-2 {
+ temperature = <91000>;
+ hysteresis = <0>;
+ type = "active";
+ };
+
+ tj_trip_active3: active-3 {
+ temperature = <100000>;
+ hysteresis = <0>;
+ type = "active";
+ };
+ };
+
+ cooling-maps {
+ map-active-0 {
+ cooling-device = <&fan 0 1>;
+ trip = <&tj_trip_active0>;
+ };
+
+ map-active-1 {
+ cooling-device = <&fan 1 2>;
+ trip = <&tj_trip_active1>;
+ };
+
+ map-active-2 {
+ cooling-device = <&fan 2 3>;
+ trip = <&tj_trip_active2>;
+ };
+
+ map-active-3 {
+ cooling-device = <&fan 3 4>;
+ trip = <&tj_trip_active3>;
+ };
+ };
+ };
+ };
};
--
2.55.0
next prev parent reply other threads:[~2026-08-28 11:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-28 11:51 [PATCH v2 0/3] arm64: tegra: Add cooling device on Jetson AGX Thor DevKit Thierry Reding
2026-08-28 11:51 ` [PATCH v2 1/3] arm64: tegra: Add PWM fan " Thierry Reding
2026-08-28 12:03 ` sashiko-bot
2026-08-28 11:51 ` [PATCH v2 2/3] arm64: tegra: Add thermal zones for Tegra264 Thierry Reding
2026-08-28 11:51 ` Thierry Reding [this message]
2026-08-28 12:05 ` [PATCH v2 3/3] arm64: tegra: Add cooling device on Jetson AGX Thor DevKit sashiko-bot
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=20260828-tegra264-fan-v2-3-a460389d8ef5@nvidia.com \
--to=thierry.reding@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=jonathanh@nvidia.com \
--cc=krzk+dt@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-tegra@vger.kernel.org \
--cc=robh@kernel.org \
--cc=treding@nvidia.com \
/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