spi: add PCI interface driver for Designware SPI core
PATCH RESEND v2 2/3 spi: add PCI interface driver for Designware SPI core
Quoted 1 line
From
d3a274bff43279f6209c074be2be4d44ae3a9ceeMon 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
Signed-off-by Feng Tang <[email protected]>
--- 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
@@ -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
@@ -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 · 8 lines
1.5.6.3 ------------------------------------------------------------------------------ Come build with us! The BlackBerry® 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/devconf