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 1/3] arm64: tegra: Add PWM fan on Jetson AGX Thor DevKit
Date: Fri, 28 Aug 2026 13:51:37 +0200 [thread overview]
Message-ID: <20260828-tegra264-fan-v2-1-a460389d8ef5@nvidia.com> (raw)
In-Reply-To: <20260828-tegra264-fan-v2-0-a460389d8ef5@nvidia.com>
From: Thierry Reding <treding@nvidia.com>
Without a PWM fan device node to actively control the PWM, the fan will
either stop or run at full speed, depending on the state of the PWM when
the controller's clock gets turned off during boot.
One is bad for the system's lifetime and the other is very annoying for
anyone in close proximity to the device, so add the PWM fan in device
tree to fix this.
Signed-off-by: Thierry Reding <treding@nvidia.com>
---
Changes in v2:
- fix device name in commit subject
---
arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi | 13 +++++++++++++
1 file changed, 13 insertions(+)
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 45f8df9bbfd6..4550e843f513 100644
--- a/arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi
+++ b/arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi
@@ -9,4 +9,17 @@ aliases {
chosen {
stdout-path = "serial0:115200n8";
};
+
+ bus@0 {
+ pwm@c6a0000 {
+ status = "okay";
+ };
+ };
+
+ fan: pwm-fan {
+ compatible = "pwm-fan";
+ cooling-levels = <77 102 140 192 255>;
+ pwms = <&pwm4 0 40000>;
+ #cooling-cells = <2>;
+ };
};
--
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 ` Thierry Reding [this message]
2026-08-28 12:03 ` [PATCH v2 1/3] arm64: tegra: Add PWM fan " 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 ` [PATCH v2 3/3] arm64: tegra: Add cooling device on Jetson AGX Thor DevKit Thierry Reding
2026-08-28 12:05 ` 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-1-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