Re: [spi-devel-general] PATCH[V2 1/3]: Update Platform files for SPI

2010-02-18 Thread Grant Likely
On Thu, Feb 18, 2010 at 10:09 AM, Tony Lindgren wrote: > * Grant Likely [100218 08:26]: >> On Tue, Feb 9, 2010 at 3:25 PM, Tony Lindgren wrote: >> > * Hemanth V [100203 02:19]: >> >> From ee48142ddc43129a21676dbb56a83e3e7d8063de Mon Sep 17 00:00:00 2001 >> >> From: Hemanth V >> >> Date: Fri, 2

Re: [spi-devel-general] PATCH[V2 1/3]: Update Platform files for SPI

2010-02-18 Thread Tony Lindgren
* Grant Likely [100218 08:26]: > On Tue, Feb 9, 2010 at 3:25 PM, Tony Lindgren wrote: > > * Hemanth V [100203 02:19]: > >> From ee48142ddc43129a21676dbb56a83e3e7d8063de Mon Sep 17 00:00:00 2001 > >> From: Hemanth V > >> Date: Fri, 27 Nov 2009 14:22:30 +0530 > >> Subject: [PATCH] Update platform

Re: [spi-devel-general] PATCH[V2 1/3]: Update Platform files for SPI

2010-02-18 Thread Grant Likely
On Tue, Feb 9, 2010 at 3:25 PM, Tony Lindgren wrote: > * Hemanth V [100203 02:19]: >> From ee48142ddc43129a21676dbb56a83e3e7d8063de Mon Sep 17 00:00:00 2001 >> From: Hemanth V >> Date: Fri, 27 Nov 2009 14:22:30 +0530 >> Subject: [PATCH] Update platform files >> >> This patch updates platform fil

Re: [spi-devel-general] [PATCH 1/2 V2] spi/mmc_spi: SPI bus locking API, using mutex

2010-02-18 Thread Ernst Schwab
Followup patch to correct missing return value. Signed-off-by: Ernst Schwab --- Apparently I missed to look at the compiler warnings, sorry for that. diff -upr a/drivers/spi/spi.c b/drivers/spi/spi.c --- a/drivers/spi/spi.c +++ a/drivers/spi/spi.c @@ -852,7 +852,7 @@ static int __spi_sync(struct

Re: [spi-devel-general] [PATCH 1/2 V2] spi/mmc_spi: SPI bus locking API, using mutex

2010-02-18 Thread Ernst Schwab
I integrated your changes in V2, I hope I did not miss anything. On Wed, 17 Feb 2010 13:03:04 -0700 Grant Likely wrote: [...] > spi_sync() and spi_sync_locked() are largely idenical. Only > difference is that spi_sync() needs to obtain the mutex. Rename > spi_sync() to __spi_sync() and add a '

[spi-devel-general] [PATCH 2/2 V2] spi/mmc_spi: mmc_spi adaptations for SPI bus locking API

2010-02-18 Thread Ernst Schwab
From: Ernst Schwab Modification of the mmc_spi driver to use the SPI bus locking API. With this, the mmc_spi driver can be used together with other SPI devices on the same SPI bus. The exclusive access to the SPI bus is now managed in the SPI layer. The counting of chip selects in the probe funct

[spi-devel-general] [PATCH 1/2 V2] spi/mmc_spi: SPI bus locking API, using mutex

2010-02-18 Thread Ernst Schwab
From: Ernst Schwab SPI bus locking API to allow exclusive access to the SPI bus, especially, but not limited to, for the mmc_spi driver. Coded according to an outline from Grant Likely; here is his specification (accidentally swapped function names corrected): It requires 3 things to be added t

[spi-devel-general] [RESEND][PATCH V2 3/3] Add support for Slave mode

2010-02-18 Thread Hemanth V
Pl also find the patch attached, incase corrupted by mailer Thanks Hemanth >From ae4c6a91bbcfc842f97cf48dd13f6de02baae1d3 Mon Sep 17 00:00:00 2001 From: Hemanth V Date: Fri, 27 Nov 2009 14:37:20 +0530 Subject: [PATCH 3/3] Add McSPI slave support. This patch adds support for mcspi slave mode. S

[spi-devel-general] [RESEND] [PATCH V2 2/3]: Adds support for FIFO

2010-02-18 Thread Hemanth V
Pl also find the patch attached, incase corrupted by mailer Thanks Hemanth >From 00ae9791a5461fece3c3a89527cf3e8648352c32 Mon Sep 17 00:00:00 2001 From: Hemanth V Date: Wed, 2 Dec 2009 18:13:13 +0530 Subject: [PATCH 2/3] Adds support for FIFO and auto chip select mode DMA and FIFO could be enab