162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ci# 362306a36Sopenharmony_ci# Makefile for the i2c bus drivers. 462306a36Sopenharmony_ci# 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci# ACPI drivers 762306a36Sopenharmony_ciobj-$(CONFIG_I2C_SCMI) += i2c-scmi.o 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci# Auxiliary I2C/SMBus modules 1062306a36Sopenharmony_ciobj-$(CONFIG_I2C_CCGX_UCSI) += i2c-ccgx-ucsi.o 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ci# PC SMBus host controller drivers 1362306a36Sopenharmony_ciobj-$(CONFIG_I2C_ALI1535) += i2c-ali1535.o 1462306a36Sopenharmony_ciobj-$(CONFIG_I2C_ALI1563) += i2c-ali1563.o 1562306a36Sopenharmony_ciobj-$(CONFIG_I2C_ALI15X3) += i2c-ali15x3.o 1662306a36Sopenharmony_ciobj-$(CONFIG_I2C_AMD756) += i2c-amd756.o 1762306a36Sopenharmony_ciobj-$(CONFIG_I2C_AMD756_S4882) += i2c-amd756-s4882.o 1862306a36Sopenharmony_ciobj-$(CONFIG_I2C_AMD8111) += i2c-amd8111.o 1962306a36Sopenharmony_ciobj-$(CONFIG_I2C_CHT_WC) += i2c-cht-wc.o 2062306a36Sopenharmony_ciobj-$(CONFIG_I2C_I801) += i2c-i801.o 2162306a36Sopenharmony_ciobj-$(CONFIG_I2C_ISCH) += i2c-isch.o 2262306a36Sopenharmony_ciobj-$(CONFIG_I2C_ISMT) += i2c-ismt.o 2362306a36Sopenharmony_ciobj-$(CONFIG_I2C_NFORCE2) += i2c-nforce2.o 2462306a36Sopenharmony_ciobj-$(CONFIG_I2C_NFORCE2_S4985) += i2c-nforce2-s4985.o 2562306a36Sopenharmony_ciobj-$(CONFIG_I2C_NVIDIA_GPU) += i2c-nvidia-gpu.o 2662306a36Sopenharmony_ciobj-$(CONFIG_I2C_PIIX4) += i2c-piix4.o 2762306a36Sopenharmony_ciobj-$(CONFIG_I2C_SIS5595) += i2c-sis5595.o 2862306a36Sopenharmony_ciobj-$(CONFIG_I2C_SIS630) += i2c-sis630.o 2962306a36Sopenharmony_ciobj-$(CONFIG_I2C_SIS96X) += i2c-sis96x.o 3062306a36Sopenharmony_ciobj-$(CONFIG_I2C_VIA) += i2c-via.o 3162306a36Sopenharmony_ciobj-$(CONFIG_I2C_VIAPRO) += i2c-viapro.o 3262306a36Sopenharmony_ci 3362306a36Sopenharmony_ci# Mac SMBus host controller drivers 3462306a36Sopenharmony_ciobj-$(CONFIG_I2C_HYDRA) += i2c-hydra.o 3562306a36Sopenharmony_ciobj-$(CONFIG_I2C_POWERMAC) += i2c-powermac.o 3662306a36Sopenharmony_ci 3762306a36Sopenharmony_ci# Embedded system I2C/SMBus host controller drivers 3862306a36Sopenharmony_ciobj-$(CONFIG_I2C_ALTERA) += i2c-altera.o 3962306a36Sopenharmony_ciobj-$(CONFIG_I2C_AMD_MP2) += i2c-amd-mp2-pci.o i2c-amd-mp2-plat.o 4062306a36Sopenharmony_ciobj-$(CONFIG_I2C_ASPEED) += i2c-aspeed.o 4162306a36Sopenharmony_ciobj-$(CONFIG_I2C_AT91) += i2c-at91.o 4262306a36Sopenharmony_cii2c-at91-objs := i2c-at91-core.o i2c-at91-master.o 4362306a36Sopenharmony_ciifeq ($(CONFIG_I2C_AT91_SLAVE_EXPERIMENTAL),y) 4462306a36Sopenharmony_ci i2c-at91-objs += i2c-at91-slave.o 4562306a36Sopenharmony_ciendif 4662306a36Sopenharmony_ciobj-$(CONFIG_I2C_AU1550) += i2c-au1550.o 4762306a36Sopenharmony_ciobj-$(CONFIG_I2C_AXXIA) += i2c-axxia.o 4862306a36Sopenharmony_ciobj-$(CONFIG_I2C_BCM2835) += i2c-bcm2835.o 4962306a36Sopenharmony_ciobj-$(CONFIG_I2C_BCM_IPROC) += i2c-bcm-iproc.o 5062306a36Sopenharmony_ciobj-$(CONFIG_I2C_CADENCE) += i2c-cadence.o 5162306a36Sopenharmony_ciobj-$(CONFIG_I2C_CBUS_GPIO) += i2c-cbus-gpio.o 5262306a36Sopenharmony_ciobj-$(CONFIG_I2C_CPM) += i2c-cpm.o 5362306a36Sopenharmony_ciobj-$(CONFIG_I2C_DAVINCI) += i2c-davinci.o 5462306a36Sopenharmony_ciobj-$(CONFIG_I2C_DESIGNWARE_CORE) += i2c-designware-core.o 5562306a36Sopenharmony_cii2c-designware-core-y := i2c-designware-common.o 5662306a36Sopenharmony_cii2c-designware-core-y += i2c-designware-master.o 5762306a36Sopenharmony_cii2c-designware-core-$(CONFIG_I2C_DESIGNWARE_SLAVE) += i2c-designware-slave.o 5862306a36Sopenharmony_ciobj-$(CONFIG_I2C_DESIGNWARE_PLATFORM) += i2c-designware-platform.o 5962306a36Sopenharmony_cii2c-designware-platform-y := i2c-designware-platdrv.o 6062306a36Sopenharmony_cii2c-designware-platform-$(CONFIG_I2C_DESIGNWARE_AMDPSP) += i2c-designware-amdpsp.o 6162306a36Sopenharmony_cii2c-designware-platform-$(CONFIG_I2C_DESIGNWARE_BAYTRAIL) += i2c-designware-baytrail.o 6262306a36Sopenharmony_ciobj-$(CONFIG_I2C_DESIGNWARE_PCI) += i2c-designware-pci.o 6362306a36Sopenharmony_cii2c-designware-pci-y := i2c-designware-pcidrv.o 6462306a36Sopenharmony_ciobj-$(CONFIG_I2C_DIGICOLOR) += i2c-digicolor.o 6562306a36Sopenharmony_ciobj-$(CONFIG_I2C_EG20T) += i2c-eg20t.o 6662306a36Sopenharmony_ciobj-$(CONFIG_I2C_EMEV2) += i2c-emev2.o 6762306a36Sopenharmony_ciobj-$(CONFIG_I2C_EXYNOS5) += i2c-exynos5.o 6862306a36Sopenharmony_ciobj-$(CONFIG_I2C_GPIO) += i2c-gpio.o 6962306a36Sopenharmony_ciobj-$(CONFIG_I2C_HIGHLANDER) += i2c-highlander.o 7062306a36Sopenharmony_ciobj-$(CONFIG_I2C_HISI) += i2c-hisi.o 7162306a36Sopenharmony_ciobj-$(CONFIG_I2C_HIX5HD2) += i2c-hix5hd2.o 7262306a36Sopenharmony_ciobj-$(CONFIG_I2C_IBM_IIC) += i2c-ibm_iic.o 7362306a36Sopenharmony_ciobj-$(CONFIG_I2C_IMG) += i2c-img-scb.o 7462306a36Sopenharmony_ciobj-$(CONFIG_I2C_IMX) += i2c-imx.o 7562306a36Sopenharmony_ciobj-$(CONFIG_I2C_IMX_LPI2C) += i2c-imx-lpi2c.o 7662306a36Sopenharmony_ciobj-$(CONFIG_I2C_IOP3XX) += i2c-iop3xx.o 7762306a36Sopenharmony_ciobj-$(CONFIG_I2C_JZ4780) += i2c-jz4780.o 7862306a36Sopenharmony_ciobj-$(CONFIG_I2C_KEMPLD) += i2c-kempld.o 7962306a36Sopenharmony_ciobj-$(CONFIG_I2C_LPC2K) += i2c-lpc2k.o 8062306a36Sopenharmony_ciobj-$(CONFIG_I2C_LS2X) += i2c-ls2x.o 8162306a36Sopenharmony_ciobj-$(CONFIG_I2C_MESON) += i2c-meson.o 8262306a36Sopenharmony_ciobj-$(CONFIG_I2C_MICROCHIP_CORE) += i2c-microchip-corei2c.o 8362306a36Sopenharmony_ciobj-$(CONFIG_I2C_MPC) += i2c-mpc.o 8462306a36Sopenharmony_ciobj-$(CONFIG_I2C_MT65XX) += i2c-mt65xx.o 8562306a36Sopenharmony_ciobj-$(CONFIG_I2C_MT7621) += i2c-mt7621.o 8662306a36Sopenharmony_ciobj-$(CONFIG_I2C_MV64XXX) += i2c-mv64xxx.o 8762306a36Sopenharmony_ciobj-$(CONFIG_I2C_MXS) += i2c-mxs.o 8862306a36Sopenharmony_ciobj-$(CONFIG_I2C_NOMADIK) += i2c-nomadik.o 8962306a36Sopenharmony_ciobj-$(CONFIG_I2C_NPCM) += i2c-npcm7xx.o 9062306a36Sopenharmony_ciobj-$(CONFIG_I2C_OCORES) += i2c-ocores.o 9162306a36Sopenharmony_ciobj-$(CONFIG_I2C_OMAP) += i2c-omap.o 9262306a36Sopenharmony_ciobj-$(CONFIG_I2C_OWL) += i2c-owl.o 9362306a36Sopenharmony_ciobj-$(CONFIG_I2C_PASEMI) += i2c-pasemi-core.o i2c-pasemi-pci.o 9462306a36Sopenharmony_ciobj-$(CONFIG_I2C_APPLE) += i2c-pasemi-core.o i2c-pasemi-platform.o 9562306a36Sopenharmony_ciobj-$(CONFIG_I2C_PCA_PLATFORM) += i2c-pca-platform.o 9662306a36Sopenharmony_ciobj-$(CONFIG_I2C_PNX) += i2c-pnx.o 9762306a36Sopenharmony_ciobj-$(CONFIG_I2C_PXA) += i2c-pxa.o 9862306a36Sopenharmony_ciobj-$(CONFIG_I2C_PXA_PCI) += i2c-pxa-pci.o 9962306a36Sopenharmony_ciobj-$(CONFIG_I2C_QCOM_CCI) += i2c-qcom-cci.o 10062306a36Sopenharmony_ciobj-$(CONFIG_I2C_QCOM_GENI) += i2c-qcom-geni.o 10162306a36Sopenharmony_ciobj-$(CONFIG_I2C_QUP) += i2c-qup.o 10262306a36Sopenharmony_ciobj-$(CONFIG_I2C_RIIC) += i2c-riic.o 10362306a36Sopenharmony_ciobj-$(CONFIG_I2C_RK3X) += i2c-rk3x.o 10462306a36Sopenharmony_ciobj-$(CONFIG_I2C_RZV2M) += i2c-rzv2m.o 10562306a36Sopenharmony_ciobj-$(CONFIG_I2C_S3C2410) += i2c-s3c2410.o 10662306a36Sopenharmony_ciobj-$(CONFIG_I2C_SH7760) += i2c-sh7760.o 10762306a36Sopenharmony_ciobj-$(CONFIG_I2C_SH_MOBILE) += i2c-sh_mobile.o 10862306a36Sopenharmony_ciobj-$(CONFIG_I2C_SIMTEC) += i2c-simtec.o 10962306a36Sopenharmony_ciobj-$(CONFIG_I2C_SPRD) += i2c-sprd.o 11062306a36Sopenharmony_ciobj-$(CONFIG_I2C_ST) += i2c-st.o 11162306a36Sopenharmony_ciobj-$(CONFIG_I2C_STM32F4) += i2c-stm32f4.o 11262306a36Sopenharmony_cii2c-stm32f7-drv-objs := i2c-stm32f7.o i2c-stm32.o 11362306a36Sopenharmony_ciobj-$(CONFIG_I2C_STM32F7) += i2c-stm32f7-drv.o 11462306a36Sopenharmony_ciobj-$(CONFIG_I2C_SUN6I_P2WI) += i2c-sun6i-p2wi.o 11562306a36Sopenharmony_ciobj-$(CONFIG_I2C_SYNQUACER) += i2c-synquacer.o 11662306a36Sopenharmony_ciobj-$(CONFIG_I2C_TEGRA) += i2c-tegra.o 11762306a36Sopenharmony_ciobj-$(CONFIG_I2C_TEGRA_BPMP) += i2c-tegra-bpmp.o 11862306a36Sopenharmony_ciobj-$(CONFIG_I2C_UNIPHIER) += i2c-uniphier.o 11962306a36Sopenharmony_ciobj-$(CONFIG_I2C_UNIPHIER_F) += i2c-uniphier-f.o 12062306a36Sopenharmony_ciobj-$(CONFIG_I2C_VERSATILE) += i2c-versatile.o 12162306a36Sopenharmony_ciobj-$(CONFIG_I2C_WMT) += i2c-wmt.o 12262306a36Sopenharmony_cii2c-octeon-objs := i2c-octeon-core.o i2c-octeon-platdrv.o 12362306a36Sopenharmony_ciobj-$(CONFIG_I2C_OCTEON) += i2c-octeon.o 12462306a36Sopenharmony_cii2c-thunderx-objs := i2c-octeon-core.o i2c-thunderx-pcidrv.o 12562306a36Sopenharmony_ciobj-$(CONFIG_I2C_THUNDERX) += i2c-thunderx.o 12662306a36Sopenharmony_ciobj-$(CONFIG_I2C_XILINX) += i2c-xiic.o 12762306a36Sopenharmony_ciobj-$(CONFIG_I2C_XLP9XX) += i2c-xlp9xx.o 12862306a36Sopenharmony_ciobj-$(CONFIG_I2C_RCAR) += i2c-rcar.o 12962306a36Sopenharmony_ciobj-$(CONFIG_I2C_GXP) += i2c-gxp.o 13062306a36Sopenharmony_ci 13162306a36Sopenharmony_ci# External I2C/SMBus adapter drivers 13262306a36Sopenharmony_ciobj-$(CONFIG_I2C_DIOLAN_U2C) += i2c-diolan-u2c.o 13362306a36Sopenharmony_ciobj-$(CONFIG_I2C_DLN2) += i2c-dln2.o 13462306a36Sopenharmony_ciobj-$(CONFIG_I2C_CP2615) += i2c-cp2615.o 13562306a36Sopenharmony_ciobj-$(CONFIG_I2C_PARPORT) += i2c-parport.o 13662306a36Sopenharmony_ciobj-$(CONFIG_I2C_PCI1XXXX) += i2c-mchp-pci1xxxx.o 13762306a36Sopenharmony_ciobj-$(CONFIG_I2C_ROBOTFUZZ_OSIF) += i2c-robotfuzz-osif.o 13862306a36Sopenharmony_ciobj-$(CONFIG_I2C_TAOS_EVM) += i2c-taos-evm.o 13962306a36Sopenharmony_ciobj-$(CONFIG_I2C_TINY_USB) += i2c-tiny-usb.o 14062306a36Sopenharmony_ciobj-$(CONFIG_I2C_VIPERBOARD) += i2c-viperboard.o 14162306a36Sopenharmony_ci 14262306a36Sopenharmony_ci# Other I2C/SMBus bus drivers 14362306a36Sopenharmony_ciobj-$(CONFIG_I2C_ACORN) += i2c-acorn.o 14462306a36Sopenharmony_ciobj-$(CONFIG_I2C_BCM_KONA) += i2c-bcm-kona.o 14562306a36Sopenharmony_ciobj-$(CONFIG_I2C_BRCMSTB) += i2c-brcmstb.o 14662306a36Sopenharmony_ciobj-$(CONFIG_I2C_CROS_EC_TUNNEL) += i2c-cros-ec-tunnel.o 14762306a36Sopenharmony_ciobj-$(CONFIG_I2C_ELEKTOR) += i2c-elektor.o 14862306a36Sopenharmony_ciobj-$(CONFIG_I2C_ICY) += i2c-icy.o 14962306a36Sopenharmony_ciobj-$(CONFIG_I2C_MLXBF) += i2c-mlxbf.o 15062306a36Sopenharmony_ciobj-$(CONFIG_I2C_MLXCPLD) += i2c-mlxcpld.o 15162306a36Sopenharmony_ciobj-$(CONFIG_I2C_OPAL) += i2c-opal.o 15262306a36Sopenharmony_ciobj-$(CONFIG_I2C_PCA_ISA) += i2c-pca-isa.o 15362306a36Sopenharmony_ciobj-$(CONFIG_I2C_SIBYTE) += i2c-sibyte.o 15462306a36Sopenharmony_ciobj-$(CONFIG_I2C_XGENE_SLIMPRO) += i2c-xgene-slimpro.o 15562306a36Sopenharmony_ciobj-$(CONFIG_SCx200_ACB) += scx200_acb.o 15662306a36Sopenharmony_ciobj-$(CONFIG_I2C_FSI) += i2c-fsi.o 15762306a36Sopenharmony_ciobj-$(CONFIG_I2C_VIRTIO) += i2c-virtio.o 15862306a36Sopenharmony_ci 15962306a36Sopenharmony_ciccflags-$(CONFIG_I2C_DEBUG_BUS) := -DDEBUG 160