Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
8ae12a0d DB |
2 | # |
3 | # Makefile for kernel SPI drivers. | |
4 | # | |
5 | ||
fadcf49b | 6 | ccflags-$(CONFIG_SPI_DEBUG) := -DDEBUG |
8ae12a0d DB |
7 | |
8 | # small core, mostly translating board-specific | |
9 | # config declarations into driver model code | |
10 | obj-$(CONFIG_SPI_MASTER) += spi.o | |
c36ff266 | 11 | obj-$(CONFIG_SPI_MEM) += spi-mem.o |
e9e40543 | 12 | obj-$(CONFIG_SPI_MUX) += spi-mux.o |
ca632f55 | 13 | obj-$(CONFIG_SPI_SPIDEV) += spidev.o |
97896195 | 14 | obj-$(CONFIG_SPI_LOOPBACK_TEST) += spi-loopback-test.o |
8ae12a0d DB |
15 | |
16 | # SPI master controller drivers (bus) | |
ca632f55 | 17 | obj-$(CONFIG_SPI_ALTERA) += spi-altera.o |
047980c5 | 18 | obj-$(CONFIG_SPI_AR934X) += spi-ar934x.o |
5762ab71 | 19 | obj-$(CONFIG_SPI_ARMADA_3700) += spi-armada-3700.o |
ca632f55 | 20 | obj-$(CONFIG_SPI_ATMEL) += spi-atmel.o |
0e6aae08 | 21 | obj-$(CONFIG_SPI_ATMEL_QUADSPI) += atmel-quadspi.o |
e1892546 | 22 | obj-$(CONFIG_SPI_AT91_USART) += spi-at91-usart.o |
ca632f55 GL |
23 | obj-$(CONFIG_SPI_ATH79) += spi-ath79.o |
24 | obj-$(CONFIG_SPI_AU1550) += spi-au1550.o | |
b1353d1c | 25 | obj-$(CONFIG_SPI_AXI_SPI_ENGINE) += spi-axi-spi-engine.o |
f8043872 | 26 | obj-$(CONFIG_SPI_BCM2835) += spi-bcm2835.o |
1ea29b39 | 27 | obj-$(CONFIG_SPI_BCM2835AUX) += spi-bcm2835aux.o |
b42dfed8 | 28 | obj-$(CONFIG_SPI_BCM63XX) += spi-bcm63xx.o |
142168eb | 29 | obj-$(CONFIG_SPI_BCM63XX_HSSPI) += spi-bcm63xx-hsspi.o |
cc20a386 | 30 | obj-$(CONFIG_SPI_BCM_QSPI) += spi-iproc-qspi.o spi-brcmstb-qspi.o spi-bcm-qspi.o |
ca632f55 GL |
31 | obj-$(CONFIG_SPI_BITBANG) += spi-bitbang.o |
32 | obj-$(CONFIG_SPI_BUTTERFLY) += spi-butterfly.o | |
c474b386 | 33 | obj-$(CONFIG_SPI_CADENCE) += spi-cadence.o |
161b96c3 | 34 | obj-$(CONFIG_SPI_CLPS711X) += spi-clps711x.o |
ca632f55 GL |
35 | obj-$(CONFIG_SPI_COLDFIRE_QSPI) += spi-coldfire-qspi.o |
36 | obj-$(CONFIG_SPI_DAVINCI) += spi-davinci.o | |
3d8c0d74 | 37 | obj-$(CONFIG_SPI_DLN2) += spi-dln2.o |
ca632f55 GL |
38 | obj-$(CONFIG_SPI_DESIGNWARE) += spi-dw.o |
39 | obj-$(CONFIG_SPI_DW_MMIO) += spi-dw-mmio.o | |
40 | obj-$(CONFIG_SPI_DW_PCI) += spi-dw-midpci.o | |
41 | spi-dw-midpci-objs := spi-dw-pci.o spi-dw-mid.o | |
86f8973c | 42 | obj-$(CONFIG_SPI_EFM32) += spi-efm32.o |
ca632f55 | 43 | obj-$(CONFIG_SPI_EP93XX) += spi-ep93xx.o |
6cd3c7e2 | 44 | obj-$(CONFIG_SPI_FALCON) += spi-falcon.o |
bbb6b2f9 | 45 | obj-$(CONFIG_SPI_FSI) += spi-fsi.o |
e8beacbb | 46 | obj-$(CONFIG_SPI_FSL_CPM) += spi-fsl-cpm.o |
349ad66c | 47 | obj-$(CONFIG_SPI_FSL_DSPI) += spi-fsl-dspi.o |
ca632f55 GL |
48 | obj-$(CONFIG_SPI_FSL_LIB) += spi-fsl-lib.o |
49 | obj-$(CONFIG_SPI_FSL_ESPI) += spi-fsl-espi.o | |
5314987d | 50 | obj-$(CONFIG_SPI_FSL_LPSPI) += spi-fsl-lpspi.o |
84d04318 | 51 | obj-$(CONFIG_SPI_FSL_QUADSPI) += spi-fsl-qspi.o |
ca632f55 GL |
52 | obj-$(CONFIG_SPI_FSL_SPI) += spi-fsl-spi.o |
53 | obj-$(CONFIG_SPI_GPIO) += spi-gpio.o | |
a2ca53b5 | 54 | obj-$(CONFIG_SPI_HISI_SFC_V3XX) += spi-hisi-sfc-v3xx.o |
deba2580 | 55 | obj-$(CONFIG_SPI_IMG_SPFI) += spi-img-spfi.o |
ca632f55 | 56 | obj-$(CONFIG_SPI_IMX) += spi-imx.o |
17f84b79 | 57 | obj-$(CONFIG_SPI_LANTIQ_SSC) += spi-lantiq-ssc.o |
2cb1b3b3 | 58 | obj-$(CONFIG_SPI_JCORE) += spi-jcore.o |
ca632f55 | 59 | obj-$(CONFIG_SPI_LM70_LLP) += spi-lm70llp.o |
7ecbfff6 | 60 | obj-$(CONFIG_SPI_LP8841_RTC) += spi-lp8841-rtc.o |
454fa271 | 61 | obj-$(CONFIG_SPI_MESON_SPICC) += spi-meson-spicc.o |
c3e4bc54 | 62 | obj-$(CONFIG_SPI_MESON_SPIFC) += spi-meson-spifc.o |
ca632f55 GL |
63 | obj-$(CONFIG_SPI_MPC512x_PSC) += spi-mpc512x-psc.o |
64 | obj-$(CONFIG_SPI_MPC52xx_PSC) += spi-mpc52xx-psc.o | |
65 | obj-$(CONFIG_SPI_MPC52xx) += spi-mpc52xx.o | |
a568231f | 66 | obj-$(CONFIG_SPI_MT65XX) += spi-mt65xx.o |
cbd66c62 | 67 | obj-$(CONFIG_SPI_MT7621) += spi-mt7621.o |
881d1ee9 | 68 | obj-$(CONFIG_SPI_MTK_NOR) += spi-mtk-nor.o |
b942d80b | 69 | obj-$(CONFIG_SPI_MXIC) += spi-mxic.o |
646781d3 | 70 | obj-$(CONFIG_SPI_MXS) += spi-mxs.o |
ace55c41 | 71 | obj-$(CONFIG_SPI_NPCM_FIU) += spi-npcm-fiu.o |
2a22f1b3 | 72 | obj-$(CONFIG_SPI_NPCM_PSPI) += spi-npcm-pspi.o |
a5356aef | 73 | obj-$(CONFIG_SPI_NXP_FLEXSPI) += spi-nxp-fspi.o |
ca632f55 | 74 | obj-$(CONFIG_SPI_OC_TINY) += spi-oc-tiny.o |
63d49afe | 75 | spi-octeon-objs := spi-cavium.o spi-cavium-octeon.o |
6b52c00f | 76 | obj-$(CONFIG_SPI_OCTEON) += spi-octeon.o |
ca632f55 GL |
77 | obj-$(CONFIG_SPI_OMAP_UWIRE) += spi-omap-uwire.o |
78 | obj-$(CONFIG_SPI_OMAP_100K) += spi-omap-100k.o | |
79 | obj-$(CONFIG_SPI_OMAP24XX) += spi-omap2-mcspi.o | |
505a1495 | 80 | obj-$(CONFIG_SPI_TI_QSPI) += spi-ti-qspi.o |
ca632f55 | 81 | obj-$(CONFIG_SPI_ORION) += spi-orion.o |
1bcb9f8c | 82 | obj-$(CONFIG_SPI_PIC32) += spi-pic32.o |
3270ac23 | 83 | obj-$(CONFIG_SPI_PIC32_SQI) += spi-pic32-sqi.o |
ca632f55 GL |
84 | obj-$(CONFIG_SPI_PL022) += spi-pl022.o |
85 | obj-$(CONFIG_SPI_PPC4xx) += spi-ppc4xx.o | |
22a33632 | 86 | spi-pxa2xx-platform-objs := spi-pxa2xx.o spi-pxa2xx-dma.o |
cd7bed00 | 87 | obj-$(CONFIG_SPI_PXA2XX) += spi-pxa2xx-platform.o |
ca632f55 | 88 | obj-$(CONFIG_SPI_PXA2XX_PCI) += spi-pxa2xx-pci.o |
561de45f | 89 | obj-$(CONFIG_SPI_QCOM_GENI) += spi-geni-qcom.o |
04000dc6 | 90 | obj-$(CONFIG_SPI_QCOM_QSPI) += spi-qcom-qspi.o |
64ff247a | 91 | obj-$(CONFIG_SPI_QUP) += spi-qup.o |
64e36824 | 92 | obj-$(CONFIG_SPI_ROCKCHIP) += spi-rockchip.o |
05aec357 | 93 | obj-$(CONFIG_SPI_RB4XX) += spi-rb4xx.o |
0b2182dd | 94 | obj-$(CONFIG_SPI_RSPI) += spi-rspi.o |
ca632f55 GL |
95 | obj-$(CONFIG_SPI_S3C24XX) += spi-s3c24xx-hw.o |
96 | spi-s3c24xx-hw-y := spi-s3c24xx.o | |
97 | spi-s3c24xx-hw-$(CONFIG_SPI_S3C24XX_FIQ) += spi-s3c24xx-fiq.o | |
98 | obj-$(CONFIG_SPI_S3C64XX) += spi-s3c64xx.o | |
3ce8859e | 99 | obj-$(CONFIG_SPI_SC18IS602) += spi-sc18is602.o |
ca632f55 | 100 | obj-$(CONFIG_SPI_SH) += spi-sh.o |
d1c8bbd7 | 101 | obj-$(CONFIG_SPI_SH_HSPI) += spi-sh-hspi.o |
ca632f55 GL |
102 | obj-$(CONFIG_SPI_SH_MSIOF) += spi-sh-msiof.o |
103 | obj-$(CONFIG_SPI_SH_SCI) += spi-sh-sci.o | |
484a9a68 | 104 | obj-$(CONFIG_SPI_SIFIVE) += spi-sifive.o |
1cc2df9d | 105 | obj-$(CONFIG_SPI_SIRF) += spi-sirf.o |
805be7dd | 106 | obj-$(CONFIG_SPI_SLAVE_MT27XX) += spi-slave-mt27xx.o |
e7d973a3 | 107 | obj-$(CONFIG_SPI_SPRD) += spi-sprd.o |
7e2903cb | 108 | obj-$(CONFIG_SPI_SPRD_ADI) += spi-sprd-adi.o |
dcbe0d84 | 109 | obj-$(CONFIG_SPI_STM32) += spi-stm32.o |
c530cd1d | 110 | obj-$(CONFIG_SPI_STM32_QSPI) += spi-stm32-qspi.o |
9e862375 | 111 | obj-$(CONFIG_SPI_ST_SSC4) += spi-st-ssc4.o |
b5f65179 | 112 | obj-$(CONFIG_SPI_SUN4I) += spi-sun4i.o |
3558fe90 | 113 | obj-$(CONFIG_SPI_SUN6I) += spi-sun6i.o |
b0823ee3 | 114 | obj-$(CONFIG_SPI_SYNQUACER) += spi-synquacer.o |
f333a331 | 115 | obj-$(CONFIG_SPI_TEGRA114) += spi-tegra114.o |
8528547b | 116 | obj-$(CONFIG_SPI_TEGRA20_SFLASH) += spi-tegra20-sflash.o |
dc4dc360 | 117 | obj-$(CONFIG_SPI_TEGRA20_SLINK) += spi-tegra20-slink.o |
ca632f55 | 118 | obj-$(CONFIG_SPI_TLE62X0) += spi-tle62x0.o |
7347a6c7 JG |
119 | spi-thunderx-objs := spi-cavium.o spi-cavium-thunderx.o |
120 | obj-$(CONFIG_SPI_THUNDERX) += spi-thunderx.o | |
ca632f55 GL |
121 | obj-$(CONFIG_SPI_TOPCLIFF_PCH) += spi-topcliff-pch.o |
122 | obj-$(CONFIG_SPI_TXX9) += spi-txx9.o | |
5ba155a4 | 123 | obj-$(CONFIG_SPI_UNIPHIER) += spi-uniphier.o |
b3165900 | 124 | obj-$(CONFIG_SPI_XCOMM) += spi-xcomm.o |
ca632f55 | 125 | obj-$(CONFIG_SPI_XILINX) += spi-xilinx.o |
d8c80d49 | 126 | obj-$(CONFIG_SPI_XLP) += spi-xlp.o |
6840cc29 | 127 | obj-$(CONFIG_SPI_XTENSA_XTFPGA) += spi-xtensa-xtfpga.o |
67dca5e5 | 128 | obj-$(CONFIG_SPI_ZYNQ_QSPI) += spi-zynq-qspi.o |
dfe11a11 | 129 | obj-$(CONFIG_SPI_ZYNQMP_GQSPI) += spi-zynqmp-gqspi.o |
6c364062 GU |
130 | |
131 | # SPI slave protocol handlers | |
29f9ffa0 | 132 | obj-$(CONFIG_SPI_SLAVE_TIME) += spi-slave-time.o |
ce70e06c | 133 | obj-$(CONFIG_SPI_SLAVE_SYSTEM_CONTROL) += spi-slave-system-control.o |