LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: David Brownell <david-b@pacbell.net>
To: Ben Dooks <ben-linux@fluff.org>
Cc: Magnus Damm <magnus.damm@gmail.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	spi-devel-general@lists.sourceforge.net,
	"linux-kernel" <linux-kernel@vger.kernel.org>
Subject: Re: [spi-devel-general] [patch 2.6.27-git] spi_gpio driver
Date: Mon, 20 Oct 2008 01:37:00 -0700	[thread overview]
Message-ID: <200810200137.00875.david-b@pacbell.net> (raw)
In-Reply-To: <20081020091127.GA4413@trinity.fluff.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 <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



  reply	other threads:[~2008-10-20  8:37 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-20 19:46 [PATCH v3] Add SPI over GPIO driver Michael Buesch
2008-10-17  3:14 ` Magnus Damm
2008-10-17  8:52   ` Michael Buesch
2008-10-17  9:52     ` Magnus Damm
2008-10-17 11:18       ` Michael Buesch
2008-10-18  4:36         ` Andrew Morton
2008-10-18  9:32           ` Michael Buesch
2008-10-18 20:41             ` Piotr Skamruk
2008-10-18 20:54               ` David Brownell
2008-10-20  2:44                 ` Magnus Damm
2008-10-20  4:16                   ` David Brownell
2008-10-20  9:48                     ` Michael Buesch
2008-10-20  4:24                   ` [patch 2.6.27-git] spi_gpio driver David Brownell
2008-10-20  9:11                     ` [spi-devel-general] " Ben Dooks
2008-10-20  8:37                       ` David Brownell [this message]
2008-10-21 12:40                     ` Magnus Damm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200810200137.00875.david-b@pacbell.net \
    --to=david-b@pacbell.net \
    --cc=akpm@linux-foundation.org \
    --cc=ben-linux@fluff.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=spi-devel-general@lists.sourceforge.net \
    --subject='Re: [spi-devel-general] [patch 2.6.27-git] spi_gpio driver' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).