Re: [PATCH] mmc: sdio add regulator vsdio

2011-07-22 Thread Philip Rakity
Could we have an architecture discussion about how this is supposed to be done and a picture please ! (a pointer to good working code would be nice) On brownstone the SDIO 8787 power is supplied by a ldo which is dedicated to the internal SDIO chip. The Power GPIO (PDn) is an on/off switch fo

Re: [PATCH] mmc: sdio add regulator vsdio

2011-07-22 Thread zhangfei gao
On Fri, Jul 22, 2011 at 2:50 PM, Daniel Drake wrote: > On 21 July 2011 03:34, Zhangfei Gao 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. Whe

Re: [PATCH] mmc: sdio add regulator vsdio

2011-07-21 Thread Daniel Drake
On 21 July 2011 03:34, Zhangfei Gao 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

[PATCH] mmc: sdio add regulator vsdio

2011-07-20 Thread Zhangfei Gao
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 CC: Ohad Ben-Cohen Signed-off-by: Zhangfei Gao --- drivers/mmc/host/sdhci.c | 24 include/linux/mmc/sdhci.h |2 ++ 2 files