Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752181AbYJTILs (ORCPT ); Mon, 20 Oct 2008 04:11:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751591AbYJTILj (ORCPT ); Mon, 20 Oct 2008 04:11:39 -0400 Received: from trinity.fluff.org ([89.145.97.151]:37380 "EHLO trinity.fluff.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751585AbYJTILi (ORCPT ); Mon, 20 Oct 2008 04:11:38 -0400 Date: Mon, 20 Oct 2008 10:11:27 +0100 From: Ben Dooks To: David Brownell Cc: Magnus Damm , Andrew Morton , spi-devel-general@lists.sourceforge.net, linux-kernel Subject: Re: [spi-devel-general] [patch 2.6.27-git] spi_gpio driver Message-ID: <20081020091127.GA4413@trinity.fluff.org> References: <200807202146.12759.mb@bu3sch.de> <200810181354.23955.david-b@pacbell.net> <200810192124.36402.david-b@pacbell.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200810192124.36402.david-b@pacbell.net> X-Disclaimer: These are my views alone. X-URL: http://www.fluff.org/ User-Agent: Mutt/1.5.9i X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: ben@trinity.fluff.org X-SA-Exim-Scanned: No (on trinity.fluff.org); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1035 Lines: 27 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. -- Ben Q: What's a light-year? A: One-third less calories than a regular year. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/