From: David Brownell Subject: Re: [patch 2.6.27-git] spi_gpio driver Date: Mon, 20 Oct 2008 01:37:00 -0700 Message-ID: <200810200137.00875.david-b@pacbell.net> References: <200807202146.12759.mb@bu3sch.de> <200810192124.36402.david-b@pacbell.net> <20081020091127.GA4413@trinity.fluff.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: spi-devel-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org, Andrew Morton , Magnus Damm , linux-kernel To: Ben Dooks Return-path: In-Reply-To: <20081020091127.GA4413-SMNkleLxa3Z6Wcw2j4pizdi2O/JbrIOy@public.gmane.org> Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: spi-devel-general-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-spi.vger.kernel.org On Monday 20 October 2008, Ben Dooks wrote: > On Sun, Oct 19, 2008 at 09:24:36PM -0700, David Brownell wrote: > > From: David Brownell > > > > 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 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/