Makefile 6.0 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
L
Linus Torvalds 已提交
2 3 4 5
#
# Makefile for the i2c bus drivers.
#

6
# ACPI drivers
7 8
obj-$(CONFIG_I2C_SCMI)		+= i2c-scmi.o

J
Jean Delvare 已提交
9
# PC SMBus host controller drivers
L
Linus Torvalds 已提交
10 11 12 13 14 15
obj-$(CONFIG_I2C_ALI1535)	+= i2c-ali1535.o
obj-$(CONFIG_I2C_ALI1563)	+= i2c-ali1563.o
obj-$(CONFIG_I2C_ALI15X3)	+= i2c-ali15x3.o
obj-$(CONFIG_I2C_AMD756)	+= i2c-amd756.o
obj-$(CONFIG_I2C_AMD756_S4882)	+= i2c-amd756-s4882.o
obj-$(CONFIG_I2C_AMD8111)	+= i2c-amd8111.o
16
obj-$(CONFIG_I2C_CHT_WC)	+= i2c-cht-wc.o
J
Jean Delvare 已提交
17
obj-$(CONFIG_I2C_I801)		+= i2c-i801.o
A
Alek Du 已提交
18
obj-$(CONFIG_I2C_ISCH)		+= i2c-isch.o
19
obj-$(CONFIG_I2C_ISMT)		+= i2c-ismt.o
J
Jean Delvare 已提交
20 21
obj-$(CONFIG_I2C_NFORCE2)	+= i2c-nforce2.o
obj-$(CONFIG_I2C_NFORCE2_S4985)	+= i2c-nforce2-s4985.o
22
obj-$(CONFIG_I2C_NVIDIA_GPU)	+= i2c-nvidia-gpu.o
J
Jean Delvare 已提交
23 24 25 26 27 28 29 30 31 32 33
obj-$(CONFIG_I2C_PIIX4)		+= i2c-piix4.o
obj-$(CONFIG_I2C_SIS5595)	+= i2c-sis5595.o
obj-$(CONFIG_I2C_SIS630)	+= i2c-sis630.o
obj-$(CONFIG_I2C_SIS96X)	+= i2c-sis96x.o
obj-$(CONFIG_I2C_VIA)		+= i2c-via.o
obj-$(CONFIG_I2C_VIAPRO)	+= i2c-viapro.o

# Mac SMBus host controller drivers
obj-$(CONFIG_I2C_HYDRA)		+= i2c-hydra.o
obj-$(CONFIG_I2C_POWERMAC)	+= i2c-powermac.o

34
# Embedded system I2C/SMBus host controller drivers
35
obj-$(CONFIG_I2C_ALTERA)	+= i2c-altera.o
36
obj-$(CONFIG_I2C_AMD_MP2)	+= i2c-amd-mp2-pci.o i2c-amd-mp2-plat.o
37
obj-$(CONFIG_I2C_ASPEED)	+= i2c-aspeed.o
N
Nikolaus Voss 已提交
38
obj-$(CONFIG_I2C_AT91)		+= i2c-at91.o
39
i2c-at91-objs			:= i2c-at91-core.o i2c-at91-master.o
40 41 42
ifeq ($(CONFIG_I2C_AT91_SLAVE_EXPERIMENTAL),y)
	i2c-at91-objs		+= i2c-at91-slave.o
endif
L
Linus Torvalds 已提交
43
obj-$(CONFIG_I2C_AU1550)	+= i2c-au1550.o
44
obj-$(CONFIG_I2C_AXXIA)		+= i2c-axxia.o
S
Stephen Warren 已提交
45
obj-$(CONFIG_I2C_BCM2835)	+= i2c-bcm2835.o
46
obj-$(CONFIG_I2C_BCM_IPROC)	+= i2c-bcm-iproc.o
47
obj-$(CONFIG_I2C_CADENCE)	+= i2c-cadence.o
48
obj-$(CONFIG_I2C_CBUS_GPIO)	+= i2c-cbus-gpio.o
49
obj-$(CONFIG_I2C_CPM)		+= i2c-cpm.o
50
obj-$(CONFIG_I2C_DAVINCI)	+= i2c-davinci.o
51 52 53 54 55 56
obj-$(CONFIG_I2C_DESIGNWARE_CORE)			+= i2c-designware-core.o
i2c-designware-core-y					:= i2c-designware-common.o
i2c-designware-core-y					+= i2c-designware-master.o
i2c-designware-core-$(CONFIG_I2C_DESIGNWARE_SLAVE) 	+= i2c-designware-slave.o
obj-$(CONFIG_I2C_DESIGNWARE_PLATFORM)			+= i2c-designware-platform.o
i2c-designware-platform-y 				:= i2c-designware-platdrv.o
57
i2c-designware-platform-$(CONFIG_I2C_DESIGNWARE_BAYTRAIL) += i2c-designware-baytrail.o
58 59
obj-$(CONFIG_I2C_DESIGNWARE_PCI)			+= i2c-designware-pci.o
i2c-designware-pci-y					:= i2c-designware-pcidrv.o
60
obj-$(CONFIG_I2C_DIGICOLOR)	+= i2c-digicolor.o
61
obj-$(CONFIG_I2C_EG20T)		+= i2c-eg20t.o
W
Wolfram Sang 已提交
62
obj-$(CONFIG_I2C_EMEV2)		+= i2c-emev2.o
63
obj-$(CONFIG_I2C_EXYNOS5)	+= i2c-exynos5.o
64
obj-$(CONFIG_I2C_GPIO)		+= i2c-gpio.o
65
obj-$(CONFIG_I2C_HIGHLANDER)	+= i2c-highlander.o
66
obj-$(CONFIG_I2C_HISI)		+= i2c-hisi.o
W
Wei Yan 已提交
67
obj-$(CONFIG_I2C_HIX5HD2)	+= i2c-hix5hd2.o
L
Linus Torvalds 已提交
68
obj-$(CONFIG_I2C_IBM_IIC)	+= i2c-ibm_iic.o
69
obj-$(CONFIG_I2C_IMG)		+= i2c-img-scb.o
D
Darius Augulis 已提交
70
obj-$(CONFIG_I2C_IMX)		+= i2c-imx.o
71
obj-$(CONFIG_I2C_IMX_LPI2C)	+= i2c-imx-lpi2c.o
L
Linus Torvalds 已提交
72
obj-$(CONFIG_I2C_IOP3XX)	+= i2c-iop3xx.o
73
obj-$(CONFIG_I2C_JZ4780)	+= i2c-jz4780.o
K
Kevin Strasser 已提交
74
obj-$(CONFIG_I2C_KEMPLD)	+= i2c-kempld.o
J
Joachim Eastwood 已提交
75
obj-$(CONFIG_I2C_LPC2K)		+= i2c-lpc2k.o
76
obj-$(CONFIG_I2C_MESON)		+= i2c-meson.o
L
Linus Torvalds 已提交
77
obj-$(CONFIG_I2C_MPC)		+= i2c-mpc.o
78
obj-$(CONFIG_I2C_MT65XX)	+= i2c-mt65xx.o
79
obj-$(CONFIG_I2C_MT7621)	+= i2c-mt7621.o
L
Linus Torvalds 已提交
80
obj-$(CONFIG_I2C_MV64XXX)	+= i2c-mv64xxx.o
81
obj-$(CONFIG_I2C_MXS)		+= i2c-mxs.o
82
obj-$(CONFIG_I2C_NOMADIK)	+= i2c-nomadik.o
83
obj-$(CONFIG_I2C_NPCM7XX)	+= i2c-npcm7xx.o
84
obj-$(CONFIG_I2C_OCORES)	+= i2c-ocores.o
85
obj-$(CONFIG_I2C_OMAP)		+= i2c-omap.o
86
obj-$(CONFIG_I2C_OWL)		+= i2c-owl.o
O
Olof Johansson 已提交
87
obj-$(CONFIG_I2C_PASEMI)	+= i2c-pasemi.o
88
obj-$(CONFIG_I2C_PCA_PLATFORM)	+= i2c-pca-platform.o
V
Vitaly Wool 已提交
89
obj-$(CONFIG_I2C_PNX)		+= i2c-pnx.o
R
Russell King 已提交
90
obj-$(CONFIG_I2C_PXA)		+= i2c-pxa.o
91
obj-$(CONFIG_I2C_PXA_PCI)	+= i2c-pxa-pci.o
L
Loic Poulain 已提交
92
obj-$(CONFIG_I2C_QCOM_CCI)	+= i2c-qcom-cci.o
93
obj-$(CONFIG_I2C_QCOM_GENI)	+= i2c-qcom-geni.o
94
obj-$(CONFIG_I2C_QUP)		+= i2c-qup.o
W
Wolfram Sang 已提交
95
obj-$(CONFIG_I2C_RIIC)		+= i2c-riic.o
96
obj-$(CONFIG_I2C_RK3X)		+= i2c-rk3x.o
L
Linus Torvalds 已提交
97
obj-$(CONFIG_I2C_S3C2410)	+= i2c-s3c2410.o
98
obj-$(CONFIG_I2C_SH7760)	+= i2c-sh7760.o
99
obj-$(CONFIG_I2C_SH_MOBILE)	+= i2c-sh_mobile.o
B
Ben Dooks 已提交
100
obj-$(CONFIG_I2C_SIMTEC)	+= i2c-simtec.o
101
obj-$(CONFIG_I2C_SPRD)		+= i2c-sprd.o
102
obj-$(CONFIG_I2C_ST)		+= i2c-st.o
103
obj-$(CONFIG_I2C_STM32F4)	+= i2c-stm32f4.o
104 105
i2c-stm32f7-drv-objs := i2c-stm32f7.o i2c-stm32.o
obj-$(CONFIG_I2C_STM32F7)	+= i2c-stm32f7-drv.o
106
obj-$(CONFIG_I2C_SUN6I_P2WI)	+= i2c-sun6i-p2wi.o
107
obj-$(CONFIG_I2C_SYNQUACER)	+= i2c-synquacer.o
C
Colin Cross 已提交
108
obj-$(CONFIG_I2C_TEGRA)		+= i2c-tegra.o
109
obj-$(CONFIG_I2C_TEGRA_BPMP)	+= i2c-tegra-bpmp.o
110
obj-$(CONFIG_I2C_UNIPHIER)	+= i2c-uniphier.o
111
obj-$(CONFIG_I2C_UNIPHIER_F)	+= i2c-uniphier-f.o
J
Jean Delvare 已提交
112
obj-$(CONFIG_I2C_VERSATILE)	+= i2c-versatile.o
113
obj-$(CONFIG_I2C_WMT)		+= i2c-wmt.o
114 115
i2c-octeon-objs := i2c-octeon-core.o i2c-octeon-platdrv.o
obj-$(CONFIG_I2C_OCTEON)	+= i2c-octeon.o
116 117
i2c-thunderx-objs := i2c-octeon-core.o i2c-thunderx-pcidrv.o
obj-$(CONFIG_I2C_THUNDERX)	+= i2c-thunderx.o
118
obj-$(CONFIG_I2C_XILINX)	+= i2c-xiic.o
119
obj-$(CONFIG_I2C_XLR)		+= i2c-xlr.o
120
obj-$(CONFIG_I2C_XLP9XX)	+= i2c-xlp9xx.o
121
obj-$(CONFIG_I2C_RCAR)		+= i2c-rcar.o
J
Jean Delvare 已提交
122 123

# External I2C/SMBus adapter drivers
124
obj-$(CONFIG_I2C_DIOLAN_U2C)	+= i2c-diolan-u2c.o
125
obj-$(CONFIG_I2C_DLN2)		+= i2c-dln2.o
126
obj-$(CONFIG_I2C_CP2615) += i2c-cp2615.o
J
Jean Delvare 已提交
127
obj-$(CONFIG_I2C_PARPORT)	+= i2c-parport.o
128
obj-$(CONFIG_I2C_ROBOTFUZZ_OSIF)	+= i2c-robotfuzz-osif.o
129
obj-$(CONFIG_I2C_TAOS_EVM)	+= i2c-taos-evm.o
T
Till Harbaum 已提交
130
obj-$(CONFIG_I2C_TINY_USB)	+= i2c-tiny-usb.o
131
obj-$(CONFIG_I2C_VIPERBOARD)	+= i2c-viperboard.o
J
Jean Delvare 已提交
132 133 134

# Other I2C/SMBus bus drivers
obj-$(CONFIG_I2C_ACORN)		+= i2c-acorn.o
135
obj-$(CONFIG_I2C_BCM_KONA)	+= i2c-bcm-kona.o
136
obj-$(CONFIG_I2C_BRCMSTB)	+= i2c-brcmstb.o
D
Doug Anderson 已提交
137
obj-$(CONFIG_I2C_CROS_EC_TUNNEL)	+= i2c-cros-ec-tunnel.o
J
Jean Delvare 已提交
138
obj-$(CONFIG_I2C_ELEKTOR)	+= i2c-elektor.o
139
obj-$(CONFIG_I2C_ICY)		+= i2c-icy.o
140
obj-$(CONFIG_I2C_MLXBF)		+= i2c-mlxbf.o
141
obj-$(CONFIG_I2C_MLXCPLD)	+= i2c-mlxcpld.o
142
obj-$(CONFIG_I2C_OPAL)		+= i2c-opal.o
J
Jean Delvare 已提交
143 144
obj-$(CONFIG_I2C_PCA_ISA)	+= i2c-pca-isa.o
obj-$(CONFIG_I2C_SIBYTE)	+= i2c-sibyte.o
145
obj-$(CONFIG_I2C_XGENE_SLIMPRO) += i2c-xgene-slimpro.o
L
Linus Torvalds 已提交
146
obj-$(CONFIG_SCx200_ACB)	+= scx200_acb.o
147
obj-$(CONFIG_I2C_FSI)		+= i2c-fsi.o
148
obj-$(CONFIG_I2C_VIRTIO)	+= i2c-virtio.o
L
Linus Torvalds 已提交
149

M
matt mooney 已提交
150
ccflags-$(CONFIG_I2C_DEBUG_BUS) := -DDEBUG