Re: [PATCH v2 2/2] regulator: Add support for sync_state() callbacks

From: Mark Brown
Date: Mon Jun 15 2020 - 07:49:39 EST


On Mon, Jun 15, 2020 at 12:27:23PM +0200, Ulf Hansson wrote:

> eMMC is not only about voltage levels, but also about enable/disable
> of the regulator(s).

> More precisely, one needs to follow the steps specified in the eMMC
> spec, when disabling the regulator(s).

> In other words, the mmc host driver needs to be probed (consumer of
> the regulator), before the regulator(s) can be disabled.

Right, though you can generally get away with it if you completely cut
the power. The big thing is that as part of this we need to actually do
the things at the time the driver asks for them to be done rather than
some other time.

Attachment: signature.asc
Description: PGP signature