Skip to contentSkip to conversation

spi: add PCI interface driver for Designware SPI core

PATCH In review Feng Tang 1 participant 1 message Oct 12, 2009 SPI

lore
Share & tools
lore

Feng Tang

author
#0 lore raw

PATCH v3 2/3 spi: add PCI interface driver for Designware SPI core

Quoted 1 line

From 08d9f64c47e2c76c6f417a6eb7f8f7f2ce45cb47 Mon Sep 17 00:00:00 2001

From: Feng Tang <[email protected]>
Date: Sat, 10 Oct 2009 14:57:33 +0800
Subject: [PATCH 2/3] spi: add PCI interface driver for Designware SPI core

This add the PCI interface driver for DW SPI core, it has been tested on Intel Moorestown platform

---
 drivers/spi/Kconfig      |    4 +
 drivers/spi/Makefile     |    1 +
 drivers/spi/dw_spi_pci.c |  169 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 174 insertions(+), 0 deletions(-)
 create mode 100644 drivers/spi/dw_spi_pci.c
drivers/spi/Kconfig +4 -0
index 6eb9621..bd39e80 100644
@@ -250,6 +250,10 @@ config SPI_DESIGNWARE
 	help
 	  general driver for SPI controller core from DesignWare
 
+config SPI_DW_PCI
+	tristate "PCI interface driver for DW SPI core"
+	depends on SPI_DESIGNWARE && PCI
+
 #
 # Add new SPI master controllers in alphabetical order above this line
 #
drivers/spi/Makefile +1 -0
index 5cc4e19..51ebff0 100644
@@ -34,6 +34,7 @@ obj-$(CONFIG_SPI_XILINX)		+= xilinx_spi.o
 obj-$(CONFIG_SPI_SH_SCI)		+= spi_sh_sci.o
 obj-$(CONFIG_SPI_STMP3XXX)		+= spi_stmp.o
 obj-$(CONFIG_SPI_DESIGNWARE)		+= dw_spi.o
+obj-$(CONFIG_SPI_DW_PCI)		+= dw_spi_pci.o
 # 	... add above this line ...
 
 # SPI protocol drivers (device/link on bus)
drivers/spi/dw_spi_pci.c new file +169 -0

169 lines not on this page · raw message

Signature · 8 lines
1.6.0.4

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference