xref: /openbmc/linux/drivers/i2c/busses/Makefile (revision f3539c12)
1#
2# Makefile for the i2c bus drivers.
3#
4
5# ACPI drivers
6obj-$(CONFIG_I2C_SCMI)		+= i2c-scmi.o
7
8# PC SMBus host controller drivers
9obj-$(CONFIG_I2C_ALI1535)	+= i2c-ali1535.o
10obj-$(CONFIG_I2C_ALI1563)	+= i2c-ali1563.o
11obj-$(CONFIG_I2C_ALI15X3)	+= i2c-ali15x3.o
12obj-$(CONFIG_I2C_AMD756)	+= i2c-amd756.o
13obj-$(CONFIG_I2C_AMD756_S4882)	+= i2c-amd756-s4882.o
14obj-$(CONFIG_I2C_AMD8111)	+= i2c-amd8111.o
15obj-$(CONFIG_I2C_I801)		+= i2c-i801.o
16obj-$(CONFIG_I2C_ISCH)		+= i2c-isch.o
17obj-$(CONFIG_I2C_ISMT)		+= i2c-ismt.o
18obj-$(CONFIG_I2C_NFORCE2)	+= i2c-nforce2.o
19obj-$(CONFIG_I2C_NFORCE2_S4985)	+= i2c-nforce2-s4985.o
20obj-$(CONFIG_I2C_PIIX4)		+= i2c-piix4.o
21obj-$(CONFIG_I2C_SIS5595)	+= i2c-sis5595.o
22obj-$(CONFIG_I2C_SIS630)	+= i2c-sis630.o
23obj-$(CONFIG_I2C_SIS96X)	+= i2c-sis96x.o
24obj-$(CONFIG_I2C_VIA)		+= i2c-via.o
25obj-$(CONFIG_I2C_VIAPRO)	+= i2c-viapro.o
26
27# Mac SMBus host controller drivers
28obj-$(CONFIG_I2C_HYDRA)		+= i2c-hydra.o
29obj-$(CONFIG_I2C_POWERMAC)	+= i2c-powermac.o
30
31# Embedded system I2C/SMBus host controller drivers
32obj-$(CONFIG_I2C_AT91)		+= i2c-at91.o
33obj-$(CONFIG_I2C_AU1550)	+= i2c-au1550.o
34obj-$(CONFIG_I2C_AXXIA)		+= i2c-axxia.o
35obj-$(CONFIG_I2C_BCM2835)	+= i2c-bcm2835.o
36obj-$(CONFIG_I2C_BCM_IPROC)	+= i2c-bcm-iproc.o
37obj-$(CONFIG_I2C_BLACKFIN_TWI)	+= i2c-bfin-twi.o
38obj-$(CONFIG_I2C_CADENCE)	+= i2c-cadence.o
39obj-$(CONFIG_I2C_CBUS_GPIO)	+= i2c-cbus-gpio.o
40obj-$(CONFIG_I2C_CPM)		+= i2c-cpm.o
41obj-$(CONFIG_I2C_DAVINCI)	+= i2c-davinci.o
42obj-$(CONFIG_I2C_DESIGNWARE_CORE)	+= i2c-designware-core.o
43obj-$(CONFIG_I2C_DESIGNWARE_PLATFORM)	+= i2c-designware-platform.o
44i2c-designware-platform-objs := i2c-designware-platdrv.o
45i2c-designware-platform-$(CONFIG_I2C_DESIGNWARE_BAYTRAIL) += i2c-designware-baytrail.o
46obj-$(CONFIG_I2C_DESIGNWARE_PCI)	+= i2c-designware-pci.o
47i2c-designware-pci-objs := i2c-designware-pcidrv.o
48obj-$(CONFIG_I2C_DIGICOLOR)	+= i2c-digicolor.o
49obj-$(CONFIG_I2C_EFM32)		+= i2c-efm32.o
50obj-$(CONFIG_I2C_EG20T)		+= i2c-eg20t.o
51obj-$(CONFIG_I2C_EMEV2)		+= i2c-emev2.o
52obj-$(CONFIG_I2C_EXYNOS5)	+= i2c-exynos5.o
53obj-$(CONFIG_I2C_GPIO)		+= i2c-gpio.o
54obj-$(CONFIG_I2C_HIGHLANDER)	+= i2c-highlander.o
55obj-$(CONFIG_I2C_HIX5HD2)	+= i2c-hix5hd2.o
56obj-$(CONFIG_I2C_IBM_IIC)	+= i2c-ibm_iic.o
57obj-$(CONFIG_I2C_IMG)		+= i2c-img-scb.o
58obj-$(CONFIG_I2C_IMX)		+= i2c-imx.o
59obj-$(CONFIG_I2C_IOP3XX)	+= i2c-iop3xx.o
60obj-$(CONFIG_I2C_JZ4780)	+= i2c-jz4780.o
61obj-$(CONFIG_I2C_KEMPLD)	+= i2c-kempld.o
62obj-$(CONFIG_I2C_LPC2K)		+= i2c-lpc2k.o
63obj-$(CONFIG_I2C_MESON)		+= i2c-meson.o
64obj-$(CONFIG_I2C_MPC)		+= i2c-mpc.o
65obj-$(CONFIG_I2C_MT65XX)	+= i2c-mt65xx.o
66obj-$(CONFIG_I2C_MV64XXX)	+= i2c-mv64xxx.o
67obj-$(CONFIG_I2C_MXS)		+= i2c-mxs.o
68obj-$(CONFIG_I2C_NOMADIK)	+= i2c-nomadik.o
69obj-$(CONFIG_I2C_OCORES)	+= i2c-ocores.o
70obj-$(CONFIG_I2C_OMAP)		+= i2c-omap.o
71obj-$(CONFIG_I2C_PASEMI)	+= i2c-pasemi.o
72obj-$(CONFIG_I2C_PCA_PLATFORM)	+= i2c-pca-platform.o
73obj-$(CONFIG_I2C_PMCMSP)	+= i2c-pmcmsp.o
74obj-$(CONFIG_I2C_PNX)		+= i2c-pnx.o
75obj-$(CONFIG_I2C_PUV3)		+= i2c-puv3.o
76obj-$(CONFIG_I2C_PXA)		+= i2c-pxa.o
77obj-$(CONFIG_I2C_PXA_PCI)	+= i2c-pxa-pci.o
78obj-$(CONFIG_I2C_QUP)		+= i2c-qup.o
79obj-$(CONFIG_I2C_RIIC)		+= i2c-riic.o
80obj-$(CONFIG_I2C_RK3X)		+= i2c-rk3x.o
81obj-$(CONFIG_I2C_S3C2410)	+= i2c-s3c2410.o
82obj-$(CONFIG_I2C_SH7760)	+= i2c-sh7760.o
83obj-$(CONFIG_I2C_SH_MOBILE)	+= i2c-sh_mobile.o
84obj-$(CONFIG_I2C_SIMTEC)	+= i2c-simtec.o
85obj-$(CONFIG_I2C_SIRF)		+= i2c-sirf.o
86obj-$(CONFIG_I2C_ST)		+= i2c-st.o
87obj-$(CONFIG_I2C_STU300)	+= i2c-stu300.o
88obj-$(CONFIG_I2C_SUN6I_P2WI)	+= i2c-sun6i-p2wi.o
89obj-$(CONFIG_I2C_TEGRA)		+= i2c-tegra.o
90obj-$(CONFIG_I2C_UNIPHIER)	+= i2c-uniphier.o
91obj-$(CONFIG_I2C_UNIPHIER_F)	+= i2c-uniphier-f.o
92obj-$(CONFIG_I2C_VERSATILE)	+= i2c-versatile.o
93obj-$(CONFIG_I2C_WMT)		+= i2c-wmt.o
94obj-$(CONFIG_I2C_OCTEON)	+= i2c-octeon.o
95obj-$(CONFIG_I2C_XILINX)	+= i2c-xiic.o
96obj-$(CONFIG_I2C_XLR)		+= i2c-xlr.o
97obj-$(CONFIG_I2C_XLP9XX)	+= i2c-xlp9xx.o
98obj-$(CONFIG_I2C_RCAR)		+= i2c-rcar.o
99
100# External I2C/SMBus adapter drivers
101obj-$(CONFIG_I2C_DIOLAN_U2C)	+= i2c-diolan-u2c.o
102obj-$(CONFIG_I2C_DLN2)		+= i2c-dln2.o
103obj-$(CONFIG_I2C_PARPORT)	+= i2c-parport.o
104obj-$(CONFIG_I2C_PARPORT_LIGHT)	+= i2c-parport-light.o
105obj-$(CONFIG_I2C_ROBOTFUZZ_OSIF)	+= i2c-robotfuzz-osif.o
106obj-$(CONFIG_I2C_TAOS_EVM)	+= i2c-taos-evm.o
107obj-$(CONFIG_I2C_TINY_USB)	+= i2c-tiny-usb.o
108obj-$(CONFIG_I2C_VIPERBOARD)	+= i2c-viperboard.o
109
110# Other I2C/SMBus bus drivers
111obj-$(CONFIG_I2C_ACORN)		+= i2c-acorn.o
112obj-$(CONFIG_I2C_BCM_KONA)	+= i2c-bcm-kona.o
113obj-$(CONFIG_I2C_BRCMSTB)	+= i2c-brcmstb.o
114obj-$(CONFIG_I2C_CROS_EC_TUNNEL)	+= i2c-cros-ec-tunnel.o
115obj-$(CONFIG_I2C_ELEKTOR)	+= i2c-elektor.o
116obj-$(CONFIG_I2C_OPAL)		+= i2c-opal.o
117obj-$(CONFIG_I2C_PCA_ISA)	+= i2c-pca-isa.o
118obj-$(CONFIG_I2C_SIBYTE)	+= i2c-sibyte.o
119obj-$(CONFIG_I2C_XGENE_SLIMPRO) += i2c-xgene-slimpro.o
120obj-$(CONFIG_SCx200_ACB)	+= scx200_acb.o
121
122ccflags-$(CONFIG_I2C_DEBUG_BUS) := -DDEBUG
123