From: sashiko-bot@kernel.org
To: "Thierry Reding" <thierry.reding@kernel.org>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH 7/8] arm64: tegra: Clean up AHUB on Tegra264
Date: Wed, 02 Sep 2026 10:31:45 +0000 [thread overview]
Message-ID: <20260902103146.27E441F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260902-tegra-ahub-dt-cleanup-v1-7-028f3c5e72f6@nvidia.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [High] The `ranges` property in `tegra_ahub` has an incorrect number of cells, causing device tree translation failure.
- [High] Syntax error and malformed cell count in the `reg` property of `tegra_sfc2`.
--
commit e1dacd52fef2161b800fe722394a96baeac1b62f
Author: Thierry Reding <treding@nvidia.com>
arm64: tegra: Clean up AHUB on Tegra264
This commit updates the device tree properties for the AHUB and related
components on Tegra264, changing #address-cells and #size-cells to 1.
It also adjusts the ranges property and simplifies the register offsets
throughout the audio subsystem.
> diff --git a/arch/arm64/boot/dts/nvidia/tegra264.dtsi b/arch/arm64/boot/dts/nvidia/tegra264.dtsi
> index 6b2e3a6ab810f..4ed7dabafee5d 100644
> --- a/arch/arm64/boot/dts/nvidia/tegra264.dtsi
> +++ b/arch/arm64/boot/dts/nvidia/tegra264.dtsi
[ ... ]
> @@ -209,22 +209,22 @@ adma: dma-controller@9440000 {
>
> tegra_ahub: ahub@9630000 {
> compatible = "nvidia,tegra264-ahub";
> - reg = <0x0 0x9630000 0x0 0x10000>;
> + reg = <0x9630000 0x10000>;
> clocks = <&bpmp TEGRA264_CLK_AHUB>;
> clock-names = "ahub";
> assigned-clocks = <&bpmp TEGRA264_CLK_AHUB>;
> assigned-clock-parents = <&bpmp TEGRA264_CLK_PLLAON_APE>;
> status = "disabled";
>
> - #address-cells = <2>;
> - #size-cells = <2>;
> + #address-cells = <1>;
> + #size-cells = <1>;
> /* ADMA is under AHUB range, its excluded in the defined range */
> - ranges = <0x0 0x9280000 0x0 0x9280000 0x0 0x1c0000>,
> - <0x0 0x9510000 0x0 0x9510000 0x0 0x370000>;
> + ranges = <0x9280000 0x0 0x9280000 0x1c0000>,
> + <0x9510000 0x0 0x9510000 0x370000>;
[Severity: High]
Since tegra_ahub and its parent aconnect both define #address-cells = <1>
and #size-cells = <1>, shouldn't the ranges property have exactly 3 cells
per entry (child-address, parent-address, length)?
The updated values still contain 4 cells per entry, which looks like it
failed to remove the stale 32-bit 0x0 from the previous 64-bit parent
address layout. Will this malformed cell count cause dtc to fail validation
and prevent MMIO address mapping for audio peripherals on the AHUB?
>
> tegra_i2s1: i2s@9280000 {
[ ... ]
> @@ -1584,7 +1584,7 @@ sfc1_cif_out: endpoint {
> tegra_sfc2: sfc@9710000 {
> compatible = "nvidia,tegra264-sfc",
> "nvidia,tegra210-sfc";
> - reg = <0x0 0x9710000 0x0 0x10000>;
> + reg = <0x9710000 x0 0x10000>;
[Severity: High]
Does this introduce a syntax error in the device tree? The x0 token appears
to be a typo, which would cause dtc compilation to abort.
Additionally, even if parsed as zero, wouldn't this result in 3 cells
instead of the 2 cells expected by the #address-cells = <1> and
#size-cells = <1> configuration?
> sound-name-prefix = "SFC2";
>
> ports {
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260902-tegra-ahub-dt-cleanup-v1-0-028f3c5e72f6@nvidia.com?part=7
next prev parent reply other threads:[~2026-09-02 10:31 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-02 10:17 [PATCH 0/8] arm64: tegra: Clean up AHUB device tree nodes Thierry Reding
2026-09-02 10:17 ` [PATCH 1/8] ARM: tegra: Clean up AHUB on Tegra124 Thierry Reding
2026-09-02 10:23 ` sashiko-bot
2026-09-02 10:17 ` [PATCH 2/8] arm64: tegra: Clean up AHUB on Tegra132 Thierry Reding
2026-09-02 10:17 ` [PATCH 3/8] arm64: tegra: Adjust AHUB range on Tegra210 Thierry Reding
2026-09-02 10:17 ` [PATCH 4/8] arm64: tegra: Clean up AHUB on Tegra186 Thierry Reding
2026-09-02 10:17 ` [PATCH 5/8] arm64: tegra: Clean up AHUB on Tegra194 Thierry Reding
2026-09-02 10:17 ` [PATCH 6/8] arm64: tegra: Clean up AHUB on Tegra234 Thierry Reding
2026-09-02 10:17 ` [PATCH 7/8] arm64: tegra: Clean up AHUB on Tegra264 Thierry Reding
2026-09-02 10:31 ` sashiko-bot [this message]
2026-09-10 16:36 ` Jon Hunter
2026-09-11 10:32 ` Thierry Reding
2026-09-02 10:17 ` [PATCH 8/8] arm64: tegra: Clean up some whitespace issues " Thierry Reding
2026-09-10 13:31 ` (subset) [PATCH 0/8] arm64: tegra: Clean up AHUB device tree nodes 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=20260902103146.27E441F000E9@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox