Hi Wolfram,
First three patches work well on my vpr200 board (mx35).
One comment inline...
I ran some tests of insert/remove card with the card locked and unlocked, and
trying to append a file. It behaved as expected, thus:
Tested-by: Marc Reilly
> +static unsigned int esdhc_pltfm_get_ro(s
"Kadiyala, Kishore" writes:
[...]
>
>>
>> The board code should simply call some mmc init routine optionally
>> passing int the platform_data, just like is done for hsmmc_init.
>>
>> With common hwmod data, shouldn't it be possible to unify the init of
>> MMC and HS-MMC controllers?
>
> The init
On Thu, 10 Feb 2011, Kadiyala, Kishore wrote:
> On Wed, Feb 9, 2011 at 4:59 AM, Paul Walmsley wrote:
> > On Wed, 2 Feb 2011, Kishore Kadiyala wrote:
> >
> >> Update the omap2420 hwmod data with the HSMMC info.
> >
> > Umm, this doesn't look right. OMAP2420 doesn't have an HSMMC block as far
> >
Hi Mark,
On Thu, Feb 10, 2011 at 10:58:37AM +, Mark Brown wrote:
> So we know the implementation and prototypes agree with each other.
>
> Signed-off-by: Mark Brown
> ---
> drivers/mmc/core/sd.c |1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mmc/core/
Hi,
On Thu, Feb 10, 2011 at 10:41:02AM +, Will Newton wrote:
> The test file is created under debugfs, not sysfs. Also remove
> the unnecessary default n.
>
> Signed-off-by: Will Newton
> ---
> drivers/mmc/card/Kconfig |3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
> diff
Hi,
On Thu, Feb 10, 2011 at 10:40:57AM +, Will Newton wrote:
> Setting this bit in the clock enable register will stop the clock
> when the card is in the IDLE state.
>
> Signed-off-by: Will Newton
> ---
> drivers/mmc/host/dw_mmc.c |3 ++-
> 1 files changed, 2 insertions(+), 1 deletions
Hi Will,
On Thu, Feb 10, 2011 at 10:40:42AM +, Will Newton wrote:
> We need to run the card detect tasklet at the end of slot initialisation
> as it is possible that a card has been inserted prior to boot, so we don't
> see an insertion interrupt and now the card is sitting there inserted but
Adding Anton to Cc...
On Thu, Feb 10, 2011 at 08:14:48PM +0100, Wolfram Sang wrote:
> It can be worked around using a GPIO which will be done for i.MX later.
>
> Signed-off-by: Wolfram Sang
> ---
> drivers/mmc/host/sdhci-esdhc-imx.c |3 ++-
> drivers/mmc/host/sdhci-esdhc.h |1 -
>
Signed-off-by: Wolfram Sang
---
arch/arm/mach-mx3/mach-pcm043.c | 13 -
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-mx3/mach-pcm043.c b/arch/arm/mach-mx3/mach-pcm043.c
index bcf83fc..26b686c 100644
--- a/arch/arm/mach-mx3/mach-pcm043.c
+++ b/arch/ar
Signed-off-by: Wolfram Sang
---
arch/arm/plat-mxc/include/mach/esdhc.h |2 +
drivers/mmc/host/sdhci-esdhc-imx.c | 75
2 files changed, 77 insertions(+), 0 deletions(-)
diff --git a/arch/arm/plat-mxc/include/mach/esdhc.h
b/arch/arm/plat-mxc/include/mach
Hi,
I finally could do a second version of my write protect-patches and the first
version of a card detect approach (thanks to Olof for the inspiration here).
Note that these feature are only needed for i.mx25/35 as the i.mx5x-series
_finally_ seem to be able to route the gpios to the controller d
The latter are error-prone because the bank number is one less than one
would read in the documentation.
Signed-off-by: Wolfram Sang
Cc: Eric Bénard
Cc: Sascha Hauer
---
arch/arm/mach-mx3/eukrea_mbimxsd-baseboard.c |4 ++--
arch/arm/mach-mx3/mach-cpuimx35.c|2 +-
arch/arm/m
Signed-off-by: Wolfram Sang
---
arch/arm/plat-mxc/include/mach/esdhc.h | 10 +-
drivers/mmc/host/sdhci-esdhc-imx.c | 51 +---
2 files changed, 49 insertions(+), 12 deletions(-)
diff --git a/arch/arm/plat-mxc/include/mach/esdhc.h
b/arch/arm/plat-mxc/includ
It can be worked around using a GPIO which will be done for i.MX later.
Signed-off-by: Wolfram Sang
---
drivers/mmc/host/sdhci-esdhc-imx.c |3 ++-
drivers/mmc/host/sdhci-esdhc.h |1 -
drivers/mmc/host/sdhci-of-esdhc.c |3 ++-
3 files changed, 4 insertions(+), 3 deletions(-)
dif
Hello.
I wonder if somebody could help me to understand if both
the Advanced Security SD (ASSD) protocol
http://www.sdcard.org/developers/tech/ASSD/
and the M-Commerce Extension Specification 1.10
are supported in Linux.
Welcome advice and comments.
Many thanks in advance.
Kind Regards
Pippo
On Friday 11 February 2011, Shawn Guo wrote:
>
> > > + struct resource *res;
> > > + struct resource *dma_res;
> > > + struct clk *clk;
> >
> > are visible in the parent.
> >
> It seems this is a generally used approach, seen in mxcmmc and pxa
On Wed, Feb 9, 2011 at 4:35 AM, Kevin Hilman wrote:
> Kishore Kadiyala writes:
>
>> Changes involves:
>> 1) Remove controller reset in devices.c which is taken care
>> by hwmod framework.
>> 2) Removing all base address macro defines.
>> 3) Using omap-device layer to register device and utiliz
Hi Paul,
On Wed, Feb 9, 2011 at 4:59 AM, Paul Walmsley wrote:
> On Wed, 2 Feb 2011, Kishore Kadiyala wrote:
>
>> Update the omap2420 hwmod data with the HSMMC info.
>
> Umm, this doesn't look right. OMAP2420 doesn't have an HSMMC block as far
> as I know. It also uses a different driver than la
Signed-off-by: Wolfram Sang
Cc: Olof Johansson
Cc: Chris Ball
---
Found the leak while working on the esdhc-imx driver. Not even compile tested,
please check.
drivers/mmc/host/sdhci-tegra.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/host/sdhci-te
On Wed, Feb 9, 2011 at 4:06 AM, Kevin Hilman wrote:
> Kishore Kadiyala writes:
>
>> Update the omap2420 hwmod data with the HSMMC info.
>> Add a device attribute structure which will be used
>> by the host driver to find whether the HSMMC controller
>> supports DUAL VOLT cards.
>>
>> Signed-off-b
Hi Kevin,
On Wed, Feb 9, 2011 at 4:00 AM, Kevin Hilman wrote:
> Kishore Kadiyala writes:
>
>> From: Paul Walmsley
>>
>> Update the omap3 hwmod data with the HSMMC info.
>>
>> Signed-off-by: Paul Walmsley
>> Signed-off-by: Kevin Hilman
>> Signed-off-by: Rajendra Nayak
>> Signed-off-by: Kishor
Hi Arnd,
Sorry for the late response. It really took me some time to address
your comments, especially about using mmc core completion to save
the one in the driver.
On Fri, Feb 04, 2011 at 09:26:52PM +0100, Arnd Bergmann wrote:
> On Saturday 05 February 2011 03:18:41 Shawn Guo wrote:
> > This a
The host_sglen is now actually used to keep track of whether DMA
is active or not, so rename and retype it to bool.
Signed-off-by: Linus Walleij
---
drivers/mmc/host/sh_mmcif.c | 18 +-
1 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/drivers/mmc/host/sh_mmcif.c b
Use the new dmaengine helper functions, and drop the error check
on the returned cookier from the dmaengine - we recently
established that this is really not allowed to fail.
Signed-off-by: Linus Walleij
---
drivers/mmc/host/sh_mmcif.c | 22 ++
1 files changed, 6 insertions
Use the new dmaengine helper functions, and drop the error check
on the returned cookier from the dmaengine - we recently
established that this is really not allowed to fail.
Signed-off-by: Linus Walleij
---
drivers/mmc/host/tmio_mmc.c | 17 -
1 files changed, 4 insertions(+),
As established for the MMCI, it is proper to map the DMA buffers
on the DMA engine which is the one actually performing the DMA.
Signed-off-by: Linus Walleij
---
drivers/mmc/host/tmio_mmc.c | 10 ++
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/host/tmio_mm
As established for the MMCI, it is proper to map the DMA buffers
on the DMA engine which is the one actually performing the DMA.
Signed-off-by: Linus Walleij
---
drivers/mmc/host/sh_mmcif.c | 12
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/drivers/mmc/host/sh_mm
This variable doesn't seem to be used for anything after the
other patches so just drop it.
Signed-off-by: Linus Walleij
---
drivers/mmc/host/tmio_mmc.c |9 ++---
1 files changed, 2 insertions(+), 7 deletions(-)
diff --git a/drivers/mmc/host/tmio_mmc.c b/drivers/mmc/host/tmio_mmc.c
inde
As established for the MMCI, it is proper to map the DMA buffers
on the DMA engine which is the one actually performing the DMA.
Signed-off-by: Linus Walleij
---
drivers/mmc/host/atmel-mci.c |8 +---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/drivers/mmc/host/atmel-mc
Fixes the following:
- It is perfectly legal for the dma_map_sg() to return fewer
entries than were passed in.
- Supply the returned numer of (possibly coalesced) entries to
the device_pre_slave_sg() function.
- Use the proper original sg_len when unmapping the sglist
in the error path.
Sign
Use the new dmaengine helpers to make the code more readable.
Signed-off-by: Linus Walleij
---
drivers/mmc/host/atmel-mci.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/mmc/host/atmel-mci.c b/drivers/mmc/host/atmel-mci.c
index df5a135..80bc9a5 100644
---
According to the DMA-API you shall unmap the sglists with the same
sglist length as passed into the mapping function, not the
returned value from the mapping function.
Signed-off-by: Linus Walleij
---
drivers/mmc/host/sh_mmcif.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff
According to the DMA-API you shall unmap the sglists with the same
sglist length as passed into the mapping function, not the
returned value from the mapping function.
Signed-off-by: Linus Walleij
---
drivers/mmc/host/tmio_mmc.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff
This patch series fixes a number of DMA-API and dmaengine issues
that we encountered while working with the recent changes to the
MMCI/PL180 driver. It'd be bad to leave bad examples around like
this.
It's hard for me to regression-compile this let alone test these
so ACK:s from maintainers would
Le 10/02/2011 16:08, Linus Walleij :
> Fixes the following:
> - It is perfectly legal for the dma_map_sg() to return fewer
> entries than were passed in.
> - Supply the returned numer of (possibly coalesced) entries to
> the device_pre_slave_sg() function.
> - Use the proper original sg_len whe
Le 10/02/2011 16:08, Linus Walleij :
> As established for the MMCI, it is proper to map the DMA buffers
> on the DMA engine which is the one actually performing the DMA.
>
> Signed-off-by: Linus Walleij
Signed-off-by: Nicolas Ferre
> ---
> drivers/mmc/host/atmel-mci.c |8 +---
> 1 fil
Le 10/02/2011 16:08, Linus Walleij :
> Use the new dmaengine helpers to make the code more readable.
>
> Signed-off-by: Linus Walleij
Signed-off-by: Nicolas Ferre
> ---
Thanks for this update Linus! (That was on my todo list ;-))
Best regards,
> drivers/mmc/host/atmel-mci.c |6 +++---
>
On Wed, Feb 9, 2011 at 5:14 AM, Tony Lindgren wrote:
> * Kishore Kadiyala [110208 12:45]:
>> Adding hwmod data for hsmmc device on OMAP2420/OMAP2430/OMAP3/OMAP4.
>> Adapting the omap_hsmmc driver to hwmod framework
>>
>> V2:
>> ---
>> Updated hwmod data for OMAP2420 & OMAP2430.
>>
>> The patch se
So we know the implementation and prototypes agree with each other.
Signed-off-by: Mark Brown
---
drivers/mmc/core/sd.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/mmc/core/sd.c b/drivers/mmc/core/sd.c
index d18c32b..6dac89f 100644
--- a/drivers/mmc/core/sd.c
The test file is created under debugfs, not sysfs. Also remove
the unnecessary default n.
Signed-off-by: Will Newton
---
drivers/mmc/card/Kconfig |3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/mmc/card/Kconfig b/drivers/mmc/card/Kconfig
index 2a876c4..3b1f783
Setting this bit in the clock enable register will stop the clock
when the card is in the IDLE state.
Signed-off-by: Will Newton
---
drivers/mmc/host/dw_mmc.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index 0b
We need to run the card detect tasklet at the end of slot initialisation
as it is possible that a card has been inserted prior to boot, so we don't
see an insertion interrupt and now the card is sitting there inserted but with
no power to it.
Signed-off-by: Neil Jones
Signed-off-by: Will Newton
42 matches
Mail list logo