[PATCH 3/7] ARM: U300: set f_max to 24 MHz for MMCI

Linus Walleij linus.walleij at stericsson.com
Wed Feb 24 09:35:46 EST 2010


[Russell]

> Pierre used to argue that stopping the clock to the card was a bad
> thing, which is probably based on his experience dealing with SD/SDIO
> cards - so really the overrun/underrun problem is not a bug with the
> hardware.

Yep I heard from earlier discussions, and it's probably not a good
idea at all on SDIO cards atleast.

I don't know how this hardware solution actually works, if it's
really like they're gating the clock, could be something else,
like NACK:in all transactions or whatever the MMC/SD spec permits,
could even be a hidden deep buffer. I will try to dig out the details.

In newer designs like the U8500 we have the PIO IRQ removed even,
so they can only be used without DMA.

> So I'm just going to sit on the AMBA DMA stuff for the time being.

OK no hurries, I do see the problems :-/

If a generic PrimeCell DMA doesn't work out, we will have to fork
the driver instead, since we cannot even use it with the U8500
without DMA support, perhaps this is just as good anyway since
we wouldn't be disturbing RealView etc with our patches. But
it'll lead to some code duplication.

Linus Walleij



More information about the linux-arm-kernel mailing list