blob: 86d1b5f9bbd9a9b93c91db63ce7af659b5f6c74c [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
10
11# SPI master controller drivers (bus)
Haavard Skinnemoen754ce4f2007-02-14 00:33:09 -080012obj-$(CONFIG_SPI_ATMEL) += atmel_spi.o
Gabor Juhos8efaef42011-01-04 21:28:22 +010013obj-$(CONFIG_SPI_ATH79) += ath79_spi.o
Wu, Bryana5f6abd2007-05-06 14:50:34 -070014obj-$(CONFIG_SPI_BFIN) += spi_bfin5xx.o
15obj-$(CONFIG_SPI_BITBANG) += spi_bitbang.o
Jan Nikitenko63bd2352007-05-08 00:32:25 -070016obj-$(CONFIG_SPI_AU1550) += au1550_spi.o
David Brownell71117632006-01-08 13:34:29 -080017obj-$(CONFIG_SPI_BUTTERFLY) += spi_butterfly.o
Steven King34b8c662010-01-20 13:49:44 -070018obj-$(CONFIG_SPI_COLDFIRE_QSPI) += coldfire_qspi.o
Sandeep Paulraj358934a2009-12-16 22:02:18 +000019obj-$(CONFIG_SPI_DAVINCI) += davinci_spi.o
Feng Tange24c7452009-12-14 14:20:22 -080020obj-$(CONFIG_SPI_DESIGNWARE) += dw_spi.o
Feng Tang7063c0d2010-12-24 13:59:11 +080021obj-$(CONFIG_SPI_DW_PCI) += dw_spi_midpci.o
22dw_spi_midpci-objs := dw_spi_pci.o dw_spi_mid.o
Jean-Hugues Deschenesf7b6fd62010-01-21 07:46:42 -070023obj-$(CONFIG_SPI_DW_MMIO) += dw_spi_mmio.o
Mika Westerberg011f23a2010-05-06 04:47:04 +000024obj-$(CONFIG_SPI_EP93XX) += ep93xx_spi.o
David Brownelld29389d2009-01-06 14:41:41 -080025obj-$(CONFIG_SPI_GPIO) += spi_gpio.o
Uwe Kleine-König6cdeb002009-10-01 15:44:28 -070026obj-$(CONFIG_SPI_IMX) += spi_imx.o
Kaiwan N Billimoria78961a52007-07-17 04:04:05 -070027obj-$(CONFIG_SPI_LM70_LLP) += spi_lm70llp.o
Stephen Streete0c99052006-03-07 23:53:24 -080028obj-$(CONFIG_SPI_PXA2XX) += pxa2xx_spi.o
Sebastian Andrzej Siewiord6ea3df2010-11-24 10:17:14 +010029obj-$(CONFIG_SPI_PXA2XX_PCI) += pxa2xx_spi_pci.o
David Brownellfdb3c182007-02-12 00:52:37 -080030obj-$(CONFIG_SPI_OMAP_UWIRE) += omap_uwire.o
Samuel Ortizccdc7bf2007-07-17 04:04:13 -070031obj-$(CONFIG_SPI_OMAP24XX) += omap2_mcspi.o
Cory Maccarrone35c90492009-12-13 01:02:11 -070032obj-$(CONFIG_SPI_OMAP_100K) += omap_spi_100k.o
Shadi Ammouri60cadec2008-08-05 13:01:09 -070033obj-$(CONFIG_SPI_ORION) += orion_spi.o
Linus Walleijb43d65f2009-06-09 08:11:42 +010034obj-$(CONFIG_SPI_PL022) += amba-pl022.o
Anatolij Gustschin6e27388f1b2010-04-30 13:21:27 +000035obj-$(CONFIG_SPI_MPC512x_PSC) += mpc512x_psc_spi.o
Dragos Carp00b8fd22007-05-10 22:22:52 -070036obj-$(CONFIG_SPI_MPC52xx_PSC) += mpc52xx_psc_spi.o
Grant Likely42bbb702009-11-04 15:34:18 -070037obj-$(CONFIG_SPI_MPC52xx) += mpc52xx_spi.o
Mingkai Hub36ece82010-10-12 18:18:31 +080038obj-$(CONFIG_SPI_FSL_LIB) += spi_fsl_lib.o
Mingkai Hu8b60d6c2010-10-12 18:18:32 +080039obj-$(CONFIG_SPI_FSL_ESPI) += spi_fsl_espi.o
Mingkai Hu32720292010-10-12 18:18:30 +080040obj-$(CONFIG_SPI_FSL_SPI) += spi_fsl_spi.o
Steven A. Falco44dab882009-09-22 16:45:58 -070041obj-$(CONFIG_SPI_PPC4xx) += spi_ppc4xx.o
Ben Dooks1fc75472006-05-20 15:00:17 -070042obj-$(CONFIG_SPI_S3C24XX_GPIO) += spi_s3c24xx_gpio.o
Ben Dooksbec08062009-12-14 22:20:24 -080043obj-$(CONFIG_SPI_S3C24XX) += spi_s3c24xx_hw.o
Jassi Brar230d42d2009-11-30 07:39:42 +000044obj-$(CONFIG_SPI_S3C64XX) += spi_s3c64xx.o
Erik Gilling0c03a1d2010-04-22 15:58:25 -070045obj-$(CONFIG_SPI_TEGRA) += spi_tegra.o
Masayuki Ohtakee8b17b52010-10-08 12:44:49 -060046obj-$(CONFIG_SPI_TOPCLIFF_PCH) += spi_topcliff_pch.o
Atsushi Nemotof2cac672007-07-17 04:04:15 -070047obj-$(CONFIG_SPI_TXX9) += spi_txx9.o
Andrei Konovalovae918c02007-07-17 04:04:11 -070048obj-$(CONFIG_SPI_XILINX) += xilinx_spi.o
Magnus Damm37e46642008-02-06 01:38:15 -080049obj-$(CONFIG_SPI_SH_SCI) += spi_sh_sci.o
Magnus Damm8051eff2009-11-26 11:10:05 +000050obj-$(CONFIG_SPI_SH_MSIOF) += spi_sh_msiof.o
dmitry pervushin0644c482009-09-22 16:46:15 -070051obj-$(CONFIG_SPI_STMP3XXX) += spi_stmp.o
Wan ZongShun30eaed02009-12-01 14:29:20 +000052obj-$(CONFIG_SPI_NUC900) += spi_nuc900.o
Ben Dooksbec08062009-12-14 22:20:24 -080053
54# special build for s3c24xx spi driver with fiq support
55spi_s3c24xx_hw-y := spi_s3c24xx.o
56spi_s3c24xx_hw-$(CONFIG_SPI_S3C24XX_FIQ) += spi_s3c24xx_fiq.o
57
David Brownell8ae12a02006-01-08 13:34:19 -080058# ... add above this line ...
59
60# SPI protocol drivers (device/link on bus)
Andrea Paterniani814a8d52007-05-08 00:32:15 -070061obj-$(CONFIG_SPI_SPIDEV) += spidev.o
Ben Dooks447aef12007-07-17 04:04:10 -070062obj-$(CONFIG_SPI_TLE62X0) += tle62x0.o
David Brownell8ae12a02006-01-08 13:34:19 -080063# ... add above this line ...
64
65# SPI slave controller drivers (upstream link)
66# ... add above this line ...
67
68# SPI slave drivers (protocol for that link)
69# ... add above this line ...