Skip to contentSkip to conversation

Freescale STMP SPI driver

PATCH New dmitry pervushin 1 participant 1 message Apr 29, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Freescale STMP SPI driver

Hello all,

This patch adds SPI bus driver for Freescale STMP 3xxx-based boards

---
 drivers/spi/Kconfig    |    6
 drivers/spi/Makefile   |    1
 drivers/spi/spi_stmp.c |  657 +++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/spi/spi_stmp.h |   45 +++
 4 files changed, 709 insertions(+)
drivers/spi/Kconfig +6 -0
Index: linux-2.6-arm/drivers/spi/Kconfig
===================================================================
@@ -204,6 +204,12 @@ config SPI_SH_SCI
 	help
 	  SPI driver for SuperH SCI blocks.
 
+config SPI_STMP3XXX
+	tristate "Freescale STMP37xx/378x SPI/SSP controller"
+	depends on ARCH_STMP3XXX && SPI_MASTER
+	help
+	  SPI driver for Freescale STMP37xx/378x SoC SSP interface
+
 config SPI_TXX9
 	tristate "Toshiba TXx9 SPI controller"
 	depends on GENERIC_GPIO && CPU_TX49XX
drivers/spi/Makefile +1 -0
Index: linux-2.6-arm/drivers/spi/Makefile
===================================================================
@@ -30,6 +30,7 @@ obj-$(CONFIG_SPI_S3C24XX)		+= spi_s3c24x
 obj-$(CONFIG_SPI_TXX9)			+= spi_txx9.o
 obj-$(CONFIG_SPI_XILINX)		+= xilinx_spi.o
 obj-$(CONFIG_SPI_SH_SCI)		+= spi_sh_sci.o
+obj-$(CONFIG_SPI_STMP3XXX)		+= spi_stmp.o
 # 	... add above this line ...
 
 # SPI protocol drivers (device/link on bus)
drivers/spi/spi_stmp.c new file +657 -0

657 lines not on this page · raw message

drivers/spi/spi_stmp.h new file +45 -0

45 lines not on this page · raw message

------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf