From: sashiko-bot@kernel.org
To: "Thierry Reding" <thierry.reding@kernel.org>
Cc: robh@kernel.org, conor+dt@kernel.org, devicetree@vger.kernel.org
Subject: Re: [PATCH 1/4] arm64: tegra: Add PWM fan on Jetson AGX Orin DevKit
Date: Thu, 27 Aug 2026 15:18:35 +0000 [thread overview]
Message-ID: <20260827151836.314E91F00A3D@smtp.kernel.org> (raw)
In-Reply-To: <20260827-tegra264-fan-v1-1-3c55f0c748b1@nvidia.com>
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The patch introduces a platform mismatch by modifying the device tree for the Jetson AGX Thor (Tegra264) while the commit message targets the Jetson AGX Orin (Tegra234). This causes a fatal Device Tree compilation error because the `&pwm4` phandle is not defined in the Tegra264 base tree. Additionally, it maps a PWM node at `0xc6a0000`, which collides with the existing `i2c9` controller's MMIO region in Tegra264.
--
commit 5abc2fdc061c1ce5d90cefc286641978583847de
Author: Thierry Reding <treding@nvidia.com>
arm64: tegra: Add PWM fan on Jetson AGX Orin DevKit
This commit adds a PWM fan device node to actively control the PWM,
preventing the fan from either stopping or running at full speed during boot.
> 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 45f8df9bbfd62..4550e843f513c 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 {
[Severity: Medium]
The commit message targets the Jetson AGX Orin (Tegra234) platform, but this
patch modifies the device tree for the Jetson AGX Thor (Tegra264) in
arch/arm64/boot/dts/nvidia/tegra264-p4071-0000+p3834.dtsi.
Does this unit address assignment correctly overlay the bus@0/pwm@c6a0000 node?
In the Tegra264 platform, the 0xc6a0000 address is already allocated to the
i2c9 controller (i2c@c6a0000), which creates an MMIO region collision.
> + status = "okay";
> + };
> + };
> +
> + fan: pwm-fan {
> + compatible = "pwm-fan";
> + cooling-levels = <77 102 140 192 255>;
> + pwms = <&pwm4 0 40000>;
[Severity: Medium]
Will this compile when building the device tree for the Tegra264 platform
with make dtbs?
The &pwm4 phandle used here in the pwm-fan node is not defined in the Tegra264
base device tree. Referencing an undefined label causes a Device Tree Compiler
(dtc) abort.
> + #cooling-cells = <2>;
> + };
> };
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260827-tegra264-fan-v1-0-3c55f0c748b1@nvidia.com?part=1
next prev parent reply other threads:[~2026-08-27 15:18 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-27 15:07 [PATCH 0/4] arm64: tegra: Add cooling device on Jetson AGX Thor DevKit Thierry Reding
2026-08-27 15:07 ` [PATCH 1/4] arm64: tegra: Add PWM fan on Jetson AGX Orin DevKit Thierry Reding
2026-08-27 15:18 ` sashiko-bot [this message]
2026-08-27 15:07 ` [PATCH 2/4] dt-bindings: thermal: Add Tegra264 header Thierry Reding
2026-08-27 15:14 ` sashiko-bot
2026-08-27 16:35 ` Conor Dooley
2026-08-27 17:17 ` Thierry Reding
2026-08-27 17:33 ` Conor Dooley
2026-08-31 7:13 ` Krzysztof Kozlowski
2026-08-27 15:07 ` [PATCH 3/4] arm64: tegra: Add thermal zones for Tegra264 Thierry Reding
2026-08-27 15:07 ` [PATCH 4/4] arm64: tegra: Add cooling device on Jetson AGX Thor DevKit Thierry Reding
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=20260827151836.314E91F00A3D@smtp.kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=thierry.reding@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.