lkml.org 
[lkml]   [2009]   [Feb]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 4/5] Blackfin SPI Driver: Add GPIO controlled SPI Slave Select support
On Thu,  5 Feb 2009 18:07:32 +0800
Bryan Wu <cooloney@kernel.org> wrote:

>
> This patch adds support for GPIO controlled SPI Chip Selects.
> To make use of this feature, set chip_select = 0 and add a proper
> cs_gpio to your controller_data.
>
> struct spi_board_info
> .chip_select = 0
>
> struct bfin5xx_spi_chip
> .cs_gpio = GPIO_P###
>
> There are various SPI devices that require SPI MODE_0,
> and need to have the Chip Selects asserted during the entire transfer.
> Consider using SPI_MODE_3 (SPI_CPHA | SPI_CPOL) if your device allows
> it.

Cannot apply this due to previously-mentioned driver-core-tramplings.


\
 
 \ /
  Last update: 2009-02-05 23:17    [W:0.077 / U:0.184 seconds]
©2003-2011 Jasper Spaans. Advertise on this site