2005-04-17 02:20:36 +04:00
|
|
|
#
|
|
|
|
# Makefile for the i2c bus drivers.
|
|
|
|
#
|
|
|
|
|
2009-09-19 00:45:52 +04:00
|
|
|
# ACPI drivers
|
2009-09-19 00:45:51 +04:00
|
|
|
obj-$(CONFIG_I2C_SCMI) += i2c-scmi.o
|
|
|
|
|
2008-07-15 00:38:23 +04:00
|
|
|
# PC SMBus host controller drivers
|
2005-04-17 02:20:36 +04:00
|
|
|
obj-$(CONFIG_I2C_ALI1535) += i2c-ali1535.o
|
|
|
|
obj-$(CONFIG_I2C_ALI1563) += i2c-ali1563.o
|
|
|
|
obj-$(CONFIG_I2C_ALI15X3) += i2c-ali15x3.o
|
|
|
|
obj-$(CONFIG_I2C_AMD756) += i2c-amd756.o
|
|
|
|
obj-$(CONFIG_I2C_AMD756_S4882) += i2c-amd756-s4882.o
|
|
|
|
obj-$(CONFIG_I2C_AMD8111) += i2c-amd8111.o
|
2017-08-13 13:16:51 +03:00
|
|
|
obj-$(CONFIG_I2C_CHT_WC) += i2c-cht-wc.o
|
2008-07-15 00:38:23 +04:00
|
|
|
obj-$(CONFIG_I2C_I801) += i2c-i801.o
|
2008-07-15 00:38:27 +04:00
|
|
|
obj-$(CONFIG_I2C_ISCH) += i2c-isch.o
|
2013-02-04 23:54:10 +04:00
|
|
|
obj-$(CONFIG_I2C_ISMT) += i2c-ismt.o
|
2008-07-15 00:38:23 +04:00
|
|
|
obj-$(CONFIG_I2C_NFORCE2) += i2c-nforce2.o
|
|
|
|
obj-$(CONFIG_I2C_NFORCE2_S4985) += i2c-nforce2-s4985.o
|
|
|
|
obj-$(CONFIG_I2C_PIIX4) += i2c-piix4.o
|
|
|
|
obj-$(CONFIG_I2C_SIS5595) += i2c-sis5595.o
|
|
|
|
obj-$(CONFIG_I2C_SIS630) += i2c-sis630.o
|
|
|
|
obj-$(CONFIG_I2C_SIS96X) += i2c-sis96x.o
|
|
|
|
obj-$(CONFIG_I2C_VIA) += i2c-via.o
|
|
|
|
obj-$(CONFIG_I2C_VIAPRO) += i2c-viapro.o
|
|
|
|
|
|
|
|
# Mac SMBus host controller drivers
|
|
|
|
obj-$(CONFIG_I2C_HYDRA) += i2c-hydra.o
|
|
|
|
obj-$(CONFIG_I2C_POWERMAC) += i2c-powermac.o
|
|
|
|
|
2010-06-03 13:33:56 +04:00
|
|
|
# Embedded system I2C/SMBus host controller drivers
|
2017-09-12 00:17:20 +03:00
|
|
|
obj-$(CONFIG_I2C_ALTERA) += i2c-altera.o
|
2017-06-21 00:15:15 +03:00
|
|
|
obj-$(CONFIG_I2C_ASPEED) += i2c-aspeed.o
|
2011-11-08 14:49:46 +04:00
|
|
|
obj-$(CONFIG_I2C_AT91) += i2c-at91.o
|
2005-04-17 02:20:36 +04:00
|
|
|
obj-$(CONFIG_I2C_AU1550) += i2c-au1550.o
|
2014-10-03 15:08:02 +04:00
|
|
|
obj-$(CONFIG_I2C_AXXIA) += i2c-axxia.o
|
2013-02-12 06:47:56 +04:00
|
|
|
obj-$(CONFIG_I2C_BCM2835) += i2c-bcm2835.o
|
2015-02-08 08:25:24 +03:00
|
|
|
obj-$(CONFIG_I2C_BCM_IPROC) += i2c-bcm-iproc.o
|
2007-05-02 01:26:32 +04:00
|
|
|
obj-$(CONFIG_I2C_BLACKFIN_TWI) += i2c-bfin-twi.o
|
2014-04-05 01:27:55 +04:00
|
|
|
obj-$(CONFIG_I2C_CADENCE) += i2c-cadence.o
|
2012-11-18 20:36:19 +04:00
|
|
|
obj-$(CONFIG_I2C_CBUS_GPIO) += i2c-cbus-gpio.o
|
2008-07-15 00:38:27 +04:00
|
|
|
obj-$(CONFIG_I2C_CPM) += i2c-cpm.o
|
2007-10-14 01:56:30 +04:00
|
|
|
obj-$(CONFIG_I2C_DAVINCI) += i2c-davinci.o
|
2012-09-10 12:14:02 +04:00
|
|
|
obj-$(CONFIG_I2C_DESIGNWARE_CORE) += i2c-designware-core.o
|
2017-06-14 13:43:23 +03:00
|
|
|
i2c-designware-core-objs := i2c-designware-common.o i2c-designware-master.o
|
2017-06-22 13:17:32 +03:00
|
|
|
ifeq ($(CONFIG_I2C_DESIGNWARE_SLAVE),y)
|
|
|
|
i2c-designware-core-objs += i2c-designware-slave.o
|
|
|
|
endif
|
2011-10-29 13:57:23 +04:00
|
|
|
obj-$(CONFIG_I2C_DESIGNWARE_PLATFORM) += i2c-designware-platform.o
|
2012-09-10 12:14:02 +04:00
|
|
|
i2c-designware-platform-objs := i2c-designware-platdrv.o
|
2015-01-15 12:12:17 +03:00
|
|
|
i2c-designware-platform-$(CONFIG_I2C_DESIGNWARE_BAYTRAIL) += i2c-designware-baytrail.o
|
2011-10-06 22:26:35 +04:00
|
|
|
obj-$(CONFIG_I2C_DESIGNWARE_PCI) += i2c-designware-pci.o
|
2012-09-10 12:14:02 +04:00
|
|
|
i2c-designware-pci-objs := i2c-designware-pcidrv.o
|
2015-03-19 14:16:46 +03:00
|
|
|
obj-$(CONFIG_I2C_DIGICOLOR) += i2c-digicolor.o
|
2014-03-25 14:48:46 +04:00
|
|
|
obj-$(CONFIG_I2C_EFM32) += i2c-efm32.o
|
2012-01-23 16:31:29 +04:00
|
|
|
obj-$(CONFIG_I2C_EG20T) += i2c-eg20t.o
|
2015-07-11 10:46:23 +03:00
|
|
|
obj-$(CONFIG_I2C_EMEV2) += i2c-emev2.o
|
2013-10-16 09:30:42 +04:00
|
|
|
obj-$(CONFIG_I2C_EXYNOS5) += i2c-exynos5.o
|
i2c: Bitbanging I2C bus driver using the GPIO API
This is a very simple bitbanging I2C bus driver utilizing the new
arch-neutral GPIO API. Useful for chips that don't have a built-in
I2C controller, additional I2C busses, or testing purposes.
To use, include something similar to the following in the
board-specific setup code:
#include <linux/i2c-gpio.h>
static struct i2c_gpio_platform_data i2c_gpio_data = {
.sda_pin = GPIO_PIN_FOO,
.scl_pin = GPIO_PIN_BAR,
};
static struct platform_device i2c_gpio_device = {
.name = "i2c-gpio",
.id = 0,
.dev = {
.platform_data = &i2c_gpio_data,
},
};
Register this platform_device, set up the I2C pins as GPIO if
required and you're ready to go. This will use default values for
udelay and timeout, and will work with GPIO hardware that does not
support open drain mode, but allows sensing of the SDA and SCL lines
even when they are being driven.
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
2007-05-02 01:26:34 +04:00
|
|
|
obj-$(CONFIG_I2C_GPIO) += i2c-gpio.o
|
2008-10-14 19:30:03 +04:00
|
|
|
obj-$(CONFIG_I2C_HIGHLANDER) += i2c-highlander.o
|
2014-10-07 05:04:12 +04:00
|
|
|
obj-$(CONFIG_I2C_HIX5HD2) += i2c-hix5hd2.o
|
2005-04-17 02:20:36 +04:00
|
|
|
obj-$(CONFIG_I2C_IBM_IIC) += i2c-ibm_iic.o
|
2014-11-13 21:32:21 +03:00
|
|
|
obj-$(CONFIG_I2C_IMG) += i2c-img-scb.o
|
2009-01-30 11:32:28 +03:00
|
|
|
obj-$(CONFIG_I2C_IMX) += i2c-imx.o
|
2016-11-30 05:40:47 +03:00
|
|
|
obj-$(CONFIG_I2C_IMX_LPI2C) += i2c-imx-lpi2c.o
|
2005-04-17 02:20:36 +04:00
|
|
|
obj-$(CONFIG_I2C_IOP3XX) += i2c-iop3xx.o
|
2015-03-31 16:03:55 +03:00
|
|
|
obj-$(CONFIG_I2C_JZ4780) += i2c-jz4780.o
|
2013-06-24 08:00:04 +04:00
|
|
|
obj-$(CONFIG_I2C_KEMPLD) += i2c-kempld.o
|
2015-08-16 21:10:16 +03:00
|
|
|
obj-$(CONFIG_I2C_LPC2K) += i2c-lpc2k.o
|
2014-11-13 22:32:01 +03:00
|
|
|
obj-$(CONFIG_I2C_MESON) += i2c-meson.o
|
2005-04-17 02:20:36 +04:00
|
|
|
obj-$(CONFIG_I2C_MPC) += i2c-mpc.o
|
2015-05-21 11:53:28 +03:00
|
|
|
obj-$(CONFIG_I2C_MT65XX) += i2c-mt65xx.o
|
2005-04-17 02:20:36 +04:00
|
|
|
obj-$(CONFIG_I2C_MV64XXX) += i2c-mv64xxx.o
|
2011-02-16 15:39:16 +03:00
|
|
|
obj-$(CONFIG_I2C_MXS) += i2c-mxs.o
|
2010-02-01 17:14:54 +03:00
|
|
|
obj-$(CONFIG_I2C_NOMADIK) += i2c-nomadik.o
|
2006-06-04 22:01:08 +04:00
|
|
|
obj-$(CONFIG_I2C_OCORES) += i2c-ocores.o
|
2006-08-14 01:44:09 +04:00
|
|
|
obj-$(CONFIG_I2C_OMAP) += i2c-omap.o
|
2007-02-14 00:09:03 +03:00
|
|
|
obj-$(CONFIG_I2C_PASEMI) += i2c-pasemi.o
|
2010-06-03 13:33:56 +04:00
|
|
|
obj-$(CONFIG_I2C_PCA_PLATFORM) += i2c-pca-platform.o
|
|
|
|
obj-$(CONFIG_I2C_PMCMSP) += i2c-pmcmsp.o
|
2006-12-10 23:21:29 +03:00
|
|
|
obj-$(CONFIG_I2C_PNX) += i2c-pnx.o
|
2011-02-26 16:29:29 +03:00
|
|
|
obj-$(CONFIG_I2C_PUV3) += i2c-puv3.o
|
2005-06-15 15:38:14 +04:00
|
|
|
obj-$(CONFIG_I2C_PXA) += i2c-pxa.o
|
2011-03-02 13:26:53 +03:00
|
|
|
obj-$(CONFIG_I2C_PXA_PCI) += i2c-pxa-pci.o
|
2014-03-14 06:07:43 +04:00
|
|
|
obj-$(CONFIG_I2C_QUP) += i2c-qup.o
|
2013-12-20 22:08:50 +04:00
|
|
|
obj-$(CONFIG_I2C_RIIC) += i2c-riic.o
|
2014-06-12 00:34:37 +04:00
|
|
|
obj-$(CONFIG_I2C_RK3X) += i2c-rk3x.o
|
2005-04-17 02:20:36 +04:00
|
|
|
obj-$(CONFIG_I2C_S3C2410) += i2c-s3c2410.o
|
2008-04-23 00:16:47 +04:00
|
|
|
obj-$(CONFIG_I2C_SH7760) += i2c-sh7760.o
|
2008-04-23 00:16:49 +04:00
|
|
|
obj-$(CONFIG_I2C_SH_MOBILE) += i2c-sh_mobile.o
|
2007-05-02 01:26:34 +04:00
|
|
|
obj-$(CONFIG_I2C_SIMTEC) += i2c-simtec.o
|
2012-02-08 19:28:35 +04:00
|
|
|
obj-$(CONFIG_I2C_SIRF) += i2c-sirf.o
|
2017-08-29 06:35:04 +03:00
|
|
|
obj-$(CONFIG_I2C_SPRD) += i2c-sprd.o
|
2013-11-06 12:25:12 +04:00
|
|
|
obj-$(CONFIG_I2C_ST) += i2c-st.o
|
2017-01-19 16:25:13 +03:00
|
|
|
obj-$(CONFIG_I2C_STM32F4) += i2c-stm32f4.o
|
2017-09-14 17:28:37 +03:00
|
|
|
obj-$(CONFIG_I2C_STM32F7) += i2c-stm32f7.o
|
2009-06-13 23:51:34 +04:00
|
|
|
obj-$(CONFIG_I2C_STU300) += i2c-stu300.o
|
2014-06-11 13:17:30 +04:00
|
|
|
obj-$(CONFIG_I2C_SUN6I_P2WI) += i2c-sun6i-p2wi.o
|
2011-02-21 04:14:21 +03:00
|
|
|
obj-$(CONFIG_I2C_TEGRA) += i2c-tegra.o
|
2017-02-20 19:52:34 +03:00
|
|
|
obj-$(CONFIG_I2C_TEGRA_BPMP) += i2c-tegra-bpmp.o
|
2015-10-23 13:51:59 +03:00
|
|
|
obj-$(CONFIG_I2C_UNIPHIER) += i2c-uniphier.o
|
2015-10-23 13:52:00 +03:00
|
|
|
obj-$(CONFIG_I2C_UNIPHIER_F) += i2c-uniphier-f.o
|
2008-07-15 00:38:23 +04:00
|
|
|
obj-$(CONFIG_I2C_VERSATILE) += i2c-versatile.o
|
2013-06-15 01:52:16 +04:00
|
|
|
obj-$(CONFIG_I2C_WMT) += i2c-wmt.o
|
2016-08-25 00:25:43 +03:00
|
|
|
i2c-octeon-objs := i2c-octeon-core.o i2c-octeon-platdrv.o
|
|
|
|
obj-$(CONFIG_I2C_OCTEON) += i2c-octeon.o
|
2016-08-25 00:25:44 +03:00
|
|
|
i2c-thunderx-objs := i2c-octeon-core.o i2c-thunderx-pcidrv.o
|
|
|
|
obj-$(CONFIG_I2C_THUNDERX) += i2c-thunderx.o
|
2010-02-11 12:42:00 +03:00
|
|
|
obj-$(CONFIG_I2C_XILINX) += i2c-xiic.o
|
2012-01-27 12:45:37 +04:00
|
|
|
obj-$(CONFIG_I2C_XLR) += i2c-xlr.o
|
2015-03-18 14:50:29 +03:00
|
|
|
obj-$(CONFIG_I2C_XLP9XX) += i2c-xlp9xx.o
|
2012-09-28 10:44:25 +04:00
|
|
|
obj-$(CONFIG_I2C_RCAR) += i2c-rcar.o
|
2017-06-22 15:56:55 +03:00
|
|
|
obj-$(CONFIG_I2C_ZX2967) += i2c-zx2967.o
|
2008-07-15 00:38:23 +04:00
|
|
|
|
|
|
|
# External I2C/SMBus adapter drivers
|
2011-01-26 22:45:49 +03:00
|
|
|
obj-$(CONFIG_I2C_DIOLAN_U2C) += i2c-diolan-u2c.o
|
2014-11-06 16:48:04 +03:00
|
|
|
obj-$(CONFIG_I2C_DLN2) += i2c-dln2.o
|
2008-07-15 00:38:23 +04:00
|
|
|
obj-$(CONFIG_I2C_PARPORT) += i2c-parport.o
|
|
|
|
obj-$(CONFIG_I2C_PARPORT_LIGHT) += i2c-parport-light.o
|
2014-01-11 03:23:59 +04:00
|
|
|
obj-$(CONFIG_I2C_ROBOTFUZZ_OSIF) += i2c-robotfuzz-osif.o
|
2007-07-12 16:12:31 +04:00
|
|
|
obj-$(CONFIG_I2C_TAOS_EVM) += i2c-taos-evm.o
|
2007-05-02 01:26:35 +04:00
|
|
|
obj-$(CONFIG_I2C_TINY_USB) += i2c-tiny-usb.o
|
2012-11-19 19:36:04 +04:00
|
|
|
obj-$(CONFIG_I2C_VIPERBOARD) += i2c-viperboard.o
|
2008-07-15 00:38:23 +04:00
|
|
|
|
|
|
|
# Other I2C/SMBus bus drivers
|
|
|
|
obj-$(CONFIG_I2C_ACORN) += i2c-acorn.o
|
2013-11-15 01:02:13 +04:00
|
|
|
obj-$(CONFIG_I2C_BCM_KONA) += i2c-bcm-kona.o
|
2015-06-09 22:36:20 +03:00
|
|
|
obj-$(CONFIG_I2C_BRCMSTB) += i2c-brcmstb.o
|
2014-04-30 21:44:09 +04:00
|
|
|
obj-$(CONFIG_I2C_CROS_EC_TUNNEL) += i2c-cros-ec-tunnel.o
|
2008-07-15 00:38:23 +04:00
|
|
|
obj-$(CONFIG_I2C_ELEKTOR) += i2c-elektor.o
|
2016-11-20 19:56:14 +03:00
|
|
|
obj-$(CONFIG_I2C_MLXCPLD) += i2c-mlxcpld.o
|
2014-12-13 21:01:05 +03:00
|
|
|
obj-$(CONFIG_I2C_OPAL) += i2c-opal.o
|
2008-07-15 00:38:23 +04:00
|
|
|
obj-$(CONFIG_I2C_PCA_ISA) += i2c-pca-isa.o
|
|
|
|
obj-$(CONFIG_I2C_SIBYTE) += i2c-sibyte.o
|
2015-04-25 01:17:50 +03:00
|
|
|
obj-$(CONFIG_I2C_XGENE_SLIMPRO) += i2c-xgene-slimpro.o
|
2005-04-17 02:20:36 +04:00
|
|
|
obj-$(CONFIG_SCx200_ACB) += scx200_acb.o
|
|
|
|
|
2010-10-24 20:16:58 +04:00
|
|
|
ccflags-$(CONFIG_I2C_DEBUG_BUS) := -DDEBUG
|