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 1/5] arm: dts: st: add bootph properties for STM32MP13 boards
Date: Fri, 04 Dec 2026 17:05:38 +0000 [thread overview]
Message-ID: <sashiko-outbox-250259@kernel.org> (raw)
In-Reply-To: <20261204-upstream_uboot_properties-v8-1-d6d1e68661cc@foss.st.com>
Thank you for your contribution! Sashiko AI review found 2 potential
issues to consider:
- [Medium] ARM: dts: stm32: missing bootph-all on PMIC ancestor nodes in
dhcor-dhsbc
- [Low] arm: dts: st: duplicate SoC and SoM bootph properties in board
DTS files
--
commit f55e23a90bdae51a53a485e10f5ebbd1d35eeafb
Author: Patrice Chotard <patrice.chotard@foss.st.com>
arm: dts: st: add bootph properties for STM32MP13 boards
This commit adds bootph-* properties to the STM32MP135F DHCOR DHSBC and
STM32MP135F DK device trees to describe nodes needed in early boot phases.
> diff --git a/arch/arm/boot/dts/st/stm32mp135f-dhcor-dhsbc.dts b/arch/arm/boot/dts/st/stm32mp135f-dhcor-dhsbc.dts
> index 9b8baed6a022a..bb60e8ef673d6 100644
> --- a/arch/arm/boot/dts/st/stm32mp135f-dhcor-dhsbc.dts
> +++ b/arch/arm/boot/dts/st/stm32mp135f-dhcor-dhsbc.dts
> @@ -31,6 +31,20 @@ aliases {
> chosen {
> stdout-path = "serial0:115200n8";
> };
> +
> + firmware {
> + optee {
> + bootph-all;
> + };
> + };
> +
> + psci {
> + bootph-some-ram;
> + };
> +
> + soc {
> + bootph-all;
> + };
> };
[Severity: Low]
This isn't a bug, but stm32mp135f-dhcor-dhsbc.dts and stm32mp135f-dk.dts
duplicate identical bootph-* properties for 20 always-enabled SoC nodes
from stm32mp131.dtsi (/firmware/optee, /psci, /soc, bsec, etzpc,
gpioa-gpioi, pinctrl, rcc, scmi, scmi_clk, scmi_reset, and syscfg).
Similarly, stm32mp135f-dhcor-dhsbc.dts tags SoM nodes defined in
stm32mp13xx-dhcor-som.dtsi (iwdg2, qspi, flash0, uart4, and the core
PMIC rails). Moving these into stm32mp131.dtsi and
stm32mp13xx-dhcor-som.dtsi would avoid duplicating them across boards.
[ ... ]
> @@ -434,12 +538,21 @@ connector {
> };
> };
>
> +&vdd {
> + bootph-all;
> +};
> +
> +&vdd_ddr {
> + bootph-all;
> +};
> +
> /* LDO2 is expansion connector 3V3 supply on STM32MP13xx DHCOR DHSBC rev.200 */
> &vdd_ldo2 {
> regulator-always-on;
> regulator-boot-on;
> regulator-min-microvolt = <3300000>;
> regulator-max-microvolt = <3300000>;
> + bootph-all;
> };
>
> /* LDO5 is carrier board 3V3 supply on STM32MP13xx DHCOR DHSBC rev.200 */
> @@ -448,4 +561,17 @@ &vdd_sd {
> regulator-boot-on;
> regulator-min-microvolt = <3300000>;
> regulator-max-microvolt = <3300000>;
> + bootph-all;
> +};
> +
> +&vddcore {
> + bootph-all;
> +};
> +
> +&vddcpu {
> + bootph-all;
> +};
> +
> +&vref_ddr {
> + bootph-all;
> };
[Severity: Medium]
Are bootph-all properties missing on the parent nodes of these STPMIC1
regulators (i2c3, pmic, and regulators) and on the vin supply?
In stm32mp131.dtsi and stm32mp13xx-dhcor-som.dtsi, these seven
regulators sit under i2c3 -> pmic -> regulators, and vdd_ldo2 and vdd_sd
take vin as their supply, none of which carry a bootph-* property.
Because bootph-* flags do not propagate upward, early-boot DT filtering
strips the untagged ancestors and pre-relocation driver binding cannot
probe i2c3 or the STPMIC1 MFD, leaving these regulators unreachable.
Adding bootph-all to i2c3, pmic, regulators, and vin would fix this.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261204-upstream_uboot_properties-v8-0-d6d1e68661cc@foss.st.com?part=1
next prev parent reply other threads:[~2026-12-04 17:05 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 [this message]
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
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-250259@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