Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Dario Binacchi" <dario.binacchi@amarulasolutions.com>
Cc: conor+dt@kernel.org, devicetree@vger.kernel.org, robh@kernel.org
Subject: Re: [RESEND PATCH v7 02/16] arm64: dts: st: add power-domains to sdmmc1 on stm32mp231
Date: Mon, 03 Aug 2026 07:53:21 +0000	[thread overview]
Message-ID: <20260803075322.31A601F000E9@smtp.kernel.org> (raw)
In-Reply-To: <20260803074224.3821911-3-dario.binacchi@amarulasolutions.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:

Pre-existing issues:
- [High] This problem wasn't introduced by this patch, but the patch provides an incomplete fix by only adding the missing `power-domains` property to `sdmmc1` in `stm32mp231.dtsi`, leaving the identical omission unfixed in the sibling SoC file `stm32mp251.dtsi`.
--

--- Patch [2]: [RESEND PATCH v7 02/16] arm64: dts: st: add power-domains to sdmmc1 on stm32mp231 ---
commit 5347308e7a8cc88eceb04108886bd5138aa92189
Author: Dario Binacchi <dario.binacchi@amarulasolutions.com>

arm64: dts: st: add power-domains to sdmmc1 on stm32mp231

This commit adds the missing power-domains property to the sdmmc1 node in
the stm32mp231 device tree. This aligns it with other peripheral nodes and
ensures proper power domain mapping.

> diff --git a/arch/arm64/boot/dts/st/stm32mp231.dtsi b/arch/arm64/boot/dts/st/stm32mp231.dtsi
> index 9e1d240888ff2..0feb8943efae6 100644
> --- a/arch/arm64/boot/dts/st/stm32mp231.dtsi
> +++ b/arch/arm64/boot/dts/st/stm32mp231.dtsi
> @@ -727,6 +727,7 @@ sdmmc1: mmc@48220000 {
>  				cap-mmc-highspeed;
>  				max-frequency = <120000000>;
>  				access-controllers = <&rifsc 76>;
> +				power-domains = <&cluster_pd>;

[Severity: High]
This isn't a bug introduced by this patch, but does the sdmmc1 node in
stm32mp251.dtsi also need this property updated?

Looking at arch/arm64/boot/dts/st/stm32mp251.dtsi, the sdmmc1 node appears to
be missing the same property:

arch/arm64/boot/dts/st/stm32mp251.dtsi:sdmmc1:
			sdmmc1: mmc@48220000 {
				compatible = "st,stm32mp25-sdmmc2", "arm,pl18x", "arm,primecell";
				...

Without the power-domains property, the generic power domain framework is
unaware that sdmmc1 depends on cluster_pd. If no other active peripherals
hold a reference to cluster_pd, the framework could power it down, abruptly
cutting power to the sdmmc1 controller.

This would cause I/O errors or kernel panics on STM32MP25 boards utilizing
sdmmc1 when peripheral power domains are dynamically managed.

Could this identical omission be fixed in the sibling SoC file as well?

>  				status = "disabled";
>  			};

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20260803074224.3821911-1-dario.binacchi@amarulasolutions.com?part=2

  reply	other threads:[~2026-08-03  7:53 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-03  7:25 [RESEND PATCH v7 00/16] arm64: support Engicam MicroGEA-STM32MP257-RMM board Dario Binacchi
2026-08-03  7:25 ` [RESEND PATCH v7 01/16] dt-bindings: arm: stm32: " Dario Binacchi
2026-08-03  7:25 ` [RESEND PATCH v7 02/16] arm64: dts: st: add power-domains to sdmmc1 on stm32mp231 Dario Binacchi
2026-08-03  7:53   ` sashiko-bot [this message]
2026-08-03  7:25 ` [RESEND PATCH v7 03/16] arm64: dts: st: add power-domains to sdmmc1 on stm32mp251 Dario Binacchi
2026-08-03  7:25 ` [RESEND PATCH v7 04/16] arm64: dts: st: add SDMMC2 support on stm32mp25 Dario Binacchi
2026-08-03  7:26 ` [RESEND PATCH v7 05/16] arm64: dts: st: add CAN1 " Dario Binacchi
2026-08-03  7:26 ` [RESEND PATCH v7 06/16] arm64: dts: st: add i2c1 pins for stm32mp25 Dario Binacchi
2026-08-03  7:26 ` [RESEND PATCH v7 07/16] arm64: dts: st: add ltdc " Dario Binacchi
2026-08-03  7:26 ` [RESEND PATCH v7 08/16] arm64: dts: st: add can1 " Dario Binacchi
2026-08-03  7:26 ` [RESEND PATCH v7 09/16] arm64: dts: st: add pwm2/pwm4 " Dario Binacchi
2026-08-03  7:26 ` [RESEND PATCH v7 10/16] arm64: dts: st: add sai1 " Dario Binacchi
2026-08-03  7:26 ` [RESEND PATCH v7 11/16] arm64: dts: st: add sdmmc2 " Dario Binacchi
2026-08-03  7:26 ` [RESEND PATCH v7 12/16] arm64: dts: st: add spi1 " Dario Binacchi
2026-08-03  7:26 ` [RESEND PATCH v7 13/16] arm64: dts: st: add usart1 " Dario Binacchi
2026-08-03  7:26 ` [RESEND PATCH v7 14/16] arm64: dts: st: support Engicam MicroGEA-STM32MP257 SoM Dario Binacchi
2026-08-03  7:26 ` [RESEND PATCH v7 15/16] arm64: dts: st: support Engicam MicroGEA-STM32MP257-RMM board Dario Binacchi
  -- strict thread matches above, loose matches on Subject: below --
2026-07-15  6:20 [RESEND PATCH v7 00/16] arm64: " Dario Binacchi
2026-07-15  6:20 ` [RESEND PATCH v7 02/16] arm64: dts: st: add power-domains to sdmmc1 on stm32mp231 Dario Binacchi
2026-07-15  6:33   ` 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=20260803075322.31A601F000E9@smtp.kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=dario.binacchi@amarulasolutions.com \
    --cc=devicetree@vger.kernel.org \
    --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