Re: MMC workflow (was Re: [PATCH] mmc: MMC 4.4 DDR support)

2010-09-13 Thread Wolfram Sang
On Tue, Sep 14, 2010 at 01:33:22AM +0100, Chris Ball wrote: > Hi, > > On Mon, Aug 23, 2010 at 05:45:28PM -0400, Chris Ball wrote: > > Sounds good -- if no-one objects, I'll send e-mail to ftpad...@k.o > > tomorrow asking for linux-mmc@ to be added to patchwork.k.o. > > This is up now: https://pa

[RFC] sdhci-s3c: support clock enable/disable (clock-gating)

2010-09-13 Thread Jaehoon Chung
Hi all, This is a RFC patch that support clock-gating for saving power consumption. I found mmc_host_enable/mmc_host_disable function in core.c (using MMC_CAP_DSIABLE. i think that use when host enable/disable) So, i used that functions and implemented some functions in sdhci-s3c.c & sdhci

RE: [PATCH] mmc: failure of block read wait for long time

2010-09-13 Thread Ghorai, Sukumar
Adrian, [..snip..] > >>> [Ghorai] Adrian, > >>> Yes this works and reduced the retry by 1/4 (2048 to 512 times for 1MB > >> data read) form the original code; > >>> Initially it was retrying for each page(512 bytes) after multi-block > >> read fail; but this solution is retying for each segment(20

Re: [PATCH V8] mmc : Add i.MX21 support to mxcmmc driver

2010-09-13 Thread Chris Ball
Hi Pavel, Sascha, On Fri, Sep 10, 2010 at 12:02:44AM +0200, Martin Fuzzey wrote: > Even though the i.MX21 SDHC module has the same revision number as the i.MX27 > one there are a few differences!! > Some interrupt enables are inverted. > FIFO is only 16 bits wide. > The ar

Re: MMC workflow (was Re: [PATCH] mmc: MMC 4.4 DDR support)

2010-09-13 Thread Chris Ball
Hi, On Mon, Aug 23, 2010 at 05:45:28PM -0400, Chris Ball wrote: > Sounds good -- if no-one objects, I'll send e-mail to ftpad...@k.o > tomorrow asking for linux-mmc@ to be added to patchwork.k.o. This is up now: https://patchwork.kernel.org/project/linux-mmc/list/ J.H. kindly piped in the last

Re: [RFC] thoughts about recent Samsung related patches

2010-09-13 Thread Kyungmin Park
On Mon, Sep 13, 2010 at 9:31 PM, Wolfram Sang wrote: >> > I hope my comments are applicable; because there is no freely available >> > datasheet, I can't verify all of my assumptions. Looking forward to >> > comments. >> Good, I think it's possible. I'll try and send a patch. > > Any news on this

[PATCH 6/7] sdhci_pci: Tidy this as well

2010-09-13 Thread Alan Cox
While doing the tidy up of the new stuff might as well tidy the old --- drivers/mmc/host/sdhci-pci.c | 48 ++ 1 files changed, 25 insertions(+), 23 deletions(-) diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c index bb14047..9692

[PATCH 4/7] mmc: serialization support

2010-09-13 Thread Alan Cox
Some hardware has restrictions that require only one command is outstanding per controller or some other similar restriction. Provide optional serialization support and enable it for the Intel MID platform devices with this restriction. Split up from some existing patches by JiebingLi. Signed-off

[PATCH 7/7] sdhci: Tidy up sdhci.c

2010-09-13 Thread Alan Cox
While we are passing through.. Signed-off-by: Alan Cox --- drivers/mmc/host/sdhci.c | 39 +++ 1 files changed, 19 insertions(+), 20 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 9d8047c..dcafe13 100644 --- a/drivers/m

[PATCH 5/7] sdhci: Tidy up spaces in sdhci_intel_mid

2010-09-13 Thread Alan Cox
Coding style fixes Signed-off-by: Alan Cox --- drivers/mmc/host/sdhci-intel-mid.c | 18 +- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/mmc/host/sdhci-intel-mid.c b/drivers/mmc/host/sdhci-intel-mid.c index 436ee46..5057133 100644 --- a/drivers/mmc/h

[PATCH 3/7] sdhci: Intel Medfield support

2010-09-13 Thread Alan Cox
From: Xiaochen Shen Basic support for the Intel Medfield devices Signed-off-by: Xiaochen Shen Signed-off-by: Alan Cox --- drivers/mmc/host/sdhci-pci.c | 49 ++ include/linux/pci_ids.h |5 2 files changed, 54 insertions(+), 0 deletions(-

[PATCH 2/7] sdhci: Allow the probe handler to override slots

2010-09-13 Thread Alan Cox
Currently we write it to the chip data, but if the probe handler overrides it we ignore the new value and keep using our cached one. Fix this so that a probe handler can adjust the slot count Signed-off-by: Alan Cox --- drivers/mmc/host/sdhci-pci.c |2 ++ 1 files changed, 2 insertions(+), 0

[PATCH 1/7] sdhci: Rework some of the quirk behaviour

2010-09-13 Thread Alan Cox
As the quirks go ever more complex it's getting harder and harder to integrate new drivers. The Intel MID devices add a whole further collection of new quirks so instead of quirks start moving some stuff to overridable functions. We also introduce an sdhci_reset_all helper which is told if the res

[PATCH 0/7] Intel MID SDHCI support (take two)

2010-09-13 Thread Alan Cox
Please ignore the original submission I found a nasty bug in it while I was submitting. --- Alan Cox (6): sdhci: Tidy up sdhci.c sdhci_pci: Tidy this as well sdhci: Tidy up spaces in sdhci_intel_mid mmc: serialization support sdhci: Allow the probe handler to overrid

[PATCH 1/4] sdhci: Rework some of the quirk behaviour

2010-09-13 Thread Alan Cox
As the quirks go ever more complex it's getting harder and harder to integrate new drivers. The Intel MID devices add a whole further collection of new quirks so instead of quirks start moving some stuff to overridable functions. We also introduce an sdhci_reset_all helper which is told if the res

[PATCH 2/4] sdhci: Allow the probe handler to override slots

2010-09-13 Thread Alan Cox
Currently we write it to the chip data, but if the probe handler overrides it we ignore the new value and keep using our cached one. Fix this so that a probe handler can adjust the slot count Signed-off-by: Alan Cox --- drivers/mmc/host/sdhci-pci.c |2 ++ 1 files changed, 2 insertions(+), 0

[PATCH 0/4] Intel MID support for SDHCI devices

2010-09-13 Thread Alan Cox
The Intel MID platforms need various workarounda and helpers. This series of patches introduces two things - A set of overrides for basic operations (as opposed to yet more quirk flags) - The supporting logic to propogate those new operations through the PCI sdhci code as far as is needed in eac

Re: [RFC] thoughts about recent Samsung related patches

2010-09-13 Thread Wolfram Sang
> > I hope my comments are applicable; because there is no freely available > > datasheet, I can't verify all of my assumptions. Looking forward to > > comments. > Good, I think it's possible. I'll try and send a patch. Any news on this ? Regards, Wolfram -- Pengutronix e.K.

Re: [PATCH] mmc: Add architecture dependency for Marvell SoC controller

2010-09-13 Thread Mark Brown
On Mon, Sep 13, 2010 at 12:48:38PM +0200, Arnd Bergmann wrote: > I think we normally try to do the the other way round: in order to increase > build coverage, try to enable all drivers on as many platforms as possible, > just don't have them in the defconfig. This is not the general pattern for o

Re: [PATCH] mmc: Add architecture dependency for Marvell SoC controller

2010-09-13 Thread Arnd Bergmann
On Monday 13 September 2010, Mark Brown wrote: > diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig > index ce099c4..5fa4e2b 100644 > --- a/drivers/mmc/host/Kconfig > +++ b/drivers/mmc/host/Kconfig > @@ -133,6 +133,7 @@ config MMC_SDHCI_CNS3XXX > config MMC_SDHCI_MV > tristat

[PATCH] mmc: Add architecture dependency for Marvell SoC controller

2010-09-13 Thread Mark Brown
Since the driver is for controllers integrated into Marvells SoCs only offer MMC_SDHCI_MV if we're building for one. Signed-off-by: Mark Brown --- drivers/mmc/host/Kconfig |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig