[PATCH] mmc: Test bus-width for old MMC devices (v2)

2010-12-14 Thread Takashi Iwai
From: Aries Lee Some old MMC devices fail with the 4/8 bits the driver tries to use exclusively. This patch adds a test for the given bus setup and falls back to the lower bit mode (until 1-bit mode) when the test fails. [Major rework and refactoring by tiwai] [Quirk addition and many fixes by

Re: [PATCH 2/2] mmc: Test bus-width for old MMC devices

2010-12-14 Thread Takashi Iwai
At Tue, 14 Dec 2010 23:03:42 -0500, zhangfei gao wrote: > > On Wed, Nov 24, 2010 at 1:21 AM, Takashi Iwai wrote: > > From: Aries Lee > > > > Some old MMC devices fail with the 4/8 bits the driver tries to use > > exclusively.  This patch adds a test for the given bus setup and falls > > back to

[PATCH 4/4] mmc: add sdhci-tegra driver for Tegra SoCs

2010-12-14 Thread Olof Johansson
SDHCI driver for Tegra. Pretty straight forward, a few pieces of functionality left to fill in but nothing that stops it from going upstream. Board enablement submitted separately. This driver is based on an original one from: Signed-off-by: Yvonne Yip Misc fixes and suspend/resume by: Signed-

[PATCH 3/4] sdhci: don't finish commands in flight

2010-12-14 Thread Olof Johansson
Don't schedule the finish_tasklet unless the command complete bit is set in the interrupt status register. Signed-off-by: Olof Johansson --- drivers/mmc/host/sdhci.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c ind

[PATCH 1/4] sdhci: add quirk for max len ADMA descriptors

2010-12-14 Thread Olof Johansson
Some controllers misparse segment length 0 as being 0, not 65536. Add a quirk to deal with it. Signed-off-by: Olof Johansson --- drivers/mmc/host/sdhci.c | 10 +++--- include/linux/mmc/sdhci.h |2 ++ 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/sdhci

[PATCH 0/4] Add SDHCI driver for Tegra

2010-12-14 Thread Olof Johansson
Hi Chris, This series introduces a SDHCI driver for the on-chip MMC/SDIO controller on tegra. Some of the erratas weren't feasible to work around locally in the driver, so it also adds a couple of new quirk bits. Thanks, -Olof -- To unsubscribe from this list: send the line "unsubscribe linux-m

[PATCH 2/4] sdhci: add quirk for broken sdio irq

2010-12-14 Thread Olof Johansson
Some controllers can't handle SDIO IRQ properly. Give a way to disable it. Signed-off-by: Olof Johansson --- drivers/mmc/host/sdhci.c |6 +- include/linux/mmc/sdhci.h |2 ++ 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sd

Re: [PATCH 2/2] mmc: Test bus-width for old MMC devices

2010-12-14 Thread zhangfei gao
On Wed, Nov 24, 2010 at 1:21 AM, Takashi Iwai wrote: > From: Aries Lee > > Some old MMC devices fail with the 4/8 bits the driver tries to use > exclusively.  This patch adds a test for the given bus setup and falls > back to the lower bit mode (until 1-bit mode) when the test fails. > > [Major r

Re: [PATCH 0/3] handle unaligned buffers, when using TMIO-MMC with DMA

2010-12-14 Thread Guennadi Liakhovetski
Hi Ian It's been 3 weeks... Have you had a chance to look at these and previous my tmio patches? Any comments or are they ok to go? Thanks Guennadi On Tue, 23 Nov 2010, Guennadi Liakhovetski wrote: > While testing SDIO on SuperH with TMIO and DMA, it turned out, that > buffers, submitted to t

Re: [PATCH 1/4] mmc: tmio: Implement SDIO IRQ

2010-12-14 Thread Magnus Damm
Hi Arnd, Thanks a lot for your help so far. I've found a bit of time to test stuff now. On Wed, Dec 8, 2010 at 12:08 AM, Arnd Hannemann wrote: > Am 07.12.2010 09:37, schrieb Magnus Damm: >> On Tue, Dec 7, 2010 at 9:22 PM, Arnd Hannemann wrote: >>> Am 07.12.2010 00:39, schrieb Magnus Damm:

RE: [PATCH v5 0/4]implement eMMC4.4 standard HW reset feature

2010-12-14 Thread Dong, Chuanxiao
Hi all, This feature can reset eMMC card when card cannot response any command. As eMMC4.4 standard recommended, the HW reset will only be launched when card occurs timeout errors. To make sure card can be reset, using HW reset instead of using command 0. So if this kind of scenario occurs, these