Devicetree
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Dario Binacchi" <dario.binacchi@amarulasolutions.com>
Cc: robh@kernel.org, devicetree@vger.kernel.org, conor+dt@kernel.org
Subject: Re: [PATCH v2 02/15] arm64: dts: st: add SDMMC2 support on stm32mp25
Date: Fri, 29 May 2026 15:28:40 +0000	[thread overview]
Message-ID: <20260529152840.792FB1F00898@smtp.kernel.org> (raw)
In-Reply-To: <20260529144707.3931919-3-dario.binacchi@amarulasolutions.com>

Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The `power-domains` property is missing from the `sdmmc2` node.
--

commit 4ee314c8f9ee08a9bd17b8a43369159b8e1356d6
Author: Dario Binacchi <dario.binacchi@amarulasolutions.com>

arm64: dts: st: add SDMMC2 support on stm32mp25

The SDMMC2 controller supports SD cards, eMMC memories and SDIO devices.

> diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi
> index 673fbc5632e69..5e46024d22152 100644
> --- a/arch/arm64/boot/dts/st/stm32mp251.dtsi
> +++ b/arch/arm64/boot/dts/st/stm32mp251.dtsi
> @@ -1667,6 +1667,21 @@ sdmmc1: mmc@48220000 {
>  				status = "disabled";
>  			};
>  
> +			sdmmc2: mmc@48230000 {
> +				compatible = "st,stm32mp25-sdmmc2", "arm,pl18x", "arm,primecell";
> +				arm,primecell-periphid = <0x00353180>;
> +				reg = <0x48230000 0x400>, <0x44230800 0x8>;
> +				interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
> +				clocks = <&rcc CK_KER_SDMMC2>;
> +				clock-names = "apb_pclk";
> +				resets = <&rcc SDMMC2_R>;
> +				cap-sd-highspeed;
> +				cap-mmc-highspeed;
> +				max-frequency = <120000000>;
> +				access-controllers = <&rifsc 77>;

[Severity: Medium]
Should this node include a power-domains property?

On the STM32MP25 SoC, peripheral IP blocks are linked to the cluster power
domain. For example, other nodes in the same file use:

    power-domains = <&CLUSTER_PD>;

Looking at the git history, the sdmmc1 node was added early in SoC bringup
before power domains were systematically added to other peripherals.

While the sdmmc1 node is currently missing this property as well, does the
absence of it here cause a regression with runtime power management and
sleep state transitions for the new sdmmc2 controller?

> +				status = "disabled";
> +			};

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

  reply	other threads:[~2026-05-29 15:28 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-29 14:46 [PATCH v2 00/15] arm64: support Engicam MicroGEA-STM32MP257-RMM board Dario Binacchi
2026-05-29 14:46 ` [PATCH v2 01/15] dt-bindings: arm: stm32: " Dario Binacchi
2026-05-29 14:46 ` [PATCH v2 02/15] arm64: dts: st: add SDMMC2 support on stm32mp25 Dario Binacchi
2026-05-29 15:28   ` sashiko-bot [this message]
2026-05-29 14:46 ` [PATCH v2 03/15] arm64: dts: st: add CAN1 " Dario Binacchi
2026-05-29 14:46 ` [PATCH v2 04/15] arm64: dts: st: add i2c1 pins for stm32mp25 Dario Binacchi
2026-05-29 14:46 ` [PATCH v2 05/15] arm64: dts: st: add ltdc " Dario Binacchi
2026-05-29 14:46 ` [PATCH v2 06/15] arm64: dts: st: add can1 " Dario Binacchi
2026-05-29 14:46 ` [PATCH v2 07/15] arm64: dts: st: add pwm2/pwm4 " Dario Binacchi
2026-05-29 14:46 ` [PATCH v2 08/15] arm64: dts: st: add sai1 " Dario Binacchi
2026-05-29 14:46 ` [PATCH v2 09/15] arm64: dts: st: add sdmmc2 " Dario Binacchi
2026-05-29 14:46 ` [PATCH v2 10/15] arm64: dts: st: add spi1 " Dario Binacchi
2026-05-29 14:46 ` [PATCH v2 11/15] arm64: dts: st: add usart1 " Dario Binacchi
2026-05-29 14:46 ` [PATCH v2 12/15] arm64: dts: st: support Engicam MicroGEA-STM32MP257 SoM Dario Binacchi
2026-05-29 14:46 ` [PATCH v2 13/15] arm64: dts: st: support Engicam MicroGEA-STM32MP257-RMM board Dario Binacchi

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=20260529152840.792FB1F00898@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