# SPDX-License-Identifier: GPL-2.0
#
# Makefile for the i2c bus drivers.
#
# ACPI drivers
obj-$([31mCONFIG_I2C_SCMI[0m) += i2c-scmi.o
# PC SMBus host controller drivers
obj-$([31mCONFIG_I2C_ALI1535[0m) += i2c-ali1535.o
obj-$([31mCONFIG_I2C_ALI1563[0m) += i2c-ali1563.o
obj-$([31mCONFIG_I2C_ALI15X3[0m) += i2c-ali15x3.o
obj-$([31mCONFIG_I2C_AMD756[0m) += i2c-amd756.o
obj-$([31mCONFIG_I2C_AMD756_S4882[0m) += i2c-amd756-s4882.o
obj-$([31mCONFIG_I2C_AMD8111[0m) += i2c-amd8111.o
obj-$([31mCONFIG_I2C_CHT_WC[0m) += i2c-cht-wc.o
obj-$([31mCONFIG_I2C_I801[0m) += i2c-i801.o
obj-$([31mCONFIG_I2C_ISCH[0m) += i2c-isch.o
obj-$([31mCONFIG_I2C_ISMT[0m) += i2c-ismt.o
obj-$([31mCONFIG_I2C_NFORCE2[0m) += i2c-nforce2.o
obj-$([31mCONFIG_I2C_NFORCE2_S4985[0m) += i2c-nforce2-s4985.o
obj-$([31mCONFIG_I2C_NVIDIA_GPU[0m) += i2c-nvidia-gpu.o
obj-$([31mCONFIG_I2C_PIIX4[0m) += i2c-piix4.o
obj-$([31mCONFIG_I2C_SIS5595[0m) += i2c-sis5595.o
obj-$([31mCONFIG_I2C_SIS630[0m) += i2c-sis630.o
obj-$([31mCONFIG_I2C_SIS96X[0m) += i2c-sis96x.o
obj-$([31mCONFIG_I2C_VIA[0m) += i2c-via.o
obj-$([31mCONFIG_I2C_VIAPRO[0m) += i2c-viapro.o
# Mac SMBus host controller drivers
obj-$([31mCONFIG_I2C_HYDRA[0m) += i2c-hydra.o
obj-$([31mCONFIG_I2C_POWERMAC[0m) += i2c-powermac.o
# Embedded system I2C/SMBus host controller drivers
obj-$([31mCONFIG_I2C_ALTERA[0m) += i2c-altera.o
obj-$([31mCONFIG_I2C_AMD_MP2[0m) += i2c-amd-mp2-pci.o i2c-amd-mp2-plat.o
obj-$([31mCONFIG_I2C_ASPEED[0m) += i2c-aspeed.o
obj-$([31mCONFIG_I2C_AT91[0m) += i2c-at91.o
i2c-at91-objs := i2c-at91-core.o i2c-at91-master.o
ifeq ($([31mCONFIG_I2C_AT91_SLAVE_EXPERIMENTAL[0m),y)
i2c-at91-objs += i2c-at91-slave.o
endif
obj-$([31mCONFIG_I2C_AU1550[0m) += i2c-au1550.o
obj-$([31mCONFIG_I2C_AXXIA[0m) += i2c-axxia.o
obj-$([31mCONFIG_I2C_BCM2835[0m) += i2c-bcm2835.o
obj-$([31mCONFIG_I2C_BCM_IPROC[0m) += i2c-bcm-iproc.o
obj-$([31mCONFIG_I2C_CADENCE[0m) += i2c-cadence.o
obj-$([31mCONFIG_I2C_CBUS_GPIO[0m) += i2c-cbus-gpio.o
obj-$([31mCONFIG_I2C_CPM[0m) += i2c-cpm.o
obj-$([31mCONFIG_I2C_DAVINCI[0m) += i2c-davinci.o
obj-$([31mCONFIG_I2C_DESIGNWARE_CORE[0m) += i2c-designware-core.o
i2c-designware-core-objs := i2c-designware-common.o i2c-designware-master.o
ifeq ($([31mCONFIG_I2C_DESIGNWARE_SLAVE[0m),y)
i2c-designware-core-objs += i2c-designware-slave.o
endif
obj-$([31mCONFIG_I2C_DESIGNWARE_PLATFORM[0m) += i2c-designware-platform.o
i2c-designware-platform-objs := i2c-designware-platdrv.o
i2c-designware-platform-$([31mCONFIG_I2C_DESIGNWARE_BAYTRAIL[0m) += i2c-designware-baytrail.o
obj-$([31mCONFIG_I2C_DESIGNWARE_PCI[0m) += i2c-designware-pci.o
i2c-designware-pci-objs := i2c-designware-pcidrv.o
obj-$([31mCONFIG_I2C_DIGICOLOR[0m) += i2c-digicolor.o
obj-$([31mCONFIG_I2C_EFM32[0m) += i2c-efm32.o
obj-$([31mCONFIG_I2C_EG20T[0m) += i2c-eg20t.o
obj-$([31mCONFIG_I2C_EMEV2[0m) += i2c-emev2.o
obj-$([31mCONFIG_I2C_EXYNOS5[0m) += i2c-exynos5.o
obj-$([31mCONFIG_I2C_GPIO[0m) += i2c-gpio.o
obj-$([31mCONFIG_I2C_HIGHLANDER[0m) += i2c-highlander.o
obj-$([31mCONFIG_I2C_HIX5HD2[0m) += i2c-hix5hd2.o
obj-$([31mCONFIG_I2C_IBM_IIC[0m) += i2c-ibm_iic.o
obj-$([31mCONFIG_I2C_IMG[0m) += i2c-img-scb.o
obj-$([31mCONFIG_I2C_IMX[0m) += i2c-imx.o
obj-$([31mCONFIG_I2C_IMX_LPI2C[0m) += i2c-imx-lpi2c.o
obj-$([31mCONFIG_I2C_IOP3XX[0m) += i2c-iop3xx.o
obj-$([31mCONFIG_I2C_JZ4780[0m) += i2c-jz4780.o
obj-$([31mCONFIG_I2C_KEMPLD[0m) += i2c-kempld.o
obj-$([31mCONFIG_I2C_LPC2K[0m) += i2c-lpc2k.o
obj-$([31mCONFIG_I2C_MESON[0m) += i2c-meson.o
obj-$([31mCONFIG_I2C_MPC[0m) += i2c-mpc.o
obj-$([31mCONFIG_I2C_MT65XX[0m) += i2c-mt65xx.o
obj-$([31mCONFIG_I2C_MT7621[0m) += i2c-mt7621.o
obj-$([31mCONFIG_I2C_MV64XXX[0m) += i2c-mv64xxx.o
obj-$([31mCONFIG_I2C_MXS[0m) += i2c-mxs.o
obj-$([31mCONFIG_I2C_NOMADIK[0m) += i2c-nomadik.o
obj-$([31mCONFIG_I2C_OCORES[0m) += i2c-ocores.o
obj-$([31mCONFIG_I2C_OMAP[0m) += i2c-omap.o
obj-$([31mCONFIG_I2C_OWL[0m) += i2c-owl.o
obj-$([31mCONFIG_I2C_PASEMI[0m) += i2c-pasemi.o
obj-$([31mCONFIG_I2C_PCA_PLATFORM[0m) += i2c-pca-platform.o
obj-$([31mCONFIG_I2C_PMCMSP[0m) += i2c-pmcmsp.o
obj-$([31mCONFIG_I2C_PNX[0m) += i2c-pnx.o
obj-$([31mCONFIG_I2C_PUV3[0m) += i2c-puv3.o
obj-$([31mCONFIG_I2C_PXA[0m) += i2c-pxa.o
obj-$([31mCONFIG_I2C_PXA_PCI[0m) += i2c-pxa-pci.o
obj-$([31mCONFIG_I2C_QCOM_GENI[0m) += i2c-qcom-geni.o
obj-$([31mCONFIG_I2C_QUP[0m) += i2c-qup.o
obj-$([31mCONFIG_I2C_RIIC[0m) += i2c-riic.o
obj-$([31mCONFIG_I2C_RK3X[0m) += i2c-rk3x.o
obj-$([31mCONFIG_I2C_S3C2410[0m) += i2c-s3c2410.o
obj-$([31mCONFIG_I2C_SH7760[0m) += i2c-sh7760.o
obj-$([31mCONFIG_I2C_SH_MOBILE[0m) += i2c-sh_mobile.o
obj-$([31mCONFIG_I2C_SIMTEC[0m) += i2c-simtec.o
obj-$([31mCONFIG_I2C_SIRF[0m) += i2c-sirf.o
obj-$([31mCONFIG_I2C_SPRD[0m) += i2c-sprd.o
obj-$([31mCONFIG_I2C_ST[0m) += i2c-st.o
obj-$([31mCONFIG_I2C_STM32F4[0m) += i2c-stm32f4.o
i2c-stm32f7-drv-objs := i2c-stm32f7.o i2c-stm32.o
obj-$([31mCONFIG_I2C_STM32F7[0m) += i2c-stm32f7-drv.o
obj-$([31mCONFIG_I2C_STU300[0m) += i2c-stu300.o
obj-$([31mCONFIG_I2C_SUN6I_P2WI[0m) += i2c-sun6i-p2wi.o
obj-$([31mCONFIG_I2C_SYNQUACER[0m) += i2c-synquacer.o
obj-$([31mCONFIG_I2C_TEGRA[0m) += i2c-tegra.o
obj-$([31mCONFIG_I2C_TEGRA_BPMP[0m) += i2c-tegra-bpmp.o
obj-$([31mCONFIG_I2C_UNIPHIER[0m) += i2c-uniphier.o
obj-$([31mCONFIG_I2C_UNIPHIER_F[0m) += i2c-uniphier-f.o
obj-$([31mCONFIG_I2C_VERSATILE[0m) += i2c-versatile.o
obj-$([31mCONFIG_I2C_WMT[0m) += i2c-wmt.o
i2c-octeon-objs := i2c-octeon-core.o i2c-octeon-platdrv.o
obj-$([31mCONFIG_I2C_OCTEON[0m) += i2c-octeon.o
i2c-thunderx-objs := i2c-octeon-core.o i2c-thunderx-pcidrv.o
obj-$([31mCONFIG_I2C_THUNDERX[0m) += i2c-thunderx.o
obj-$([31mCONFIG_I2C_XILINX[0m) += i2c-xiic.o
obj-$([31mCONFIG_I2C_XLR[0m) += i2c-xlr.o
obj-$([31mCONFIG_I2C_XLP9XX[0m) += i2c-xlp9xx.o
obj-$([31mCONFIG_I2C_RCAR[0m) += i2c-rcar.o
obj-$([31mCONFIG_I2C_ZX2967[0m) += i2c-zx2967.o
# External I2C/SMBus adapter drivers
obj-$([31mCONFIG_I2C_DIOLAN_U2C[0m) += i2c-diolan-u2c.o
obj-$([31mCONFIG_I2C_DLN2[0m) += i2c-dln2.o
obj-$([31mCONFIG_I2C_PARPORT[0m) += i2c-parport.o
obj-$([31mCONFIG_I2C_PARPORT_LIGHT[0m) += i2c-parport-light.o
obj-$([31mCONFIG_I2C_ROBOTFUZZ_OSIF[0m) += i2c-robotfuzz-osif.o
obj-$([31mCONFIG_I2C_TAOS_EVM[0m) += i2c-taos-evm.o
obj-$([31mCONFIG_I2C_TINY_USB[0m) += i2c-tiny-usb.o
obj-$([31mCONFIG_I2C_VIPERBOARD[0m) += i2c-viperboard.o
# Other I2C/SMBus bus drivers
obj-$([31mCONFIG_I2C_ACORN[0m) += i2c-acorn.o
obj-$([31mCONFIG_I2C_BCM_KONA[0m) += i2c-bcm-kona.o
obj-$([31mCONFIG_I2C_BRCMSTB[0m) += i2c-brcmstb.o
obj-$([31mCONFIG_I2C_CROS_EC_TUNNEL[0m) += i2c-cros-ec-tunnel.o
obj-$([31mCONFIG_I2C_ELEKTOR[0m) += i2c-elektor.o
obj-$([31mCONFIG_I2C_ICY[0m) += i2c-icy.o
obj-$([31mCONFIG_I2C_MLXCPLD[0m) += i2c-mlxcpld.o
obj-$([31mCONFIG_I2C_OPAL[0m) += i2c-opal.o
obj-$([31mCONFIG_I2C_PCA_ISA[0m) += i2c-pca-isa.o
obj-$([31mCONFIG_I2C_SIBYTE[0m) += i2c-sibyte.o
obj-$([31mCONFIG_I2C_XGENE_SLIMPRO[0m) += i2c-xgene-slimpro.o
obj-$([31mCONFIG_SCx200_ACB[0m) += scx200_acb.o
obj-$([31mCONFIG_I2C_FSI[0m) += i2c-fsi.o
ccflags-$([31mCONFIG_I2C_DEBUG_BUS[0m) := -DDEBUG