blob: 13b6ccf904d94934ac10ad8ac5e4233880d803bb [file] [log] [blame]
David Brownell8ae12a02006-01-08 13:34:19 -08001#
2# Makefile for kernel SPI drivers.
3#
4
matt mooneyfadcf492010-09-24 12:17:32 -07005ccflags-$(CONFIG_SPI_DEBUG) := -DDEBUG
David Brownell8ae12a02006-01-08 13:34:19 -08006
7# small core, mostly translating board-specific
8# config declarations into driver model code
9obj-$(CONFIG_SPI_MASTER) += spi.o
Grant Likelyca632f52011-06-06 01:16:30 -060010obj-$(CONFIG_SPI_SPIDEV) += spidev.o
David Brownell8ae12a02006-01-08 13:34:19 -080011
12# SPI master controller drivers (bus)
Grant Likelyca632f52011-06-06 01:16:30 -060013obj-$(CONFIG_SPI_ALTERA) += spi-altera.o
14obj-$(CONFIG_SPI_ATMEL) += spi-atmel.o
15obj-$(CONFIG_SPI_ATH79) += spi-ath79.o
16obj-$(CONFIG_SPI_AU1550) += spi-au1550.o
Chris Bootf8043872013-03-11 21:38:24 -060017obj-$(CONFIG_SPI_BCM2835) += spi-bcm2835.o
Florian Fainellib42dfed2012-02-01 11:14:09 +010018obj-$(CONFIG_SPI_BCM63XX) += spi-bcm63xx.o
Jonas Gorski142168e2013-11-30 12:42:06 +010019obj-$(CONFIG_SPI_BCM63XX_HSSPI) += spi-bcm63xx-hsspi.o
Scott Jiang22ac3e82012-04-23 18:18:08 -040020obj-$(CONFIG_SPI_BFIN5XX) += spi-bfin5xx.o
Scott Jiangfa4bd4f2013-06-26 18:07:40 -040021obj-$(CONFIG_SPI_BFIN_V3) += spi-bfin-v3.o
Grant Likelyca632f52011-06-06 01:16:30 -060022obj-$(CONFIG_SPI_BFIN_SPORT) += spi-bfin-sport.o
23obj-$(CONFIG_SPI_BITBANG) += spi-bitbang.o
24obj-$(CONFIG_SPI_BUTTERFLY) += spi-butterfly.o
Alexander Shiyan161b96c2012-11-07 21:30:29 +040025obj-$(CONFIG_SPI_CLPS711X) += spi-clps711x.o
Grant Likelyca632f52011-06-06 01:16:30 -060026obj-$(CONFIG_SPI_COLDFIRE_QSPI) += spi-coldfire-qspi.o
27obj-$(CONFIG_SPI_DAVINCI) += spi-davinci.o
28obj-$(CONFIG_SPI_DESIGNWARE) += spi-dw.o
29obj-$(CONFIG_SPI_DW_MMIO) += spi-dw-mmio.o
30obj-$(CONFIG_SPI_DW_PCI) += spi-dw-midpci.o
31spi-dw-midpci-objs := spi-dw-pci.o spi-dw-mid.o
Uwe Kleine-König86f89732013-08-08 16:09:50 +020032obj-$(CONFIG_SPI_EFM32) += spi-efm32.o
Grant Likelyca632f52011-06-06 01:16:30 -060033obj-$(CONFIG_SPI_EP93XX) += spi-ep93xx.o
Thomas Langer6cd3c7e2012-05-20 15:46:19 +020034obj-$(CONFIG_SPI_FALCON) += spi-falcon.o
Andreas Larssone8beacb2013-02-15 16:52:21 +010035obj-$(CONFIG_SPI_FSL_CPM) += spi-fsl-cpm.o
Chao Fu349ad662013-08-16 11:08:55 +080036obj-$(CONFIG_SPI_FSL_DSPI) += spi-fsl-dspi.o
Grant Likelyca632f52011-06-06 01:16:30 -060037obj-$(CONFIG_SPI_FSL_LIB) += spi-fsl-lib.o
38obj-$(CONFIG_SPI_FSL_ESPI) += spi-fsl-espi.o
39obj-$(CONFIG_SPI_FSL_SPI) += spi-fsl-spi.o
40obj-$(CONFIG_SPI_GPIO) += spi-gpio.o
41obj-$(CONFIG_SPI_IMX) += spi-imx.o
42obj-$(CONFIG_SPI_LM70_LLP) += spi-lm70llp.o
43obj-$(CONFIG_SPI_MPC512x_PSC) += spi-mpc512x-psc.o
44obj-$(CONFIG_SPI_MPC52xx_PSC) += spi-mpc52xx-psc.o
45obj-$(CONFIG_SPI_MPC52xx) += spi-mpc52xx.o
Marek Vasut646781d2012-08-03 17:26:11 +020046obj-$(CONFIG_SPI_MXS) += spi-mxs.o
Grant Likelyca632f52011-06-06 01:16:30 -060047obj-$(CONFIG_SPI_NUC900) += spi-nuc900.o
48obj-$(CONFIG_SPI_OC_TINY) += spi-oc-tiny.o
David Daney6b52c002012-08-22 12:25:07 -070049obj-$(CONFIG_SPI_OCTEON) += spi-octeon.o
Grant Likelyca632f52011-06-06 01:16:30 -060050obj-$(CONFIG_SPI_OMAP_UWIRE) += spi-omap-uwire.o
51obj-$(CONFIG_SPI_OMAP_100K) += spi-omap-100k.o
52obj-$(CONFIG_SPI_OMAP24XX) += spi-omap2-mcspi.o
Sourav Poddar505a1492013-08-20 18:55:48 +053053obj-$(CONFIG_SPI_TI_QSPI) += spi-ti-qspi.o
Grant Likelyca632f52011-06-06 01:16:30 -060054obj-$(CONFIG_SPI_ORION) += spi-orion.o
55obj-$(CONFIG_SPI_PL022) += spi-pl022.o
56obj-$(CONFIG_SPI_PPC4xx) += spi-ppc4xx.o
Mika Westerbergcd7bed02013-01-22 12:26:28 +020057spi-pxa2xx-platform-objs := spi-pxa2xx.o
58spi-pxa2xx-platform-$(CONFIG_SPI_PXA2XX_PXADMA) += spi-pxa2xx-pxadma.o
Mika Westerberg59288082013-01-22 12:26:29 +020059spi-pxa2xx-platform-$(CONFIG_SPI_PXA2XX_DMA) += spi-pxa2xx-dma.o
Mika Westerbergcd7bed02013-01-22 12:26:28 +020060obj-$(CONFIG_SPI_PXA2XX) += spi-pxa2xx-platform.o
Grant Likelyca632f52011-06-06 01:16:30 -060061obj-$(CONFIG_SPI_PXA2XX_PCI) += spi-pxa2xx-pci.o
Shimoda, Yoshihiro0b2182d2012-03-07 14:46:25 +090062obj-$(CONFIG_SPI_RSPI) += spi-rspi.o
Grant Likelyca632f52011-06-06 01:16:30 -060063obj-$(CONFIG_SPI_S3C24XX) += spi-s3c24xx-hw.o
64spi-s3c24xx-hw-y := spi-s3c24xx.o
65spi-s3c24xx-hw-$(CONFIG_SPI_S3C24XX_FIQ) += spi-s3c24xx-fiq.o
66obj-$(CONFIG_SPI_S3C64XX) += spi-s3c64xx.o
Guenter Roeck3ce88592012-08-18 09:06:27 -070067obj-$(CONFIG_SPI_SC18IS602) += spi-sc18is602.o
Grant Likelyca632f52011-06-06 01:16:30 -060068obj-$(CONFIG_SPI_SH) += spi-sh.o
Kuninori Morimotod1c8bbd2012-03-01 17:10:17 -080069obj-$(CONFIG_SPI_SH_HSPI) += spi-sh-hspi.o
Grant Likelyca632f52011-06-06 01:16:30 -060070obj-$(CONFIG_SPI_SH_MSIOF) += spi-sh-msiof.o
71obj-$(CONFIG_SPI_SH_SCI) += spi-sh-sci.o
Zhiwu Song1cc2df92012-02-13 17:45:38 +080072obj-$(CONFIG_SPI_SIRF) += spi-sirf.o
Maxime Ripard3558fe92014-02-05 14:05:05 +010073obj-$(CONFIG_SPI_SUN6I) += spi-sun6i.o
Laxman Dewanganf333a332013-02-22 18:07:39 +053074obj-$(CONFIG_SPI_TEGRA114) += spi-tegra114.o
Laxman Dewangan85285472012-11-14 05:54:47 +053075obj-$(CONFIG_SPI_TEGRA20_SFLASH) += spi-tegra20-sflash.o
Laxman Dewangandc4dc362012-10-30 12:34:05 +053076obj-$(CONFIG_SPI_TEGRA20_SLINK) += spi-tegra20-slink.o
Grant Likelyca632f52011-06-06 01:16:30 -060077obj-$(CONFIG_SPI_TI_SSP) += spi-ti-ssp.o
78obj-$(CONFIG_SPI_TLE62X0) += spi-tle62x0.o
79obj-$(CONFIG_SPI_TOPCLIFF_PCH) += spi-topcliff-pch.o
80obj-$(CONFIG_SPI_TXX9) += spi-txx9.o
Lars-Peter Clausenb3165902012-07-19 18:44:07 +020081obj-$(CONFIG_SPI_XCOMM) += spi-xcomm.o
Grant Likelyca632f52011-06-06 01:16:30 -060082obj-$(CONFIG_SPI_XILINX) += spi-xilinx.o