From: sashiko-bot@kernel.org
To: "Patrice Chotard" <patrice.chotard@foss.st.com>
Cc: devicetree@vger.kernel.org, robh@kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v8 5/5] arm64: dts: st: add bootph properties for STM32MP25 boards
Date: Fri, 04 Dec 2026 18:07:38 +0000 [thread overview]
Message-ID: <sashiko-outbox-250381@kernel.org> (raw)
In-Reply-To: <20261204-upstream_uboot_properties-v8-5-d6d1e68661cc@foss.st.com>
Thank you for your contribution! Sashiko AI review found 4 potential
issues to consider:
- [Medium] arm64: dts: st: missing bootph-all on pinctrl_z parent of
gpioz
- [Low] arm64: dts: st: bootph-all added to absent disabled gpioj/gpiok
on DK
- [Low] arm64: dts: st: commit message lists timer though no timer node
is tagged
- [Low] arm64: dts: st: duplicate SoC-level bootph-all in board DTS
files
--
commit e1480b56a6e7c09a990201fcdb6943f0627a49ef
Author: Patrice Chotard <patrice.chotard@foss.st.com>
arm64: dts: st: add bootph properties for STM32MP25 boards
This commit adds bootph-all properties to early-boot device tree nodes in
stm32mp257f-dk.dts and stm32mp257f-ev1.dts to mirror the existing U-Boot
overlays.
> Mirror the bootph-* phase flags that U-Boot currently sets in its
> arch/arm/dts/*-u-boot.dtsi overlays for these boards. This describes
> the nodes needed by early boot stages (timer, gpio, syscfg, clock,
> uart, ...) in the upstream device tree, so U-Boot no longer needs to
> add them in its overlays.
[Severity: Low]
Does the commit message still need to list timer? Neither board file
adds bootph-all to any timer node.
> diff --git a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
> index 00210a2052af8..8bd1e8666d7d0 100644
> --- a/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
> +++ b/arch/arm64/boot/dts/st/stm32mp257f-dk.dts
> @@ -150,6 +150,24 @@ fw@80000000 {
> no-map;
> };
> };
> +
> + firmware {
> + optee {
> + bootph-all;
> + };
> +
> + scmi {
> + bootph-all;
> + };
> + };
> +
> + psci {
> + bootph-all;
> + };
> +
> + soc@0 {
> + bootph-all;
> + };
> };
[Severity: Low]
Should these SoC-level bootph-all properties live in stm32mp251.dtsi
instead of being duplicated across board files?
The overrides for firmware, psci, soc@0, bsec, pinctrl, rcc, rifsc,
scmi_clk, syscfg, and the gpio banks are repeated verbatim in
stm32mp257f-ev1.dts.
Moving core SoC tags to stm32mp251.dtsi and package gpio tags to
stm32mp25xxak-pinctrl.dtsi and stm32mp25xxai-pinctrl.dtsi would let other
STM32MP25 boards inherit them and avoid package mismatches.
[ ... ]
> +&gpioj {
> + bootph-all;
> +};
> +
> +&gpiok {
> + bootph-all;
> +};
[Severity: Low]
Should bootph-all be dropped from gpioj and gpiok on stm32mp257f-dk?
This board includes stm32mp25xxak-pinctrl.dtsi (STM32MP_PKG_AK), where
PJ0-PJ15 and PK0-PK7 do not exist and gpioj and gpiok remain disabled.
Tagging them with bootph-all misrepresents the package and causes early
DTB filtering tools such as fdtgrep to retain unused disabled nodes.
> +
> +&gpioz {
> + bootph-all;
> +};
[Severity: Medium]
Does tagging gpioz with bootph-all also require bootph-all on pinctrl_z?
In stm32mp251.dtsi, gpioz is a child of pinctrl_z (pinctrl@46200000)
rather than pinctrl, has no compatible property of its own, and
references pinctrl_z via gpio-ranges. Both stm32mp257f-dk.dts and
stm32mp257f-ev1.dts tag pinctrl and gpioz but omit pinctrl_z.
Because early boot stages bind nodes top-down, leaving pinctrl_z untagged
prevents st,stm32mp257-z-pinctrl from binding pre-relocation and renders
bootph-all on gpioz ineffective.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-upstream_uboot_properties-v8-0-d6d1e68661cc@foss.st.com?part=5
prev parent reply other threads:[~2026-12-04 18:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-04 16:38 [PATCH v8 0/5] Add boot phase tags for STMicroelectronics boards Patrice Chotard
2026-12-04 16:38 ` [PATCH v8 1/5] arm: dts: st: add bootph properties for STM32MP13 boards Patrice Chotard
2026-12-04 17:05 ` sashiko-bot
2026-12-04 16:38 ` [PATCH v8 2/5] arm: dts: st: add bootph properties for STM32MP15 boards Patrice Chotard
2026-12-04 17:29 ` sashiko-bot
2026-12-04 16:38 ` [PATCH v8 3/5] arm64: dts: st: add bootph properties for STM32MP21 boards Patrice Chotard
2026-12-04 17:37 ` sashiko-bot
2026-12-04 16:38 ` [PATCH v8 4/5] arm64: dts: st: add bootph properties for STM32MP23 boards Patrice Chotard
2026-12-04 17:51 ` sashiko-bot
2026-12-04 16:38 ` [PATCH v8 5/5] arm64: dts: st: add bootph properties for STM32MP25 boards Patrice Chotard
2026-12-04 18:07 ` 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-250381@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=patrice.chotard@foss.st.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