[PATCH 3/3] libertas: if_spi, driver for libertas GSPI devices

Peter Wippich pewi at gw-instruments.de
Fri Dec 19 11:57:48 EST 2008

Hi Andrey, 

> The '8686 requires us to assert CS# and then hold it asserted for the
> entire transaction.  The transaction is an arbitrary number of SPI
> transfers.  Most host controllers cannot do this (they'll toggle CS#
> between individual transactions) and therefore we chose to not use the
> controller CS# line and use a GPIO.  Can you suggest a different way
> to do this given the current SPI framework?

This can be handled by the SPI driver. See pxa2xx_spi.c as an example. 
Look for cs_control() to get the picture..... 
Perhaps this should go to the general driver and not be handled by the 
chip specific code. Seems a problem general enough.  



More information about the libertas-dev mailing list