blob: 1d00dce77098b0bcccc4cd46c7267d7374721d8b [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
3# Makefile for the i2c bus drivers.
4#
5
Jean Delvarecfd550e2009-09-18 22:45:52 +02006# ACPI drivers
Crane Caidc985422009-09-18 22:45:51 +02007obj-$(CONFIG_I2C_SCMI) += i2c-scmi.o
8
Jean Delvaref5b728a2008-07-14 22:38:23 +02009# PC SMBus host controller drivers
Linus Torvalds1da177e2005-04-16 15:20:36 -070010obj-$(CONFIG_I2C_ALI1535) += i2c-ali1535.o
11obj-$(CONFIG_I2C_ALI1563) += i2c-ali1563.o
12obj-$(CONFIG_I2C_ALI15X3) += i2c-ali15x3.o
13obj-$(CONFIG_I2C_AMD756) += i2c-amd756.o
14obj-$(CONFIG_I2C_AMD756_S4882) += i2c-amd756-s4882.o
15obj-$(CONFIG_I2C_AMD8111) += i2c-amd8111.o
Hans de Goede17a924b2017-08-13 12:16:51 +020016obj-$(CONFIG_I2C_CHT_WC) += i2c-cht-wc.o
Jean Delvaref5b728a2008-07-14 22:38:23 +020017obj-$(CONFIG_I2C_I801) += i2c-i801.o
Alek Du5bc12002008-07-14 22:38:27 +020018obj-$(CONFIG_I2C_ISCH) += i2c-isch.o
Neil Horman13f35ac2013-02-04 14:54:10 -050019obj-$(CONFIG_I2C_ISMT) += i2c-ismt.o
Jean Delvaref5b728a2008-07-14 22:38:23 +020020obj-$(CONFIG_I2C_NFORCE2) += i2c-nforce2.o
21obj-$(CONFIG_I2C_NFORCE2_S4985) += i2c-nforce2-s4985.o
Ajay Guptac71bcdc2018-10-26 09:36:58 -070022obj-$(CONFIG_I2C_NVIDIA_GPU) += i2c-nvidia-gpu.o
Jean Delvaref5b728a2008-07-14 22:38:23 +020023obj-$(CONFIG_I2C_PIIX4) += i2c-piix4.o
24obj-$(CONFIG_I2C_SIS5595) += i2c-sis5595.o
25obj-$(CONFIG_I2C_SIS630) += i2c-sis630.o
26obj-$(CONFIG_I2C_SIS96X) += i2c-sis96x.o
27obj-$(CONFIG_I2C_VIA) += i2c-via.o
28obj-$(CONFIG_I2C_VIAPRO) += i2c-viapro.o
29
30# Mac SMBus host controller drivers
31obj-$(CONFIG_I2C_HYDRA) += i2c-hydra.o
32obj-$(CONFIG_I2C_POWERMAC) += i2c-powermac.o
33
Wolfram Sang35bfc352010-06-03 11:33:56 +020034# Embedded system I2C/SMBus host controller drivers
Thor Thayer0560ad52017-09-11 16:17:20 -050035obj-$(CONFIG_I2C_ALTERA) += i2c-altera.o
Elie Morisse529766e2019-03-05 12:13:19 -030036obj-$(CONFIG_I2C_AMD_MP2) += i2c-amd-mp2-pci.o i2c-amd-mp2-plat.o
Brendan Higginsf327c682017-06-20 14:15:15 -070037obj-$(CONFIG_I2C_ASPEED) += i2c-aspeed.o
Nikolaus Vossfac368a2011-11-08 11:49:46 +010038obj-$(CONFIG_I2C_AT91) += i2c-at91.o
Juergen Fitschenad7d1422019-02-22 10:25:21 +010039i2c-at91-objs := i2c-at91-core.o i2c-at91-master.o
Juergen Fitschen9d3ca542019-02-22 10:25:22 +010040ifeq ($(CONFIG_I2C_AT91_SLAVE_EXPERIMENTAL),y)
41 i2c-at91-objs += i2c-at91-slave.o
42endif
Linus Torvalds1da177e2005-04-16 15:20:36 -070043obj-$(CONFIG_I2C_AU1550) += i2c-au1550.o
Anders Berg08678b82014-10-03 13:08:02 +020044obj-$(CONFIG_I2C_AXXIA) += i2c-axxia.o
Stephen Warrenf3b54b92013-02-11 19:47:56 -070045obj-$(CONFIG_I2C_BCM2835) += i2c-bcm2835.o
Ray Juie6e5dd32015-02-07 21:25:24 -080046obj-$(CONFIG_I2C_BCM_IPROC) += i2c-bcm-iproc.o
Soren Brinkmanndf8eb562014-04-04 14:27:55 -070047obj-$(CONFIG_I2C_CADENCE) += i2c-cadence.o
Aaro Koskinen0857ba32012-11-18 18:36:19 +020048obj-$(CONFIG_I2C_CBUS_GPIO) += i2c-cbus-gpio.o
Jochen Friedrich61045db2008-07-14 22:38:27 +020049obj-$(CONFIG_I2C_CPM) += i2c-cpm.o
Vladimir Barinov95a7f102007-10-13 23:56:30 +020050obj-$(CONFIG_I2C_DAVINCI) += i2c-davinci.o
Serge Seminbbc5d362020-05-28 12:33:14 +030051obj-$(CONFIG_I2C_DESIGNWARE_CORE) += i2c-designware-core.o
52i2c-designware-core-y := i2c-designware-common.o
53i2c-designware-core-y += i2c-designware-master.o
54i2c-designware-core-$(CONFIG_I2C_DESIGNWARE_SLAVE) += i2c-designware-slave.o
55obj-$(CONFIG_I2C_DESIGNWARE_PLATFORM) += i2c-designware-platform.o
56i2c-designware-platform-y := i2c-designware-platdrv.o
David Box894acb22015-01-15 01:12:17 -080057i2c-designware-platform-$(CONFIG_I2C_DESIGNWARE_BAYTRAIL) += i2c-designware-baytrail.o
Serge Seminbbc5d362020-05-28 12:33:14 +030058obj-$(CONFIG_I2C_DESIGNWARE_PCI) += i2c-designware-pci.o
59i2c-designware-pci-y := i2c-designware-pcidrv.o
Baruch Siach4a7a0822015-03-19 13:16:46 +020060obj-$(CONFIG_I2C_DIGICOLOR) += i2c-digicolor.o
Jayachandran C3e1b76b2012-01-23 18:01:29 +053061obj-$(CONFIG_I2C_EG20T) += i2c-eg20t.o
Wolfram Sang5faf6e12015-07-11 09:46:23 +020062obj-$(CONFIG_I2C_EMEV2) += i2c-emev2.o
Naveen Krishna Ch8a73cd42013-10-16 11:00:42 +053063obj-$(CONFIG_I2C_EXYNOS5) += i2c-exynos5.o
Haavard Skinnemoen1c23af92007-05-01 23:26:34 +020064obj-$(CONFIG_I2C_GPIO) += i2c-gpio.o
Paul Mundt4ad48e62008-10-14 17:30:03 +020065obj-$(CONFIG_I2C_HIGHLANDER) += i2c-highlander.o
Yicong Yangd62fbdb2021-04-08 19:17:19 +080066obj-$(CONFIG_I2C_HISI) += i2c-hisi.o
Wei Yan15ef2772014-10-07 09:04:12 +080067obj-$(CONFIG_I2C_HIX5HD2) += i2c-hix5hd2.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070068obj-$(CONFIG_I2C_IBM_IIC) += i2c-ibm_iic.o
James Hogan27bce452014-11-13 15:32:21 -030069obj-$(CONFIG_I2C_IMG) += i2c-img-scb.o
Darius Augulisaa11e382009-01-30 10:32:28 +020070obj-$(CONFIG_I2C_IMX) += i2c-imx.o
Gao Pana55fa9d2016-11-30 10:40:47 +080071obj-$(CONFIG_I2C_IMX_LPI2C) += i2c-imx-lpi2c.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070072obj-$(CONFIG_I2C_IOP3XX) += i2c-iop3xx.o
Zubair Lutfullah Kakakhelba922222015-03-31 14:03:55 +010073obj-$(CONFIG_I2C_JZ4780) += i2c-jz4780.o
Kevin Strassere0b9b7b2013-06-23 21:00:04 -070074obj-$(CONFIG_I2C_KEMPLD) += i2c-kempld.o
Joachim Eastwood3f9c37a2015-08-16 20:10:16 +020075obj-$(CONFIG_I2C_LPC2K) += i2c-lpc2k.o
Beniamino Galvani30021e32014-11-13 20:32:01 +010076obj-$(CONFIG_I2C_MESON) += i2c-meson.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070077obj-$(CONFIG_I2C_MPC) += i2c-mpc.o
Xudong Chence388152015-05-21 16:53:28 +080078obj-$(CONFIG_I2C_MT65XX) += i2c-mt65xx.o
Stefan Roesed04913e2019-06-17 10:31:17 +020079obj-$(CONFIG_I2C_MT7621) += i2c-mt7621.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070080obj-$(CONFIG_I2C_MV64XXX) += i2c-mv64xxx.o
Wolfram Sanga8da7fe2011-02-16 13:39:16 +010081obj-$(CONFIG_I2C_MXS) += i2c-mxs.o
srinidhi kasagar3f9900f2010-02-01 19:44:54 +053082obj-$(CONFIG_I2C_NOMADIK) += i2c-nomadik.o
Tali Perry56a14852020-05-27 23:08:19 +030083obj-$(CONFIG_I2C_NPCM7XX) += i2c-npcm7xx.o
Peter Korsgaard18f98b12006-06-04 20:01:08 +020084obj-$(CONFIG_I2C_OCORES) += i2c-ocores.o
Komal Shah010d442c42006-08-13 23:44:09 +020085obj-$(CONFIG_I2C_OMAP) += i2c-omap.o
Manivannan Sadhasivamd211e622018-08-01 23:32:31 +053086obj-$(CONFIG_I2C_OWL) += i2c-owl.o
Sven Peter9bc5f4f2021-10-08 18:35:27 +020087i2c-pasemi-objs := i2c-pasemi-core.o i2c-pasemi-pci.o
Olof Johanssonbeb58aa2007-02-13 22:09:03 +010088obj-$(CONFIG_I2C_PASEMI) += i2c-pasemi.o
Sven Peterd88ae292021-10-08 18:35:31 +020089i2c-apple-objs := i2c-pasemi-core.o i2c-pasemi-platform.o
90obj-$(CONFIG_I2C_APPLE) += i2c-apple.o
Wolfram Sang35bfc352010-06-03 11:33:56 +020091obj-$(CONFIG_I2C_PCA_PLATFORM) += i2c-pca-platform.o
Vitaly Wool41561f22006-12-10 21:21:29 +010092obj-$(CONFIG_I2C_PNX) += i2c-pnx.o
Russell Kingb652b432005-06-15 12:38:14 +010093obj-$(CONFIG_I2C_PXA) += i2c-pxa.o
Sebastian Andrzej Siewior7e94dd12011-03-02 11:26:53 +010094obj-$(CONFIG_I2C_PXA_PCI) += i2c-pxa-pci.o
Loic Poulaine5175262020-04-07 10:33:00 +020095obj-$(CONFIG_I2C_QCOM_CCI) += i2c-qcom-cci.o
Karthikeyan Ramasubramanian37692de2018-07-30 11:23:51 -060096obj-$(CONFIG_I2C_QCOM_GENI) += i2c-qcom-geni.o
Bjorn Andersson10c5a842014-03-13 19:07:43 -070097obj-$(CONFIG_I2C_QUP) += i2c-qup.o
Wolfram Sang310c18a2013-12-20 19:08:50 +010098obj-$(CONFIG_I2C_RIIC) += i2c-riic.o
Max Schwarzc41aa3c2014-06-11 22:34:37 +020099obj-$(CONFIG_I2C_RK3X) += i2c-rk3x.o
Linus Torvalds1da177e2005-04-16 15:20:36 -0700100obj-$(CONFIG_I2C_S3C2410) += i2c-s3c2410.o
Manuel Laussa26c20b2008-04-22 22:16:47 +0200101obj-$(CONFIG_I2C_SH7760) += i2c-sh7760.o
Magnus Dammda672772008-04-22 22:16:49 +0200102obj-$(CONFIG_I2C_SH_MOBILE) += i2c-sh_mobile.o
Ben Dooksbcda9f12007-05-01 23:26:34 +0200103obj-$(CONFIG_I2C_SIMTEC) += i2c-simtec.o
Baolin Wang8b9ec072017-08-29 11:35:04 +0800104obj-$(CONFIG_I2C_SPRD) += i2c-sprd.o
Maxime COQUELIN85b4fab2013-11-06 09:25:12 +0100105obj-$(CONFIG_I2C_ST) += i2c-st.o
M'boumba Cedric Madianga62817fc2017-01-19 14:25:13 +0100106obj-$(CONFIG_I2C_STM32F4) += i2c-stm32f4.o
Pierre-Yves MORDRET7ecc8cf2018-04-11 15:24:57 +0200107i2c-stm32f7-drv-objs := i2c-stm32f7.o i2c-stm32.o
108obj-$(CONFIG_I2C_STM32F7) += i2c-stm32f7-drv.o
Boris BREZILLON3e833492014-06-11 11:17:30 +0200109obj-$(CONFIG_I2C_SUN6I_P2WI) += i2c-sun6i-p2wi.o
Ard Biesheuvel0d676a62018-04-03 21:11:49 +0200110obj-$(CONFIG_I2C_SYNQUACER) += i2c-synquacer.o
Colin Crossdb811ca2011-02-20 17:14:21 -0800111obj-$(CONFIG_I2C_TEGRA) += i2c-tegra.o
Shardar Shariff Md0297ffa2017-02-20 17:52:34 +0100112obj-$(CONFIG_I2C_TEGRA_BPMP) += i2c-tegra-bpmp.o
Masahiro Yamadadd6fd4a2015-10-23 19:51:59 +0900113obj-$(CONFIG_I2C_UNIPHIER) += i2c-uniphier.o
Masahiro Yamada6a629742015-10-23 19:52:00 +0900114obj-$(CONFIG_I2C_UNIPHIER_F) += i2c-uniphier-f.o
Jean Delvaref5b728a2008-07-14 22:38:23 +0200115obj-$(CONFIG_I2C_VERSATILE) += i2c-versatile.o
Tony Prisk560746e2013-06-15 09:52:16 +1200116obj-$(CONFIG_I2C_WMT) += i2c-wmt.o
Jan Glauberad836652016-08-24 23:25:43 +0200117i2c-octeon-objs := i2c-octeon-core.o i2c-octeon-platdrv.o
118obj-$(CONFIG_I2C_OCTEON) += i2c-octeon.o
Jan Glauber22d40202016-08-24 23:25:44 +0200119i2c-thunderx-objs := i2c-octeon-core.o i2c-thunderx-pcidrv.o
120obj-$(CONFIG_I2C_THUNDERX) += i2c-thunderx.o
Richard Röjforse1d5b652010-02-11 10:42:00 +0100121obj-$(CONFIG_I2C_XILINX) += i2c-xiic.o
Subhendu Sekhar Behera2bbd6812015-03-18 17:20:29 +0530122obj-$(CONFIG_I2C_XLP9XX) += i2c-xlp9xx.o
Kuninori Morimoto6ccbe602012-09-27 23:44:25 -0700123obj-$(CONFIG_I2C_RCAR) += i2c-rcar.o
Jean Delvaref5b728a2008-07-14 22:38:23 +0200124
125# External I2C/SMBus adapter drivers
Guenter Roeck335d7c52011-01-26 11:45:49 -0800126obj-$(CONFIG_I2C_DIOLAN_U2C) += i2c-diolan-u2c.o
Laurentiu Palcudb23e502014-11-06 15:48:04 +0200127obj-$(CONFIG_I2C_DLN2) += i2c-dln2.o
Bence Csókás4a769542021-03-31 19:19:21 +0000128obj-$(CONFIG_I2C_CP2615) += i2c-cp2615.o
Jean Delvaref5b728a2008-07-14 22:38:23 +0200129obj-$(CONFIG_I2C_PARPORT) += i2c-parport.o
Andrew Lunn83e53a82014-01-11 00:23:59 +0100130obj-$(CONFIG_I2C_ROBOTFUZZ_OSIF) += i2c-robotfuzz-osif.o
Jean Delvareb9cdad72007-07-12 14:12:31 +0200131obj-$(CONFIG_I2C_TAOS_EVM) += i2c-taos-evm.o
Till Harbaume8c76ee2007-05-01 23:26:35 +0200132obj-$(CONFIG_I2C_TINY_USB) += i2c-tiny-usb.o
Lars Poeschel174a13a2012-11-19 16:36:04 +0100133obj-$(CONFIG_I2C_VIPERBOARD) += i2c-viperboard.o
Jean Delvaref5b728a2008-07-14 22:38:23 +0200134
Jean Delvaref5b728a2008-07-14 22:38:23 +0200135# Other I2C/SMBus bus drivers
136obj-$(CONFIG_I2C_ACORN) += i2c-acorn.o
Tim Kryger93d172472013-11-14 13:02:13 -0800137obj-$(CONFIG_I2C_BCM_KONA) += i2c-bcm-kona.o
Kamal Dasudd1aa252015-06-09 15:36:20 -0400138obj-$(CONFIG_I2C_BRCMSTB) += i2c-brcmstb.o
Doug Anderson9d230c92014-04-30 10:44:09 -0700139obj-$(CONFIG_I2C_CROS_EC_TUNNEL) += i2c-cros-ec-tunnel.o
Jean Delvaref5b728a2008-07-14 22:38:23 +0200140obj-$(CONFIG_I2C_ELEKTOR) += i2c-elektor.o
Max Staudt4768e902019-08-20 11:27:39 +0200141obj-$(CONFIG_I2C_ICY) += i2c-icy.o
Khalil Blaiechb5b5b322020-09-22 18:49:37 -0400142obj-$(CONFIG_I2C_MLXBF) += i2c-mlxbf.o
Vadim Pasternak6bec23b2016-11-20 16:56:14 +0000143obj-$(CONFIG_I2C_MLXCPLD) += i2c-mlxcpld.o
Neelesh Gupta47083452014-12-13 23:31:05 +0530144obj-$(CONFIG_I2C_OPAL) += i2c-opal.o
Jean Delvaref5b728a2008-07-14 22:38:23 +0200145obj-$(CONFIG_I2C_PCA_ISA) += i2c-pca-isa.o
Jean Delvaref5b728a2008-07-14 22:38:23 +0200146obj-$(CONFIG_I2C_SIBYTE) += i2c-sibyte.o
Feng Kanf6505fb2015-04-24 15:17:50 -0700147obj-$(CONFIG_I2C_XGENE_SLIMPRO) += i2c-xgene-slimpro.o
Linus Torvalds1da177e2005-04-16 15:20:36 -0700148obj-$(CONFIG_SCx200_ACB) += scx200_acb.o
Eddie Jamesd6ffb632018-07-17 10:31:00 -0500149obj-$(CONFIG_I2C_FSI) += i2c-fsi.o
Jie Deng3cfc8832021-07-23 13:44:35 +0800150obj-$(CONFIG_I2C_VIRTIO) += i2c-virtio.o
Linus Torvalds1da177e2005-04-16 15:20:36 -0700151
matt mooneyef9d9b82010-10-24 18:16:58 +0200152ccflags-$(CONFIG_I2C_DEBUG_BUS) := -DDEBUG