linux-spi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* More on "SD-over-SPI with shared SPI bus"
@ 2008-10-10  6:08 yi li
  0 siblings, 0 replies; only message in thread
From: yi li @ 2008-10-10  6:08 UTC (permalink / raw)
  To: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Hi Erwin,

You mentioned in your previous mail on August that, you have a patch
to make mmc_spi
share bus with other SPI devices. This is the latest mail I can find
on this topic.

>
> I have done this in a slightly different, rather simple way. I have
> added a new "transfer_end" callback function pointer to the spi_transfer
> structure. This function can have three return values:
>
> <0 ... stop spi message after the transfer
> 0 ... continue with next transfer
> 1 ... repeat current transfer
>
> If the transfer_end callback is not required, the function pointer must
> be set to NULL.
>
> I have modified the bitbang driver for this new functionality. In
> addition, the mmc_spi driver has been changed to make use of the
> callback function. It is necessary to pack all transfers that must be
> done without being interrupted into a single message. I have done a lot
> of testing with a SD card on a shared bus with a lot of other activity,
> and I couldn't see any problems.

I am wondering whether this patch has been finished? Is it possible to
release the patch for testing?
I am planning to implement similar thing, but I hope to base my work
on your patch.

Best Regards,

-Yi

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-10-10  6:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-10  6:08 More on "SD-over-SPI with shared SPI bus" yi li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).