From: Stephan Gerhold <stephan.gerhold@linaro.org>
To: Linus Walleij <linusw@kernel.org>
Cc: u-boot@lists.u-boot-project.org, Tom Rini <trini@konsulko.com>,
Stefan Hansson <newbyte@postmarketos.org>
Subject: Re: [PATCH v5 06/13] mmc: arm_pl180: Power down card supplies at OS handoff
Date: Tue, 25 Aug 2026 09:43:31 +0200 [thread overview]
Message-ID: <ao1HoxujnepQYsSL@linaro.org> (raw)
In-Reply-To: <CAD++jLkaoYcUd56iddL_5E+gj4nE89srPpiwv7zCD2PDgAa0sQ@mail.gmail.com>
On Mon, Aug 24, 2026 at 10:01:15PM +0200, Linus Walleij wrote:
> On Mon, Aug 24, 2026 at 3:30 PM Stephan Gerhold
> <stephan.gerhold@linaro.org> wrote:
> > On Sun, Aug 23, 2026 at 10:39:25PM +0200, Linus Walleij wrote:
>
> > > PL180 card supplies remain enabled after probing and while U-Boot is
> > > running. They are no longer needed once control is handed to the operating
> > > system.
> > >
> > > Mark the driver for removal during OS preparation and disable its VMMC and
> > > VQMMC supplies from the remove callback.
> > >
> > > Signed-off-by: Linus Walleij <linusw@kernel.org>
> >
> > Is it worth briefly toggling the regulator off before Linux turns it on
> > again? Linux will typically need to turn them on again later during
> > boot, and even if not Linux should be able to deal with unused
> > regulators. I'm not sure it's worth adding such cleanup to U-Boot.
>
> For our specific Ux500 target it is true.
>
> But this driver is used by a bunch of platforms including some
> ARM reference designs, and also booting other operating systems
> than Linux.
>
> Something could EFI boot off one SD card, then have rootfs
> on another one and the original boot card undefined in the
> hardware description for example. Albeit that sounds a bit
> stupid.
>
> So I thought it'd be more clean to shut off the light on your way
> out.
>
> But it's not like I'm married to the patch.
>
I don't really have a strong opinion either. We can just leave it up to
the maintainers.
Can you re-run get_maintainer.pl on this series for v6? Seems like the
U-Boot MMC maintainers aren't included in this patch. I think it would
also be worth Ccing the "ARM STM STM32MP" maintainers for arm_pl180
changes, they use the STM32_MMCI_ID code path in this driver and
reviewed/tested my last changes (Patrice Chotard in particular).
Thanks,
Stephan
next prev parent reply other threads:[~2026-08-25 7:43 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-23 20:39 [PATCH v5 00/13] arm: u8500: Enable upstream DT based SD card boot Linus Walleij
2026-08-23 20:39 ` [PATCH v5 01/13] pinctrl: Add compact Nomadik pin controller Linus Walleij
2026-08-24 13:17 ` Stephan Gerhold
2026-08-23 20:39 ` [PATCH v5 02/13] mmc: arm_pl180: Configure Ux500 signal direction Linus Walleij
2026-08-23 20:39 ` [PATCH v5 03/13] mmc: arm_pl180: Gate idle card clocks Linus Walleij
2026-08-24 13:25 ` Stephan Gerhold
2026-08-24 19:50 ` Linus Walleij
2026-08-23 20:39 ` [PATCH v5 04/13] power: regulator: Add driver voltage clamp callback Linus Walleij
2026-08-23 20:39 ` [PATCH v5 05/13] mmc: arm_pl180: Set initial supply voltages Linus Walleij
2026-08-23 20:39 ` [PATCH v5 06/13] mmc: arm_pl180: Power down card supplies at OS handoff Linus Walleij
2026-08-24 13:30 ` Stephan Gerhold
2026-08-24 20:01 ` Linus Walleij
2026-08-25 7:43 ` Stephan Gerhold [this message]
2026-08-23 20:39 ` [PATCH v5 07/13] power: regulator: Add AB8500 AUX3 support Linus Walleij
2026-08-24 13:45 ` Stephan Gerhold
2026-08-24 20:04 ` Linus Walleij
2026-08-23 20:39 ` [PATCH v5 08/13] arm: u8500: Enable SD card regulators Linus Walleij
2026-08-23 20:39 ` [PATCH v5 09/13] configs: stemmy: Boot EFI from external SD card Linus Walleij
2026-08-24 13:46 ` Stephan Gerhold
2026-08-23 20:39 ` [PATCH v5 10/13] arm: u8500: Switch Stemmy to upstream Janice device tree Linus Walleij
2026-08-24 13:55 ` Stephan Gerhold
2026-08-24 20:21 ` Linus Walleij
2026-08-23 20:39 ` [PATCH v5 11/13] ARM: dts: ux500: Make panel regulators have unique names Linus Walleij
2026-08-23 20:39 ` [PATCH v5 12/13] ARM: dts: ux500: Harmonize GPIO key names Linus Walleij
2026-08-23 20:39 ` [PATCH v5 13/13] arm: u8500: Package Stemmy device trees in FIT Linus Walleij
2026-08-24 13:59 ` Stephan Gerhold
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=ao1HoxujnepQYsSL@linaro.org \
--to=stephan.gerhold@linaro.org \
--cc=linusw@kernel.org \
--cc=newbyte@postmarketos.org \
--cc=trini@konsulko.com \
--cc=u-boot@lists.u-boot-project.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.