xref: /openbmc/linux/drivers/i2c/busses/Makefile (revision 4768e90e)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
21da177e4SLinus Torvalds#
31da177e4SLinus Torvalds# Makefile for the i2c bus drivers.
41da177e4SLinus Torvalds#
51da177e4SLinus Torvalds
6cfd550edSJean Delvare# ACPI drivers
7dc985421SCrane Caiobj-$(CONFIG_I2C_SCMI)		+= i2c-scmi.o
8dc985421SCrane Cai
9f5b728a1SJean Delvare# PC SMBus host controller drivers
101da177e4SLinus Torvaldsobj-$(CONFIG_I2C_ALI1535)	+= i2c-ali1535.o
111da177e4SLinus Torvaldsobj-$(CONFIG_I2C_ALI1563)	+= i2c-ali1563.o
121da177e4SLinus Torvaldsobj-$(CONFIG_I2C_ALI15X3)	+= i2c-ali15x3.o
131da177e4SLinus Torvaldsobj-$(CONFIG_I2C_AMD756)	+= i2c-amd756.o
141da177e4SLinus Torvaldsobj-$(CONFIG_I2C_AMD756_S4882)	+= i2c-amd756-s4882.o
151da177e4SLinus Torvaldsobj-$(CONFIG_I2C_AMD8111)	+= i2c-amd8111.o
1617a924bfSHans de Goedeobj-$(CONFIG_I2C_CHT_WC)	+= i2c-cht-wc.o
17f5b728a1SJean Delvareobj-$(CONFIG_I2C_I801)		+= i2c-i801.o
185bc12008SAlek Duobj-$(CONFIG_I2C_ISCH)		+= i2c-isch.o
1913f35ac1SNeil Hormanobj-$(CONFIG_I2C_ISMT)		+= i2c-ismt.o
20f5b728a1SJean Delvareobj-$(CONFIG_I2C_NFORCE2)	+= i2c-nforce2.o
21f5b728a1SJean Delvareobj-$(CONFIG_I2C_NFORCE2_S4985)	+= i2c-nforce2-s4985.o
22c71bcdcbSAjay Guptaobj-$(CONFIG_I2C_NVIDIA_GPU)	+= i2c-nvidia-gpu.o
23f5b728a1SJean Delvareobj-$(CONFIG_I2C_PIIX4)		+= i2c-piix4.o
24f5b728a1SJean Delvareobj-$(CONFIG_I2C_SIS5595)	+= i2c-sis5595.o
25f5b728a1SJean Delvareobj-$(CONFIG_I2C_SIS630)	+= i2c-sis630.o
26f5b728a1SJean Delvareobj-$(CONFIG_I2C_SIS96X)	+= i2c-sis96x.o
27f5b728a1SJean Delvareobj-$(CONFIG_I2C_VIA)		+= i2c-via.o
28f5b728a1SJean Delvareobj-$(CONFIG_I2C_VIAPRO)	+= i2c-viapro.o
29f5b728a1SJean Delvare
30f5b728a1SJean Delvare# Mac SMBus host controller drivers
31f5b728a1SJean Delvareobj-$(CONFIG_I2C_HYDRA)		+= i2c-hydra.o
32f5b728a1SJean Delvareobj-$(CONFIG_I2C_POWERMAC)	+= i2c-powermac.o
33f5b728a1SJean Delvare
3435bfc353SWolfram Sang# Embedded system I2C/SMBus host controller drivers
350560ad57SThor Thayerobj-$(CONFIG_I2C_ALTERA)	+= i2c-altera.o
36529766e0SElie Morisseobj-$(CONFIG_I2C_AMD_MP2)	+= i2c-amd-mp2-pci.o i2c-amd-mp2-plat.o
37f327c686SBrendan Higginsobj-$(CONFIG_I2C_ASPEED)	+= i2c-aspeed.o
38fac368a0SNikolaus Vossobj-$(CONFIG_I2C_AT91)		+= i2c-at91.o
39ad7d142fSJuergen Fitscheni2c-at91-objs			:= i2c-at91-core.o i2c-at91-master.o
409d3ca54bSJuergen Fitschenifeq ($(CONFIG_I2C_AT91_SLAVE_EXPERIMENTAL),y)
419d3ca54bSJuergen Fitschen	i2c-at91-objs		+= i2c-at91-slave.o
429d3ca54bSJuergen Fitschenendif
431da177e4SLinus Torvaldsobj-$(CONFIG_I2C_AU1550)	+= i2c-au1550.o
4408678b85SAnders Bergobj-$(CONFIG_I2C_AXXIA)		+= i2c-axxia.o
45f3b54b9aSStephen Warrenobj-$(CONFIG_I2C_BCM2835)	+= i2c-bcm2835.o
46e6e5dd35SRay Juiobj-$(CONFIG_I2C_BCM_IPROC)	+= i2c-bcm-iproc.o
47df8eb569SSoren Brinkmannobj-$(CONFIG_I2C_CADENCE)	+= i2c-cadence.o
480857ba3cSAaro Koskinenobj-$(CONFIG_I2C_CBUS_GPIO)	+= i2c-cbus-gpio.o
4961045dbeSJochen Friedrichobj-$(CONFIG_I2C_CPM)		+= i2c-cpm.o
5095a7f10eSVladimir Barinovobj-$(CONFIG_I2C_DAVINCI)	+= i2c-davinci.o
51e68bb91bSAxel Linobj-$(CONFIG_I2C_DESIGNWARE_CORE)	+= i2c-designware-core.o
5290312351SLuis Oliveirai2c-designware-core-objs := i2c-designware-common.o i2c-designware-master.o
539f3e065cSLuis Oliveiraifeq ($(CONFIG_I2C_DESIGNWARE_SLAVE),y)
549f3e065cSLuis Oliveirai2c-designware-core-objs += i2c-designware-slave.o
559f3e065cSLuis Oliveiraendif
562373f6b9SDirk Brandewieobj-$(CONFIG_I2C_DESIGNWARE_PLATFORM)	+= i2c-designware-platform.o
57e68bb91bSAxel Lini2c-designware-platform-objs := i2c-designware-platdrv.o
58894acb2fSDavid Boxi2c-designware-platform-$(CONFIG_I2C_DESIGNWARE_BAYTRAIL) += i2c-designware-baytrail.o
59fe20ff5cSDirk Brandewieobj-$(CONFIG_I2C_DESIGNWARE_PCI)	+= i2c-designware-pci.o
60e68bb91bSAxel Lini2c-designware-pci-objs := i2c-designware-pcidrv.o
614a7a0822SBaruch Siachobj-$(CONFIG_I2C_DIGICOLOR)	+= i2c-digicolor.o
621b5b2371SUwe Kleine-Königobj-$(CONFIG_I2C_EFM32)		+= i2c-efm32.o
633e1b76beSJayachandran Cobj-$(CONFIG_I2C_EG20T)		+= i2c-eg20t.o
645faf6e1fSWolfram Sangobj-$(CONFIG_I2C_EMEV2)		+= i2c-emev2.o
658a73cd4cSNaveen Krishna Chobj-$(CONFIG_I2C_EXYNOS5)	+= i2c-exynos5.o
661c23af90SHaavard Skinnemoenobj-$(CONFIG_I2C_GPIO)		+= i2c-gpio.o
674ad48e6aSPaul Mundtobj-$(CONFIG_I2C_HIGHLANDER)	+= i2c-highlander.o
6815ef2775SWei Yanobj-$(CONFIG_I2C_HIX5HD2)	+= i2c-hix5hd2.o
691da177e4SLinus Torvaldsobj-$(CONFIG_I2C_IBM_IIC)	+= i2c-ibm_iic.o
7027bce457SJames Hoganobj-$(CONFIG_I2C_IMG)		+= i2c-img-scb.o
71aa11e38cSDarius Augulisobj-$(CONFIG_I2C_IMX)		+= i2c-imx.o
72a55fa9d0SGao Panobj-$(CONFIG_I2C_IMX_LPI2C)	+= i2c-imx-lpi2c.o
731da177e4SLinus Torvaldsobj-$(CONFIG_I2C_IOP3XX)	+= i2c-iop3xx.o
74ba92222eSZubair Lutfullah Kakakhelobj-$(CONFIG_I2C_JZ4780)	+= i2c-jz4780.o
75e0b9b7b0SKevin Strasserobj-$(CONFIG_I2C_KEMPLD)	+= i2c-kempld.o
763f9c37a0SJoachim Eastwoodobj-$(CONFIG_I2C_LPC2K)		+= i2c-lpc2k.o
7730021e37SBeniamino Galvaniobj-$(CONFIG_I2C_MESON)		+= i2c-meson.o
781da177e4SLinus Torvaldsobj-$(CONFIG_I2C_MPC)		+= i2c-mpc.o
79ce38815dSXudong Chenobj-$(CONFIG_I2C_MT65XX)	+= i2c-mt65xx.o
80d04913ecSStefan Roeseobj-$(CONFIG_I2C_MT7621)	+= i2c-mt7621.o
811da177e4SLinus Torvaldsobj-$(CONFIG_I2C_MV64XXX)	+= i2c-mv64xxx.o
82a8da7fecSWolfram Sangobj-$(CONFIG_I2C_MXS)		+= i2c-mxs.o
833f9900f1Ssrinidhi kasagarobj-$(CONFIG_I2C_NOMADIK)	+= i2c-nomadik.o
8418f98b1eSPeter Korsgaardobj-$(CONFIG_I2C_OCORES)	+= i2c-ocores.o
85010d442cSKomal Shahobj-$(CONFIG_I2C_OMAP)		+= i2c-omap.o
86d211e62aSManivannan Sadhasivamobj-$(CONFIG_I2C_OWL)		+= i2c-owl.o
87beb58aa3SOlof Johanssonobj-$(CONFIG_I2C_PASEMI)	+= i2c-pasemi.o
8835bfc353SWolfram Sangobj-$(CONFIG_I2C_PCA_PLATFORM)	+= i2c-pca-platform.o
8935bfc353SWolfram Sangobj-$(CONFIG_I2C_PMCMSP)	+= i2c-pmcmsp.o
9041561f28SVitaly Woolobj-$(CONFIG_I2C_PNX)		+= i2c-pnx.o
91d10e4a66SGuanXuetaoobj-$(CONFIG_I2C_PUV3)		+= i2c-puv3.o
92b652b438SRussell Kingobj-$(CONFIG_I2C_PXA)		+= i2c-pxa.o
937e94dd15SSebastian Andrzej Siewiorobj-$(CONFIG_I2C_PXA_PCI)	+= i2c-pxa-pci.o
9437692de5SKarthikeyan Ramasubramanianobj-$(CONFIG_I2C_QCOM_GENI)	+= i2c-qcom-geni.o
9510c5a842SBjorn Anderssonobj-$(CONFIG_I2C_QUP)		+= i2c-qup.o
96310c18a4SWolfram Sangobj-$(CONFIG_I2C_RIIC)		+= i2c-riic.o
97c41aa3ceSMax Schwarzobj-$(CONFIG_I2C_RK3X)		+= i2c-rk3x.o
981da177e4SLinus Torvaldsobj-$(CONFIG_I2C_S3C2410)	+= i2c-s3c2410.o
99a26c20b1SManuel Laussobj-$(CONFIG_I2C_SH7760)	+= i2c-sh7760.o
100da672773SMagnus Dammobj-$(CONFIG_I2C_SH_MOBILE)	+= i2c-sh_mobile.o
101bcda9f1eSBen Dooksobj-$(CONFIG_I2C_SIMTEC)	+= i2c-simtec.o
102979b907fSZhiwu Songobj-$(CONFIG_I2C_SIRF)		+= i2c-sirf.o
1038b9ec071SBaolin Wangobj-$(CONFIG_I2C_SPRD)		+= i2c-sprd.o
10485b4fab2SMaxime COQUELINobj-$(CONFIG_I2C_ST)		+= i2c-st.o
10562817fc8SM'boumba Cedric Madiangaobj-$(CONFIG_I2C_STM32F4)	+= i2c-stm32f4.o
1067ecc8cfdSPierre-Yves MORDRETi2c-stm32f7-drv-objs := i2c-stm32f7.o i2c-stm32.o
1077ecc8cfdSPierre-Yves MORDRETobj-$(CONFIG_I2C_STM32F7)	+= i2c-stm32f7-drv.o
10818904c0eSLinus Walleijobj-$(CONFIG_I2C_STU300)	+= i2c-stu300.o
1093e833490SBoris BREZILLONobj-$(CONFIG_I2C_SUN6I_P2WI)	+= i2c-sun6i-p2wi.o
1100d676a6cSArd Biesheuvelobj-$(CONFIG_I2C_SYNQUACER)	+= i2c-synquacer.o
111db811ca0SColin Crossobj-$(CONFIG_I2C_TEGRA)		+= i2c-tegra.o
1120297ffa6SShardar Shariff Mdobj-$(CONFIG_I2C_TEGRA_BPMP)	+= i2c-tegra-bpmp.o
113dd6fd4a3SMasahiro Yamadaobj-$(CONFIG_I2C_UNIPHIER)	+= i2c-uniphier.o
1146a62974bSMasahiro Yamadaobj-$(CONFIG_I2C_UNIPHIER_F)	+= i2c-uniphier-f.o
115f5b728a1SJean Delvareobj-$(CONFIG_I2C_VERSATILE)	+= i2c-versatile.o
116560746ebSTony Priskobj-$(CONFIG_I2C_WMT)		+= i2c-wmt.o
117ad83665bSJan Glauberi2c-octeon-objs := i2c-octeon-core.o i2c-octeon-platdrv.o
118ad83665bSJan Glauberobj-$(CONFIG_I2C_OCTEON)	+= i2c-octeon.o
11922d40209SJan Glauberi2c-thunderx-objs := i2c-octeon-core.o i2c-thunderx-pcidrv.o
12022d40209SJan Glauberobj-$(CONFIG_I2C_THUNDERX)	+= i2c-thunderx.o
121e1d5b659SRichard Röjforsobj-$(CONFIG_I2C_XILINX)	+= i2c-xiic.o
122401c3434SGanesan Ramalingamobj-$(CONFIG_I2C_XLR)		+= i2c-xlr.o
1232bbd681bSSubhendu Sekhar Beheraobj-$(CONFIG_I2C_XLP9XX)	+= i2c-xlp9xx.o
1246ccbe607SKuninori Morimotoobj-$(CONFIG_I2C_RCAR)		+= i2c-rcar.o
1259615a01fSBaoyou Xieobj-$(CONFIG_I2C_ZX2967)	+= i2c-zx2967.o
126f5b728a1SJean Delvare
127f5b728a1SJean Delvare# External I2C/SMBus adapter drivers
128335d7c58SGuenter Roeckobj-$(CONFIG_I2C_DIOLAN_U2C)	+= i2c-diolan-u2c.o
129db23e500SLaurentiu Palcuobj-$(CONFIG_I2C_DLN2)		+= i2c-dln2.o
130f5b728a1SJean Delvareobj-$(CONFIG_I2C_PARPORT)	+= i2c-parport.o
131f5b728a1SJean Delvareobj-$(CONFIG_I2C_PARPORT_LIGHT)	+= i2c-parport-light.o
13283e53a8fSAndrew Lunnobj-$(CONFIG_I2C_ROBOTFUZZ_OSIF)	+= i2c-robotfuzz-osif.o
133b9cdad74SJean Delvareobj-$(CONFIG_I2C_TAOS_EVM)	+= i2c-taos-evm.o
134e8c76eedSTill Harbaumobj-$(CONFIG_I2C_TINY_USB)	+= i2c-tiny-usb.o
135174a13aaSLars Poeschelobj-$(CONFIG_I2C_VIPERBOARD)	+= i2c-viperboard.o
136f5b728a1SJean Delvare
137f5b728a1SJean Delvare# Other I2C/SMBus bus drivers
138f5b728a1SJean Delvareobj-$(CONFIG_I2C_ACORN)		+= i2c-acorn.o
13993d17247STim Krygerobj-$(CONFIG_I2C_BCM_KONA)	+= i2c-bcm-kona.o
140dd1aa252SKamal Dasuobj-$(CONFIG_I2C_BRCMSTB)	+= i2c-brcmstb.o
1419d230c9eSDoug Andersonobj-$(CONFIG_I2C_CROS_EC_TUNNEL)	+= i2c-cros-ec-tunnel.o
142f5b728a1SJean Delvareobj-$(CONFIG_I2C_ELEKTOR)	+= i2c-elektor.o
1434768e90eSMax Staudtobj-$(CONFIG_I2C_ICY)		+= i2c-icy.o
1446bec23bfSVadim Pasternakobj-$(CONFIG_I2C_MLXCPLD)	+= i2c-mlxcpld.o
14547083450SNeelesh Guptaobj-$(CONFIG_I2C_OPAL)		+= i2c-opal.o
146f5b728a1SJean Delvareobj-$(CONFIG_I2C_PCA_ISA)	+= i2c-pca-isa.o
147f5b728a1SJean Delvareobj-$(CONFIG_I2C_SIBYTE)	+= i2c-sibyte.o
148f6505fbaSFeng Kanobj-$(CONFIG_I2C_XGENE_SLIMPRO) += i2c-xgene-slimpro.o
1491da177e4SLinus Torvaldsobj-$(CONFIG_SCx200_ACB)	+= scx200_acb.o
150d6ffb630SEddie Jamesobj-$(CONFIG_I2C_FSI)		+= i2c-fsi.o
1511da177e4SLinus Torvalds
152ef9d9b8fSmatt mooneyccflags-$(CONFIG_I2C_DEBUG_BUS) := -DDEBUG
153