On Thu, 9 Sep 2010 11:48:22 +0800
David Brownell <[email protected]> wrote:

> You know, in retrospect, I shouldn't have put
> most of those SPI device setup params into the
> board setup data.
> 
> There's one which MUST be there:  polarity of
> the chip select line.  The rest seem like they
> could (and arguably should) all be handled by
> driver-specific params.  (Possible exception:
> clock rate, which sometimes matters even when
> chips are not selected).
> 
> At any rate, adding MORE driver-specific params
> (like bits-per-word) to board setup data seems
> like the wrong direction to go..

Agree. Thank you two for helping me get an overall picture of
configuring these parameters.

-Feng

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
spi-devel-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/spi-devel-general

Reply via email to