Devicetree
 help / color / mirror / Atom feed
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 3/5] arm64: dts: st: add bootph properties for STM32MP21 boards
Date: Fri, 04 Dec 2026 17:37:56 +0000	[thread overview]
Message-ID: <sashiko-outbox-250328@kernel.org> (raw)
In-Reply-To: <20261204-upstream_uboot_properties-v8-3-d6d1e68661cc@foss.st.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] arm64: dts: st: stm32mp215f-dk omits bootph-all on usart2
  dependencies
--

commit 18be501ef9a6419821c24580c8488a81f7e36228
Author: Patrice Chotard <patrice.chotard@foss.st.com>

arm64: dts: st: add bootph properties for STM32MP21 boards

This commit adds bootph-all properties to the syscfg and usart2 nodes in
arch/arm64/boot/dts/st/stm32mp215f-dk.dts so early boot stages can use
the upstream device tree without U-Boot overlays.

> diff --git a/arch/arm64/boot/dts/st/stm32mp215f-dk.dts b/arch/arm64/boot/dts/st/stm32mp215f-dk.dts
> index a1285abc80ca5..8bcd68cecebbb 100644
> --- a/arch/arm64/boot/dts/st/stm32mp215f-dk.dts
> +++ b/arch/arm64/boot/dts/st/stm32mp215f-dk.dts
> @@ -48,6 +48,11 @@ &bsec {
>  	bootph-all;
>  };
>
> +&syscfg {
> +	bootph-all;
> +};
> +
>  &usart2 {
> +	bootph-all;
>  	status = "okay";
>  };

[Severity: Medium]
Should the parent bus, access-controller, clock, and firmware nodes that
usart2 depends on also carry bootph-all?

In arch/arm64/boot/dts/st/stm32mp211.dtsi, usart2 sits under soc@0 and
rifsc and references &rcc and &rifsc, while rcc depends on &scmi_clk
under firmware/scmi (backed by firmware/optee) and &rifsc.  None of
those nodes, nor psci, have bootph-all in the stm32mp21 dtsi/dts files.

Because bootph-* properties do not propagate across phandle references,
early boot stages filtering on bootph-* will not be able to bind usart2
and its clock providers from the upstream device tree alone, unlike the
sibling stm32mp23 and stm32mp25 boards updated in this series.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-upstream_uboot_properties-v8-0-d6d1e68661cc@foss.st.com?part=3

  reply	other threads:[~2026-12-04 17:37 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 [this message]
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

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-250328@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