On Tue, Feb 26, 2008 at 11:46 PM, David Brownell <[EMAIL PROTECTED]> wrote:
> On Tuesday 26 February 2008, Bryan Wu wrote:
>  > On Tue, Feb 26, 2008 at 11:16 PM, Hans Eklund <[EMAIL PROTECTED]> wrote:
>
>  > --
>  > /* NOTES:
>  >  *
>  >  * ...
>
> >  *
>  >  * - MMC depends on a different chipselect management policy than the
>  >  *   SPI interface currently supports for shared bus segments:  it needs
>  >  *   to issue multiple spi_message requests with the chipselect active,
>  >  *   using the results of one message to decide the next one to issue.
>  >  *
>  >  *   Pending updates to the programming interface, this driver expects
>  >  *   that it not share the bus with other drivers (precluding conflicts).
>  >  *
>  >  * - We tell the controller to keep the chipselect active from the
>  >  *   beginning of an mmc_host_ops.request until the end.  So beware
>  >  *   of SPI controller drivers that mis-handle the cs_change flag!
>  >  *
>  >  *   However, many cards seem OK with chipselect flapping up/down
>  >  *   during that time ... at least on unshared bus segments.
>  >  */
>  > ---
>  >
>  > So we can investigate with the SPI framework update.
>  >
>  > >  There is one messaging scheme that i cant figure out how to create
>  > >  correctly using spi messages and transfers that is important for the
>  > >  MMC/SD SPI protocol.
>
>  I'm not following something here.  Is there another MMC-over-SPI
>  driver being developed?  Why not use the current one?

a MMC-over-SPI driver for the Blackfin was developed by Hans long
before there was a SPI framework in the kernel let alone the
MMC-over-SPI driver that is in there now.  i suggested he look at
integrating anything from his driver into the one that's in mainline
now and while that'll happen at some point, it looks like he can get
the issues he has with the old one sorted out sooner.
-mike

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to