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 v2 1/3] arm64: tegra: Add PWM fan on Jetson AGX Thor DevKit
Date: Fri, 28 Aug 2026 12:03:48 +0000 [thread overview]
Message-ID: <20260828120349.08C3F1F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260828-tegra264-fan-v2-1-a460389d8ef5@nvidia.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] Incomplete `pwm@c6a0000` node and unit address collision
- [Low] Missing phandle `&pwm4` causes a fatal DTC build error
--
commit 896b2e4dbdcbabef8cf82b66c7dcabdbec8e9800
Author: Thierry Reding <treding@nvidia.com>
arm64: tegra: Add PWM fan on Jetson AGX Thor DevKit
Add a PWM fan device node to actively control the PWM, preventing it from
stopping or running at full speed during boot when the controller's clock
is turned off.
> 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 {
> + status = "okay";
> + };
[Severity: Medium]
Will this node fail to bind the PWM driver? Because the base tegra264.dtsi
does not define this node, it lacks essential properties like compatible,
reg, and #pwm-cells.
Also, does this cause a unit-address collision warning? The base tree already
defines i2c9: i2c@c6a0000 at the exact same address:
arch/arm64/boot/dts/nvidia/tegra264.dtsi:bus@0 {
...
i2c9: i2c@c6a0000 {
compatible = "nvidia,tegra264-i2c";
...
}
> + };
> +
> + fan: pwm-fan {
> + compatible = "pwm-fan";
> + cooling-levels = <77 102 140 192 255>;
> + pwms = <&pwm4 0 40000>;
[Severity: Low]
Does this cause a fatal DTC build error? The label &pwm4 is unresolved
because it is referenced but never defined in tegra264.dtsi or any included
file, resulting in a 'label or path not found' syntax error.
> + #cooling-cells = <2>;
> + };
> };
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260828-tegra264-fan-v2-0-a460389d8ef5@nvidia.com?part=1
next prev parent reply other threads:[~2026-08-28 12:03 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 [this message]
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=20260828120349.08C3F1F000E9@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.