* mmc-spi on pxa2xx, flipping sph bit
@ 2009-11-09 19:16 Mike Borsuk
0 siblings, 0 replies; only message in thread
From: Mike Borsuk @ 2009-11-09 19:16 UTC (permalink / raw)
To: linux-mmc
Hello,
I am working on getting mmc_spi to work with a an ARM PXA270 on 2.6.31
I am able to successfully mount the fs on a Transcend mini-sd card
(though some i/o errors are reported during init sequence),
but some cards such as SanDisk Ultra II MiniSD 2GB fail to initialize.
The card is identified but then every command sent to it appears to
return an error. The block driver reports errors such as:
mmcblk0: error -38 sending status command
mmcblk0: error -84 sending stop command, response 0x8, card status 0xff04
mmcblk0: error -38 sending status command
mmcblk0: error -38 sending read/write command, response 0x4, card \
status 0xff04 end_request: I/O error, dev mmcblk0, sector 3969984
Interestingly, if I toggle the value for the SPH bit in the SSCR1
register, which should control the SSP port's clock phase, the SanDisk
card starts working but the Transcend card then fails to even be
detected.
Does anyone know if this indicates timing issues on the board, chip
configuration problems or anything else in particular?
--
Michael Borsuk
mike@borsuk.org
http://www.borsuk.org
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-11-09 19:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-09 19:16 mmc-spi on pxa2xx, flipping sph bit Mike Borsuk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox