Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0 |
David Brownell | 8ae12a0 | 2006-01-08 13:34:19 -0800 | [diff] [blame] | 2 | # |
| 3 | # Makefile for kernel SPI drivers. |
| 4 | # |
| 5 | |
matt mooney | fadcf49 | 2010-09-24 12:17:32 -0700 | [diff] [blame] | 6 | ccflags-$(CONFIG_SPI_DEBUG) := -DDEBUG |
David Brownell | 8ae12a0 | 2006-01-08 13:34:19 -0800 | [diff] [blame] | 7 | |
| 8 | # small core, mostly translating board-specific |
| 9 | # config declarations into driver model code |
| 10 | obj-$(CONFIG_SPI_MASTER) += spi.o |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 11 | obj-$(CONFIG_SPI_SPIDEV) += spidev.o |
Martin Sperl | 9789619 | 2015-11-27 16:17:21 +0000 | [diff] [blame] | 12 | obj-$(CONFIG_SPI_LOOPBACK_TEST) += spi-loopback-test.o |
David Brownell | 8ae12a0 | 2006-01-08 13:34:19 -0800 | [diff] [blame] | 13 | |
| 14 | # SPI master controller drivers (bus) |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 15 | obj-$(CONFIG_SPI_ALTERA) += spi-altera.o |
Romain Perier | 5762ab7 | 2016-12-08 15:58:44 +0100 | [diff] [blame] | 16 | obj-$(CONFIG_SPI_ARMADA_3700) += spi-armada-3700.o |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 17 | obj-$(CONFIG_SPI_ATMEL) += spi-atmel.o |
| 18 | obj-$(CONFIG_SPI_ATH79) += spi-ath79.o |
| 19 | obj-$(CONFIG_SPI_AU1550) += spi-au1550.o |
Lars-Peter Clausen | b1353d1 | 2016-02-04 17:13:30 +0100 | [diff] [blame] | 20 | obj-$(CONFIG_SPI_AXI_SPI_ENGINE) += spi-axi-spi-engine.o |
Chris Boot | f804387 | 2013-03-11 21:38:24 -0600 | [diff] [blame] | 21 | obj-$(CONFIG_SPI_BCM2835) += spi-bcm2835.o |
Martin Sperl | 1ea29b3 | 2015-09-11 11:22:04 +0000 | [diff] [blame] | 22 | obj-$(CONFIG_SPI_BCM2835AUX) += spi-bcm2835aux.o |
Rafał Miłecki | 0fc6a32 | 2014-08-17 18:33:38 +0200 | [diff] [blame] | 23 | obj-$(CONFIG_SPI_BCM53XX) += spi-bcm53xx.o |
Florian Fainelli | b42dfed | 2012-02-01 11:14:09 +0100 | [diff] [blame] | 24 | obj-$(CONFIG_SPI_BCM63XX) += spi-bcm63xx.o |
Jonas Gorski | 142168e | 2013-11-30 12:42:06 +0100 | [diff] [blame] | 25 | obj-$(CONFIG_SPI_BCM63XX_HSSPI) += spi-bcm63xx-hsspi.o |
Kamal Dasu | cc20a38 | 2016-08-24 18:04:29 -0400 | [diff] [blame] | 26 | obj-$(CONFIG_SPI_BCM_QSPI) += spi-iproc-qspi.o spi-brcmstb-qspi.o spi-bcm-qspi.o |
Scott Jiang | 22ac3e8 | 2012-04-23 18:18:08 -0400 | [diff] [blame] | 27 | obj-$(CONFIG_SPI_BFIN5XX) += spi-bfin5xx.o |
Scott Jiang | 766e372 | 2014-04-04 16:27:17 +0800 | [diff] [blame] | 28 | obj-$(CONFIG_SPI_ADI_V3) += spi-adi-v3.o |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 29 | obj-$(CONFIG_SPI_BFIN_SPORT) += spi-bfin-sport.o |
| 30 | obj-$(CONFIG_SPI_BITBANG) += spi-bitbang.o |
| 31 | obj-$(CONFIG_SPI_BUTTERFLY) += spi-butterfly.o |
Harini Katakam | c474b38 | 2014-04-14 14:36:53 +0530 | [diff] [blame] | 32 | obj-$(CONFIG_SPI_CADENCE) += spi-cadence.o |
Alexander Shiyan | 161b96c | 2012-11-07 21:30:29 +0400 | [diff] [blame] | 33 | obj-$(CONFIG_SPI_CLPS711X) += spi-clps711x.o |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 34 | obj-$(CONFIG_SPI_COLDFIRE_QSPI) += spi-coldfire-qspi.o |
| 35 | obj-$(CONFIG_SPI_DAVINCI) += spi-davinci.o |
Laurentiu Palcu | 3d8c0d74 | 2014-12-08 15:52:29 +0200 | [diff] [blame] | 36 | obj-$(CONFIG_SPI_DLN2) += spi-dln2.o |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 37 | obj-$(CONFIG_SPI_DESIGNWARE) += spi-dw.o |
| 38 | obj-$(CONFIG_SPI_DW_MMIO) += spi-dw-mmio.o |
| 39 | obj-$(CONFIG_SPI_DW_PCI) += spi-dw-midpci.o |
| 40 | spi-dw-midpci-objs := spi-dw-pci.o spi-dw-mid.o |
Uwe Kleine-König | 86f8973 | 2013-08-08 16:09:50 +0200 | [diff] [blame] | 41 | obj-$(CONFIG_SPI_EFM32) += spi-efm32.o |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 42 | obj-$(CONFIG_SPI_EP93XX) += spi-ep93xx.o |
Thomas Langer | 6cd3c7e | 2012-05-20 15:46:19 +0200 | [diff] [blame] | 43 | obj-$(CONFIG_SPI_FALCON) += spi-falcon.o |
Andreas Larsson | e8beacb | 2013-02-15 16:52:21 +0100 | [diff] [blame] | 44 | obj-$(CONFIG_SPI_FSL_CPM) += spi-fsl-cpm.o |
Chao Fu | 349ad66 | 2013-08-16 11:08:55 +0800 | [diff] [blame] | 45 | obj-$(CONFIG_SPI_FSL_DSPI) += spi-fsl-dspi.o |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 46 | obj-$(CONFIG_SPI_FSL_LIB) += spi-fsl-lib.o |
| 47 | obj-$(CONFIG_SPI_FSL_ESPI) += spi-fsl-espi.o |
Gao Pan | 5314987 | 2016-11-22 21:52:17 +0800 | [diff] [blame] | 48 | obj-$(CONFIG_SPI_FSL_LPSPI) += spi-fsl-lpspi.o |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 49 | obj-$(CONFIG_SPI_FSL_SPI) += spi-fsl-spi.o |
| 50 | obj-$(CONFIG_SPI_GPIO) += spi-gpio.o |
Andrew Bresticker | deba2580 | 2014-11-14 10:48:32 -0800 | [diff] [blame] | 51 | obj-$(CONFIG_SPI_IMG_SPFI) += spi-img-spfi.o |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 52 | obj-$(CONFIG_SPI_IMX) += spi-imx.o |
Hauke Mehrtens | 17f84b7 | 2017-02-14 00:31:11 +0100 | [diff] [blame] | 53 | obj-$(CONFIG_SPI_LANTIQ_SSC) += spi-lantiq-ssc.o |
Rich Felker | 2cb1b3b | 2016-08-04 04:30:37 +0000 | [diff] [blame] | 54 | obj-$(CONFIG_SPI_JCORE) += spi-jcore.o |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 55 | obj-$(CONFIG_SPI_LM70_LLP) += spi-lm70llp.o |
Sergei Ianovich | 7ecbfff | 2016-02-23 13:44:28 +0300 | [diff] [blame] | 56 | obj-$(CONFIG_SPI_LP8841_RTC) += spi-lp8841-rtc.o |
Neil Armstrong | 454fa27 | 2017-05-23 15:39:33 +0200 | [diff] [blame] | 57 | obj-$(CONFIG_SPI_MESON_SPICC) += spi-meson-spicc.o |
Beniamino Galvani | c3e4bc5 | 2014-11-22 16:21:41 +0100 | [diff] [blame] | 58 | obj-$(CONFIG_SPI_MESON_SPIFC) += spi-meson-spifc.o |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 59 | obj-$(CONFIG_SPI_MPC512x_PSC) += spi-mpc512x-psc.o |
| 60 | obj-$(CONFIG_SPI_MPC52xx_PSC) += spi-mpc52xx-psc.o |
| 61 | obj-$(CONFIG_SPI_MPC52xx) += spi-mpc52xx.o |
Leilk Liu | a568231 | 2015-08-07 15:19:50 +0800 | [diff] [blame] | 62 | obj-$(CONFIG_SPI_MT65XX) += spi-mt65xx.o |
Marek Vasut | 646781d3 | 2012-08-03 17:26:11 +0200 | [diff] [blame] | 63 | obj-$(CONFIG_SPI_MXS) += spi-mxs.o |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 64 | obj-$(CONFIG_SPI_NUC900) += spi-nuc900.o |
| 65 | obj-$(CONFIG_SPI_OC_TINY) += spi-oc-tiny.o |
Jan Glauber | 63d49af | 2016-07-23 12:42:54 +0200 | [diff] [blame] | 66 | spi-octeon-objs := spi-cavium.o spi-cavium-octeon.o |
David Daney | 6b52c00 | 2012-08-22 12:25:07 -0700 | [diff] [blame] | 67 | obj-$(CONFIG_SPI_OCTEON) += spi-octeon.o |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 68 | obj-$(CONFIG_SPI_OMAP_UWIRE) += spi-omap-uwire.o |
| 69 | obj-$(CONFIG_SPI_OMAP_100K) += spi-omap-100k.o |
| 70 | obj-$(CONFIG_SPI_OMAP24XX) += spi-omap2-mcspi.o |
Sourav Poddar | 505a149 | 2013-08-20 18:55:48 +0530 | [diff] [blame] | 71 | obj-$(CONFIG_SPI_TI_QSPI) += spi-ti-qspi.o |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 72 | obj-$(CONFIG_SPI_ORION) += spi-orion.o |
Purna Chandra Mandal | 1bcb9f8c | 2016-04-01 16:48:50 +0530 | [diff] [blame] | 73 | obj-$(CONFIG_SPI_PIC32) += spi-pic32.o |
Purna Chandra Mandal | 3270ac2 | 2016-04-15 16:57:19 +0530 | [diff] [blame] | 74 | obj-$(CONFIG_SPI_PIC32_SQI) += spi-pic32-sqi.o |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 75 | obj-$(CONFIG_SPI_PL022) += spi-pl022.o |
| 76 | obj-$(CONFIG_SPI_PPC4xx) += spi-ppc4xx.o |
Jarkko Nikula | 22a3363 | 2016-01-13 16:20:07 +0200 | [diff] [blame] | 77 | spi-pxa2xx-platform-objs := spi-pxa2xx.o spi-pxa2xx-dma.o |
Mika Westerberg | cd7bed0 | 2013-01-22 12:26:28 +0200 | [diff] [blame] | 78 | obj-$(CONFIG_SPI_PXA2XX) += spi-pxa2xx-platform.o |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 79 | obj-$(CONFIG_SPI_PXA2XX_PCI) += spi-pxa2xx-pci.o |
Ivan T. Ivanov | 64ff247 | 2014-02-13 18:21:38 +0200 | [diff] [blame] | 80 | obj-$(CONFIG_SPI_QUP) += spi-qup.o |
addy ke | 64e3682 | 2014-07-01 09:03:59 +0800 | [diff] [blame] | 81 | obj-$(CONFIG_SPI_ROCKCHIP) += spi-rockchip.o |
Bert Vermeulen | 05aec35 | 2015-04-15 17:43:52 +0200 | [diff] [blame] | 82 | obj-$(CONFIG_SPI_RB4XX) += spi-rb4xx.o |
Shimoda, Yoshihiro | 0b2182d | 2012-03-07 14:46:25 +0900 | [diff] [blame] | 83 | obj-$(CONFIG_SPI_RSPI) += spi-rspi.o |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 84 | obj-$(CONFIG_SPI_S3C24XX) += spi-s3c24xx-hw.o |
| 85 | spi-s3c24xx-hw-y := spi-s3c24xx.o |
| 86 | spi-s3c24xx-hw-$(CONFIG_SPI_S3C24XX_FIQ) += spi-s3c24xx-fiq.o |
| 87 | obj-$(CONFIG_SPI_S3C64XX) += spi-s3c64xx.o |
Guenter Roeck | 3ce8859 | 2012-08-18 09:06:27 -0700 | [diff] [blame] | 88 | obj-$(CONFIG_SPI_SC18IS602) += spi-sc18is602.o |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 89 | obj-$(CONFIG_SPI_SH) += spi-sh.o |
Kuninori Morimoto | d1c8bbd | 2012-03-01 17:10:17 -0800 | [diff] [blame] | 90 | obj-$(CONFIG_SPI_SH_HSPI) += spi-sh-hspi.o |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 91 | obj-$(CONFIG_SPI_SH_MSIOF) += spi-sh-msiof.o |
| 92 | obj-$(CONFIG_SPI_SH_SCI) += spi-sh-sci.o |
Zhiwu Song | 1cc2df9 | 2012-02-13 17:45:38 +0800 | [diff] [blame] | 93 | obj-$(CONFIG_SPI_SIRF) += spi-sirf.o |
Amelie Delaunay | dcbe0d8 | 2017-06-21 16:32:06 +0200 | [diff] [blame] | 94 | obj-$(CONFIG_SPI_STM32) += spi-stm32.o |
Lee Jones | 9e86237 | 2014-12-09 20:21:30 +0000 | [diff] [blame] | 95 | obj-$(CONFIG_SPI_ST_SSC4) += spi-st-ssc4.o |
Maxime Ripard | b5f6517 | 2014-02-22 22:35:53 +0100 | [diff] [blame] | 96 | obj-$(CONFIG_SPI_SUN4I) += spi-sun4i.o |
Maxime Ripard | 3558fe9 | 2014-02-05 14:05:05 +0100 | [diff] [blame] | 97 | obj-$(CONFIG_SPI_SUN6I) += spi-sun6i.o |
Laxman Dewangan | f333a33 | 2013-02-22 18:07:39 +0530 | [diff] [blame] | 98 | obj-$(CONFIG_SPI_TEGRA114) += spi-tegra114.o |
Laxman Dewangan | 8528547 | 2012-11-14 05:54:47 +0530 | [diff] [blame] | 99 | obj-$(CONFIG_SPI_TEGRA20_SFLASH) += spi-tegra20-sflash.o |
Laxman Dewangan | dc4dc36 | 2012-10-30 12:34:05 +0530 | [diff] [blame] | 100 | obj-$(CONFIG_SPI_TEGRA20_SLINK) += spi-tegra20-slink.o |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 101 | obj-$(CONFIG_SPI_TLE62X0) += spi-tle62x0.o |
Jan Glauber | 7347a6c7 | 2016-08-19 16:03:20 +0200 | [diff] [blame] | 102 | spi-thunderx-objs := spi-cavium.o spi-cavium-thunderx.o |
| 103 | obj-$(CONFIG_SPI_THUNDERX) += spi-thunderx.o |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 104 | obj-$(CONFIG_SPI_TOPCLIFF_PCH) += spi-topcliff-pch.o |
| 105 | obj-$(CONFIG_SPI_TXX9) += spi-txx9.o |
Lars-Peter Clausen | b316590 | 2012-07-19 18:44:07 +0200 | [diff] [blame] | 106 | obj-$(CONFIG_SPI_XCOMM) += spi-xcomm.o |
Grant Likely | ca632f5 | 2011-06-06 01:16:30 -0600 | [diff] [blame] | 107 | obj-$(CONFIG_SPI_XILINX) += spi-xilinx.o |
Kamlakant Patel | d8c80d4 | 2015-08-27 17:49:28 +0530 | [diff] [blame] | 108 | obj-$(CONFIG_SPI_XLP) += spi-xlp.o |
Max Filippov | 6840cc2 | 2014-03-12 21:55:24 +0400 | [diff] [blame] | 109 | obj-$(CONFIG_SPI_XTENSA_XTFPGA) += spi-xtensa-xtfpga.o |
Ranjit Waghmode | dfe11a1 | 2015-06-10 16:08:21 +0530 | [diff] [blame] | 110 | obj-$(CONFIG_SPI_ZYNQMP_GQSPI) += spi-zynqmp-gqspi.o |
Geert Uytterhoeven | 6c36406 | 2017-05-22 15:11:41 +0200 | [diff] [blame] | 111 | |
| 112 | # SPI slave protocol handlers |
Geert Uytterhoeven | 29f9ffa | 2017-05-22 15:11:44 +0200 | [diff] [blame] | 113 | obj-$(CONFIG_SPI_SLAVE_TIME) += spi-slave-time.o |
Geert Uytterhoeven | ce70e06 | 2017-05-22 15:11:45 +0200 | [diff] [blame] | 114 | obj-$(CONFIG_SPI_SLAVE_SYSTEM_CONTROL) += spi-slave-system-control.o |