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

[PATCH] mmc: mmc_test: avoid stalled file in debugfs

2011-07-22 Thread Andy Shevchenko
During card removal and inserting cycle the test file in the debugfs could be stalled until the host driver removes it. Let's keep the file in the linked list and destroy it when card is removed. Signed-off-by: Andy Shevchenko --- drivers/mmc/card/mmc_test.c | 56 +++---

Re: [PATCH] OMAP4: MMC: fix power and audio issue, decouple USBC1 from MMC1

2011-07-22 Thread Kishore Kadiyala
On Fri, Jul 22, 2011 at 12:59 AM, Bryan Buckley wrote: > Remove OMAP4_USBC1_ICUSB_PWRDNZ_MASK during enable/disable PWRDNZ mode for > MMC1_PBIAS and associated extended-drain MMC1 I/O cell. This is in accordance > with the control module programming guide. This fixes a bug where if trying to > use

Re: [PATCH] mmc: sdhci: fix retuning timer wrongly deleted in sdhci_tasklet_finish

2011-07-22 Thread zhangfei gao
On Thu, Jul 21, 2011 at 6:03 PM, Aaron Lu wrote: > On Thu, Jul 21, 2011 at 05:35:02PM +0800, zhangfei gao wrote: >> >> Does the execute_tuning is called again? >> del_timer is not delete timer really, but deactivate the timer, which >> could be re-activated by mod_timer. >> So if execute_tuning is

Re: [PATCH 2/2 v2] eSDHC: Fix errors when booting kernel with fsl esdhc

2011-07-22 Thread Anton Vorontsov
On Fri, Jul 22, 2011 at 06:15:17PM +0800, Roy Zang wrote: [...] > if (host->version >= SDHCI_SPEC_200) { > - ctrl = sdhci_readb(host, SDHCI_HOST_CONTROL); > - ctrl &= ~SDHCI_CTRL_DMA_MASK; > - if ((host->flags & SDHCI_REQ_USE_DMA) && > -

SDIO card, newbie question

2011-07-22 Thread Lars Segerlund
 Hi all,  I have a question about latency and SDIO, since many laptops don't have a 'gameport' anymore and I want to do realtime IO, I was thinking of making a SDIO GPIO card.  I know USB is a no go, if not using buffers for outgoing data ... so SDIO is a desperate mans hope.  i need a refresh rat

[PATCH 2/2 v2] eSDHC: Fix errors when booting kernel with fsl esdhc

2011-07-22 Thread Roy Zang
From: Xu lei When esdhc module was enabled in p5020, there were following errors: mmc0: Timeout waiting for hardware interrupt. mmc0: error -110 whilst initialising SD card mmc0: Unexpected interrupt 0x0200. mmc0: Timeout waiting for hardware interrupt. mmc0: error -110 whilst initialising S

[PATCH 1/2 v2] eSDHC: Access Freescale eSDHC registers by 32-bit

2011-07-22 Thread Roy Zang
From: Xu lei For Freescale eSDHC registers only support 32-bit accesses, this patch ensure that all Freescale eSDHC register accesses are 32-bit. Signed-off-by: Xu lei Signed-off-by: Roy Zang Signed-off-by: Kumar Gala --- this patch set replaces previous patches: https://patchwork.kernel.org/

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