From mboxrd@z Thu Jan 1 00:00:00 1970 From: mika.westerberg@iki.fi (Mika Westerberg) Date: Wed, 28 Apr 2010 20:51:19 +0300 Subject: [PATCH v5 0/2] spi: driver for Cirrus EP93xx SPI controller Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hello, This series implements SPI master driver for Cirrus Logic EP93xx SPI controllers. This is fifth iteration of the driver. Changes to the previous version: - addressed review comments - added priming the TX FIFO when transfer is started - in case of ROR interrupt we clear it - added documentation in Documentation/spi/ep93xx_spi which provides sample code how the driver can be hooked into platform data I tested this on TS-7260 board with at25 and mmc_spi drivers. Now that I have Sim.One board, which is EP9307 based, I also tested with that (I hacked the board a bit to get EGPIO9 as a chip select). Note that patch 2/2 depends on patch that is already in Russell's patch tracking system: http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=5998/1 Thanks, MW Mika Westerberg (2): spi: implemented driver for Cirrus EP93xx SPI controller ep93xx: SPI driver platform support code Documentation/spi/ep93xx_spi | 102 +++ arch/arm/mach-ep93xx/clock.c | 13 + arch/arm/mach-ep93xx/core.c | 50 ++ arch/arm/mach-ep93xx/include/mach/ep93xx-regs.h | 1 + arch/arm/mach-ep93xx/include/mach/ep93xx_spi.h | 32 + arch/arm/mach-ep93xx/include/mach/platform.h | 4 + drivers/spi/Kconfig | 11 + drivers/spi/Makefile | 1 + drivers/spi/ep93xx_spi.c | 972 +++++++++++++++++++++++ 9 files changed, 1186 insertions(+), 0 deletions(-) create mode 100644 Documentation/spi/ep93xx_spi create mode 100644 arch/arm/mach-ep93xx/include/mach/ep93xx_spi.h create mode 100644 drivers/spi/ep93xx_spi.c