lkml.org 
[lkml]   [2008]   [Oct]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [spi-devel-general] [patch 2.6.27-git] spi_gpio driver
Date
On Monday 20 October 2008, Ben Dooks wrote:
> On Sun, Oct 19, 2008 at 09:24:36PM -0700, David Brownell wrote:
> > From: David Brownell <dbrownell@users.sourceforge.net>
> >
> > Generalize the old at91rm9200 "bootstrap" bitbanging SPI master driver
> > as "spi_gpio", so it works with arbitrary GPIOs and can be configured
> > through platform_data. Such SPI masters support:
> >
> > - any number of bus instances (bus_num is the platform_device.id)
> > - any number of chipselects (one GPIO per spi_device)
> > - all four SPI_MODE values, and SPI_CS_HIGH
> > - i/o word sizes from 1 to 32 bits;
> > - devices configured as with any other spi_master controller
>
> Probably worth looking at removing the s3c24xx gpio specific driver and
> replacing it with this.

Good point. Let me know if you see any issues doing that,
beyond the need to change some boards' setup code and
defconfigs first.

- Dave




\
 
 \ /
  Last update: 2008-10-20 10:39    [W:0.035 / U:13.908 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site