[PATCH] ARM i.MX SPI driver changes for i.MX53 support

2011-01-11 Thread yong.shen
From: Yong Shen yong.s...@freescale.com 1. Change the Kconfig to include i.MX53 2. add devtype entry for i.MX53 Signed-off-by: Yong Shen yong.s...@freescale.com Acked-by: Sascha Hauer s.ha...@pengutronix.de --- drivers/spi/Kconfig |4 ++-- drivers/spi/spi_imx.c |6 ++ 2 files

ARM i.MX SPI driver changes for i.MX53 support

2011-01-11 Thread yong.shen
resend this to include spi-devel list. -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a

RE: [PATCH 1/3] spi_topcliff_pch: support new device ML7213

2011-01-11 Thread Tomoya MORINAGA
Hi Grant, On Friday, January 07, 2011 6:22 PM, Milton Miller wrote: follow mfd_add_devices into drivers/mfd/mfd-core.c I have also seen mfd-core.c. However, I couldn't clear my question. Q1. It seems platform_device is not used in your example. Does need platform_device ? Q2. How detect

RE: [PATCH 1/3] spi_topcliff_pch: support new device ML7213

2011-01-11 Thread Tomoya MORINAGA
Resend (Previous destination address is broken partly.) Hi Grant, On Friday, January 07, 2011 6:22 PM, Milton Miller wrote: follow mfd_add_devices into drivers/mfd/mfd-core.c I have also seen mfd-core.c. However, I couldn't clear my question. Q1. It seems platform_device is not used in your

[PATCH 15/16] spi: dw_spi: don't treat NULL clk as an error

2011-01-11 Thread Jamie Iles
clk_get() returns a struct clk cookie to the driver and some platforms may return NULL if they only support a single clock. clk_get() has only failed if it returns a ERR_PTR() encoded pointer. Cc: spi-devel-general@lists.sourceforge.net Signed-off-by: Jamie Iles ja...@jamieiles.com ---

Re: [PATCH 7/7 v2] OMAP: runtime: McSPI driver runtime conversion

2011-01-11 Thread Govindraj
On Sat, Jan 8, 2011 at 4:19 AM, Kevin Hilman khil...@ti.com wrote: Grant Likely grant.lik...@secretlab.ca writes: On Wed, Dec 01, 2010 at 07:32:11PM +0530, Govindraj.R wrote: McSPI runtime conversion. Changes involves: 1) remove clock framework apis to use runtime framework apis. 2) context

Re: [PATCH 15/16] spi: dw_spi: don't treat NULL clk as an error

2011-01-11 Thread Grant Likely
On Tue, Jan 11, 2011 at 12:43:52PM +, Jamie Iles wrote: clk_get() returns a struct clk cookie to the driver and some platforms may return NULL if they only support a single clock. clk_get() has only failed if it returns a ERR_PTR() encoded pointer. Cc:

[PATCH] spi: spidev: Add 32 bit compat ioctl()

2011-01-11 Thread Bernhard Walle
Add the compat_ioctl for operations on /dev/spi* so that 32 bit userspace applications can access SPI. As far as I can see all data structure are already prepared for that, so no additional conversion has to be done. My use case is MIPS with N32 userspace ABI and toolchain, and that was also the

[PATCH 1/2] spi/bfin_spi: support for multiples of 8bits with hardware CS

2011-01-11 Thread Mike Frysinger
From: Bob Liu lliu...@gmail.com We can do multiples of 8bit transfers when using the hardware CS and a little bit of magic, so make it work. Signed-off-by: Bob Liu lliu...@gmail.com Signed-off-by: Mike Frysinger vap...@gentoo.org --- drivers/spi/spi_bfin5xx.c | 103

[PATCH 2/2] spi/bfin_spi: return immediately after skipping to next transfer

2011-01-11 Thread Mike Frysinger
From: Sonic Zhang sonic.zh...@analog.com If there is an error with setting up a transfer, we need to return immediately rather than trying to continue to process things. We already set up the error states for the caller at this point. Signed-off-by: Sonic Zhang sonic.zh...@analog.com

Re: [uclinux-dist-devel] [Uclinux-dist-devel] [PATCH] spi/bfin_sport_spi: new driver to emulate a SPI bus using Blackfin SPORT peripheral

2011-01-11 Thread Mike Frysinger
On Mon, Jan 10, 2011 at 10:22, Grant Likely wrote: On Mon, Jan 10, 2011 at 09:39:40AM -0500, Mike Frysinger wrote: On Mon, Nov 1, 2010 at 01:56, Grant Likely wrote: On Fri, Oct 22, 2010 at 02:53:35AM -0400, Mike Frysinger wrote: +     /* SPI framework hookup */ +     struct spi_master

[PATCH v2] spi/bfin_sport_spi: new driver for a SPI bus via the Blackfin SPORT peripheral

2011-01-11 Thread Mike Frysinger
From: Cliff Cai cliff@analog.com The Blackfin SPORT peripheral is a pretty flexible device. With enough coaching, we can make it generate SPI compatible waveforms. This is desirable as the SPORT can run at much higher clock frequencies than the dedicated on-chip SPI peripheral, and it can

Re: How to mesure current SPI transfer speed

2011-01-11 Thread Jassi Brar
On Tue, Jan 11, 2011 at 5:25 AM, Kevyn-Alexandre Paré kap...@rogue-research.com wrote: What's the best way to calculate the current SPI transfer speed? Right now I use something like that and transfer one spi_message with 1 spi_transfer of 10 bytes and I do the math... I know that this

[PATCH v2] spi: add OpenCores tiny SPI driver

2011-01-11 Thread Thomas Chou
This patch adds support of OpenCores tiny SPI master driver. http://opencores.org/project,tiny_spi Signed-off-by: Thomas Chou tho...@wytron.com.tw --- v2 add devicetree support drivers/spi/Kconfig |6 + drivers/spi/Makefile|1 + drivers/spi/oc_tiny_spi.c |

RE: [PATCH 1/3] spi_topcliff_pch: support new device ML7213

2011-01-11 Thread Tomoya MORINAGA
On Tuesday, January 11, 2011 6:42 PM, Tomoya MORINAGA wrote: However, I couldn't clear my question. I show the current our coding image. Is the following agreeable with your saying ? struct spi_platform_data { u16 num_chipselect; bool little_endian; u8 bits_per_word;

[PATCH V2] spi: Enable SPI driver for S5P6440 and S5P6450

2011-01-11 Thread Kukjin Kim
From: Abhilash Kesavan a.kesa...@samsung.com This patch enables the existing S3C64XX series SPI driver for S5P64X0 and removed dependency on EXPERIMENTAL because we don't need it now. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Sangbeom Kim sbki...@samsung.com Cc: Jassi

[PATCH V3] spi: Enable SPI driver for S5P6440 and S5P6450

2011-01-11 Thread Kukjin Kim
From: Abhilash Kesavan a.kesa...@samsung.com This patch enables the existing S3C64XX series SPI driver for S5P64X0 and removed dependency on EXPERIMENTAL because we don't need it now. Signed-off-by: Abhilash Kesavan a.kesa...@samsung.com Signed-off-by: Sangbeom Kim sbki...@samsung.com Cc: Jassi

Re: [PATCH V3] spi: Enable SPI driver for S5P6440 and S5P6450

2011-01-11 Thread Jassi Brar
On Wed, Jan 12, 2011 at 3:00 PM, Kukjin Kim kgene@samsung.com wrote: From: Abhilash Kesavan a.kesa...@samsung.com This patch enables the existing S3C64XX series SPI driver for S5P64X0 and removed dependency on EXPERIMENTAL because we don't need it now. Signed-off-by: Abhilash Kesavan