Skip to contentSkip to conversation

spi: add PCI interface driver for Designware SPI core

PATCH Superseded Feng Tang 1 participant 1 message Aug 4, 2009 SPI

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Feng Tang

author
#0 lore raw

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

Quoted 1 line

From 9c76570795a653a80126b88d427542cfe834f670 Mon Sep 17 00:00:00 2001

From: Feng Tang <[email protected]>
Date: Tue, 4 Aug 2009 16:31:53 +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 80b1017..906bca4 100644
@@ -233,6 +233,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 f3f36e0..3a49fac 100644
@@ -32,6 +32,7 @@ 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_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 · 7 lines
1.5.6.3

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july