From: sashiko-bot@kernel.org
To: "Lefteris Koutrakis" <lefteris.koutrakis@gmail.com>,
devicetree@vger.kernel.org
Cc: robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v5] powerpc/dts: Add Device Tree for WatchGuard Firebox T30 (v5)
Date: Wed, 28 Oct 2026 19:04:37 +0000 [thread overview]
Message-ID: <sashiko-outbox-188326@kernel.org> (raw)
In-Reply-To: <20261028185407.26952-1-lefteris.koutrakis@gmail.com>
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
- [Medium] powerpc/dts: firebox-t30.dts placed in OpenWrt path and missing from Makefile
- [Low] powerpc/dts: undocumented watchguard vendor prefix and firebox-t30 compatible
--
commit f6c5f758b9931c759d889087f336848b7b3fbdff
Author: Lefteris Koutrakis <lefteris.koutrakis@gmail.com>
powerpc/dts: Add Device Tree for WatchGuard Firebox T30 (v5)
This commit adds a device tree source file for the WatchGuard Firebox T30
board based on the Freescale P1020 SoC.
> powerpc/dts: Add Device Tree for WatchGuard Firebox T30 (v5)
>
> This commit adds initial device tree support for the WatchGuard Firebox T30
> board and enables building firebox-t30.dtb under CONFIG_MPC85xx_RDB in
> arch/powerpc/boot/dts/fsl/Makefile.
>
> Signed-off-by: Lefteris Koutrakis <lefteris.koutrakis@gmail.com>
>
> diff --git a/target/linux/mpc85xx/files/arch/powerpc/boot/dts/firebox-t30.dts b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/firebox-t30.dts
> new file mode 100644
> index 0000000000000..ec6cf911c66f4
> --- /dev/null
> +++ b/target/linux/mpc85xx/files/arch/powerpc/boot/dts/firebox-t30.dts
> @@ -0,0 +1,386 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
> +/*
> + * Device Tree for WatchGuard Firebox T30
> + * Author: Lefteris Koutrakis <lefteris.koutrakis@gmail.com>
> + */
> +
> +#include <dt-bindings/gpio/gpio.h>
> +#include <dt-bindings/input/input.h>
> +#include <dt-bindings/leds/common.h>
> +
> +/include/ "p1020si-pre.dtsi"
[Severity: Medium]
Was target/linux/mpc85xx/files/arch/powerpc/boot/dts/firebox-t30.dts meant to
be placed at arch/powerpc/boot/dts/fsl/firebox-t30.dts instead of an OpenWrt
target directory?
The commit message states that building firebox-t30.dtb is enabled under
CONFIG_MPC85xx_RDB in arch/powerpc/boot/dts/fsl/Makefile, but that Makefile
is not modified by this patch:
arch/powerpc/boot/dts/fsl/Makefile:
dtb-$(CONFIG_MPC85xx_RDB) += p1020mbg-pc_32b.dtb p1020mbg-pc_36b.dtb
dtb-$(CONFIG_MPC85xx_RDB) += p1020rdb_36b.dtb p1020rdb.dtb p1020rdb-pc_32b.dtb
dtb-$(CONFIG_MPC85xx_RDB) += p1020rdb-pc_36b.dtb p1020rdb-pc_camp_core0.dtb
dtb-$(CONFIG_MPC85xx_RDB) += p1020rdb-pc_camp_core1.dtb p1020rdb-pd.dtb
As a result, Kbuild never builds firebox-t30.dtb when CONFIG_MPC85xx_RDB or
CONFIG_OF_ALL_DTBS is enabled, and the relative /include/ directives for
p1020si-pre.dtsi and p1020si-post.dtsi in firebox-t30.dts cannot resolve
outside arch/powerpc/boot/dts/fsl/.
> +
> +/ {
> + model = "Watchguard Firebox T30";
> + compatible = "watchguard,firebox-t30", "fsl,P1020RDB";
[Severity: Low]
Should the watchguard vendor prefix and watchguard,firebox-t30 compatible
string be documented in the devicetree bindings before adding them to the root
node in firebox-t30.dts?
Currently, patternProperties in
Documentation/devicetree/bindings/vendor-prefixes.yaml has no entry for
"^watchguard,.*":
Documentation/devicetree/bindings/vendor-prefixes.yaml:
"^wand,.*":
description: Wandbord (Technexion)
"^waveshare,.*":
description: Waveshare Electronics
Running checkpatch or dtbs_check will report undocumented DT string and schema
validation failures without the vendor prefix and board binding documented.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261028185407.26952-1-lefteris.koutrakis@gmail.com?part=1
prev parent reply other threads:[~2026-10-28 19:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-28 18:54 [PATCH v5] powerpc/dts: Add Device Tree for WatchGuard Firebox T30 (v5) Lefteris Koutrakis
2026-10-28 19:04 ` sashiko-bot [this message]
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=sashiko-outbox-188326@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=lefteris.koutrakis@gmail.com \
--cc=robh@kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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