[PATCH] mmc: sdio add regulator vsdio

Daniel Drake dsd at laptop.org
Fri Jul 22 02:50:14 EDT 2011


On 21 July 2011 03:34, Zhangfei Gao <zhangfei.gao at marvell.com> wrote:
> sdio client may be required power on/off dynamically.
> With regulator vsdio, sdio client power on/off could be executed by mmc_power_up/down

I think you can/should do this with vmmc. When the device gets powered
down (e.g. in runtime suspend), the voltage should be cut, so it
should be possible to use the existing regulator.

I also looked at doing this before, when it looked like we would have
to manipulate a GPIO reset line for SD8686. I decided that the current
vmmc implementation in sdhci wasn't quite complete enough, but it
wouldn't be much effort to correct this.

Daniel



More information about the linux-arm-kernel mailing list