Thanks for answer

somewhere i have seen:
"For a while it seemed like MMC cards worked OK but not SD cards!"

Hm...
I have a SD card: Transcend, 512Mb... may it be the problem?..

Sergej.
________________________________________
Von: Anton Vorontsov [EMAIL PROTECTED]
Gesendet: Freitag, 31. Oktober 2008 14:45
An: Stepanov, Sergej
Cc: [email protected]
Betreff: Re: mmc_spi with GPIO_MODE_3

On Fri, Oct 31, 2008 at 01:49:31PM +0100, Stepanov, Sergej wrote:
> Hello Anton,
>
> could you say me please, would the mmc_spi-driver function with GPIO_MODE_3?

You mean SPI_MODE_3? Well, it should work, or even better it shouldn't
matter if it is 3 or 0. See Pierre's answer:
http://www.mail-archive.com/[EMAIL PROTECTED]/msg00160.html

But in reality MODE_0 works better.

http://www.mail-archive.com/[EMAIL PROTECTED]/msg00155.html
http://www.mail-archive.com/[EMAIL PROTECTED]/msg00231.html

IIRC nobody knows why exactly this happens, or better, nobody bothered
to investigate, since MODE_0 works OK. ;-)

> I have seen in mmc_spi_probe() this spi->mode = SPI_MODE_0.
> What should come back if i have CI and CP other then in SPI_MODE_0?

Something like this I suppose:

http://www.mail-archive.com/[EMAIL PROTECTED]/msg00153.html

--
Anton Vorontsov
email: [EMAIL PROTECTED]
irc://irc.freenode.net/bd2
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to