All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Colin Huang" <u8813345@gmail.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [PATCH v6 02/12] ARM: dts: aspeed: anacapa: Add EVT1 devicetree and point wrapper to it
Date: Tue, 25 Aug 2026 10:58:01 +0000	[thread overview]
Message-ID: <20260825105801.D362F1F00A3A@smtp.kernel.org> (raw)
In-Reply-To: <20260825-anacapa-devlop-phase-devicetree-v6-2-9059a2a279ce@gmail.com>

Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
- [Critical] Devicetree ABI breakage due to removal of generic compatible string
- [Medium] Incorrect removal of `p3v3_bmc_aux` fixed-regulator node
- [Low] Included devicetrees use `.dts` extension instead of `.dtsi`
--

--- Patch [2]: [PATCH v6 02/12] ARM: dts: aspeed: anacapa: Add EVT1 devicetree and point wrapper to it ---
commit 9a026f3bc21757ceb40a47713b367e173351589e
Author: Colin Huang <u8813345@gmail.com>

ARM: dts: aspeed: anacapa: Add EVT1 devicetree and point wrapper to it

This commit introduces an EVT1 development-phase devicetree for the
Facebook Anacapa BMC. It updates the top-level wrapper DTS to include
the EVT1 hardware revision file, removes redundant pinctrl names, and
fixes a dt-check-style strict violation.

>       Remove p3v3_bmc_aux node to fix '[unused-lable]' warning.

[Severity: Medium]
Is it correct to remove the entire hardware node here?

If the intention is just to fix an unused label warning, usually only the
label itself (p3v3_bmc_aux:) is removed, preserving the regulator node to
accurately describe the EVT1 hardware.

While follow-up patches in the series (e.g., commit "ARM: dts: aspeed:
anacapa: Add SPI flash VCC supply") add the regulator back into the EVT2
devicetree, the EVT1 devicetree baseline remains permanently stripped of
this regulator node.

> diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa-evt1.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa-evt1.dts
> new file mode 100644
> --- /dev/null
> +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa-evt1.dts
> @@ -0,0 +1,1120 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +
> +/dts-v1/;
> +#include "aspeed-g6.dtsi"
> +#include <dt-bindings/gpio/aspeed-gpio.h>
> +#include <dt-bindings/i2c/i2c.h>
> +
> +/ {
> +	compatible = "facebook,anacapa-bmc-evt1", "aspeed,ast2600";

[Severity: Critical]
Does removing the generic "facebook,anacapa-bmc" string from the compatible
property break existing ABI?

Bootloaders, kernel quirks, or userspace utilities (like systemd or OpenBMC)
that rely on matching the generic string will fail to recognize the board
during an upgrade.

Even at the end of the patch series, the generic string is never restored.
Should the wrapper file override this to retain the generic string, or should
it be appended here?

[ ... ]

> diff --git a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa.dts b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa.dts
> --- a/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa.dts
> +++ b/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-anacapa.dts
> @@ -1,1079 +1,3 @@
>  // SPDX-License-Identifier: GPL-2.0-or-later
>  
> -/dts-v1/;
> -#include "aspeed-g6.dtsi"

[ ... ]

> -/ {
> -	model = "Facebook Anacapa BMC";
> -	compatible = "facebook,anacapa-bmc", "aspeed,ast2600";

[ ... ]

> +#include "aspeed-bmc-facebook-anacapa-evt1.dts"

[Severity: Low]
Is it intended for this included file to use a .dts extension?

In kernel devicetree conventions, files intended to be included by other
files typically use the .dtsi (Device Tree Source Include) extension. Since
this evt1 file is strictly used as an include base and is not built as a
separate target in the Makefile, would it be better named with a .dtsi
extension?

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260825-anacapa-devlop-phase-devicetree-v6-0-9059a2a279ce@gmail.com?part=2

  reply	other threads:[~2026-08-25 10:58 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-25 10:47 [PATCH v6 00/12] ARM: dts: aspeed: anacapa: restructure devicetree for development-phase Colin Huang via B4 Relay
2026-08-25 10:47 ` Colin Huang
2026-08-25 10:47 ` [PATCH v6 01/12] dt-bindings: arm: aspeed: Add Anacapa EVT1 EVT2 DVT board Colin Huang via B4 Relay
2026-08-25 10:47   ` Colin Huang
2026-08-25 10:47 ` [PATCH v6 02/12] ARM: dts: aspeed: anacapa: Add EVT1 devicetree and point wrapper to it Colin Huang via B4 Relay
2026-08-25 10:47   ` Colin Huang
2026-08-25 10:58   ` sashiko-bot [this message]
2026-08-25 10:47 ` [PATCH v6 03/12] ARM: dts: aspeed: anacapa: Add EVT2 devicetree inheriting EVT1 Colin Huang via B4 Relay
2026-08-25 10:47   ` Colin Huang
2026-08-25 10:59   ` sashiko-bot
2026-08-25 10:47 ` [PATCH v6 04/12] ARM: dts: aspeed: anacapa: Add DVT devicetree inheriting EVT2 Colin Huang via B4 Relay
2026-08-25 10:47   ` Colin Huang
2026-08-25 10:47 ` [PATCH v6 05/12] ARM: dts: aspeed: anacapa: Add additional EEPROM node for SCM Colin Huang via B4 Relay
2026-08-25 10:47   ` Colin Huang
2026-08-25 10:47 ` [PATCH v6 06/12] ARM: dts: aspeed: anacapa: Add eeprom device node for NFC adaptor board Colin Huang via B4 Relay
2026-08-25 10:47   ` Colin Huang
2026-08-25 10:47 ` [PATCH v6 07/12] ARM: dts: aspeed: anacapa: Align PDB fan GPIO numbering Colin Huang via B4 Relay
2026-08-25 10:47   ` Colin Huang
2026-08-25 10:47 ` [PATCH v6 08/12] ARM: dts: aspeed: anacapa: Enable MCTP and FRU for NIC Colin Huang via B4 Relay
2026-08-25 10:47   ` Colin Huang
2026-08-25 10:47 ` [PATCH v6 09/12] ARM: dts: aspeed: anacapa: evt2: Add shunt resistor values for HSC monitors Colin Huang via B4 Relay
2026-08-25 10:47   ` Colin Huang
2026-08-25 10:47 ` [PATCH v6 10/12] ARM: dts: aspeed: anacapa: Add LPDB fuse monitor GPIO expander Colin Huang via B4 Relay
2026-08-25 10:47   ` Colin Huang
2026-08-25 10:47 ` [PATCH v6 11/12] ARM: dts: aspeed: anacapa: Simplify leakage GPIO line names Colin Huang via B4 Relay
2026-08-25 10:47   ` Colin Huang
2026-08-25 10:47 ` [PATCH v6 12/12] ARM: dts: aspeed: anacapa: Add SPI flash VCC supply Colin Huang via B4 Relay
2026-08-25 10:47   ` Colin Huang

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=20260825105801.D362F1F00A3A@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=u8813345@gmail.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 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.