2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
# Makefile for the i2c bus drivers.
|
|
|
|
#
|
|
|
|
|
2009-09-19 04:45:52 +08:00
|
|
|
# ACPI drivers
|
2009-09-19 04:45:51 +08:00
|
|
|
obj-$(CONFIG_I2C_SCMI) += i2c-scmi.o
|
|
|
|
|
2008-07-15 04:38:23 +08:00
|
|
|
# PC SMBus host controller drivers
|
2005-04-17 06:20:36 +08: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
|
2008-07-15 04:38:23 +08:00
|
|
|
obj-$(CONFIG_I2C_I801) += i2c-i801.o
|
2008-07-15 04:38:27 +08:00
|
|
|
obj-$(CONFIG_I2C_ISCH) += i2c-isch.o
|
2008-07-15 04:38:23 +08: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 17:33:56 +08:00
|
|
|
# Embedded system I2C/SMBus host controller drivers
|
2006-12-11 04:21:30 +08:00
|
|
|
obj-$(CONFIG_I2C_AT91) += i2c-at91.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_I2C_AU1550) += i2c-au1550.o
|
2007-05-02 05:26:32 +08:00
|
|
|
obj-$(CONFIG_I2C_BLACKFIN_TWI) += i2c-bfin-twi.o
|
2008-07-15 04:38:27 +08:00
|
|
|
obj-$(CONFIG_I2C_CPM) += i2c-cpm.o
|
2007-10-14 05:56:30 +08:00
|
|
|
obj-$(CONFIG_I2C_DAVINCI) += i2c-davinci.o
|
2009-06-22 21:36:29 +08:00
|
|
|
obj-$(CONFIG_I2C_DESIGNWARE) += i2c-designware.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 05:26:34 +08:00
|
|
|
obj-$(CONFIG_I2C_GPIO) += i2c-gpio.o
|
2008-10-14 23:30:03 +08:00
|
|
|
obj-$(CONFIG_I2C_HIGHLANDER) += i2c-highlander.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_I2C_IBM_IIC) += i2c-ibm_iic.o
|
2009-01-30 16:32:28 +08:00
|
|
|
obj-$(CONFIG_I2C_IMX) += i2c-imx.o
|
2010-10-27 19:44:03 +08:00
|
|
|
obj-$(CONFIG_I2C_INTEL_MID) += i2c-intel-mid.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_I2C_IOP3XX) += i2c-iop3xx.o
|
|
|
|
obj-$(CONFIG_I2C_IXP2000) += i2c-ixp2000.o
|
|
|
|
obj-$(CONFIG_I2C_MPC) += i2c-mpc.o
|
|
|
|
obj-$(CONFIG_I2C_MV64XXX) += i2c-mv64xxx.o
|
2010-02-01 22:14:54 +08:00
|
|
|
obj-$(CONFIG_I2C_NOMADIK) += i2c-nomadik.o
|
2010-06-25 13:43:07 +08:00
|
|
|
obj-$(CONFIG_I2C_NUC900) += i2c-nuc900.o
|
2006-06-05 02:01:08 +08:00
|
|
|
obj-$(CONFIG_I2C_OCORES) += i2c-ocores.o
|
2006-08-14 05:44:09 +08:00
|
|
|
obj-$(CONFIG_I2C_OMAP) += i2c-omap.o
|
2007-02-14 05:09:03 +08:00
|
|
|
obj-$(CONFIG_I2C_PASEMI) += i2c-pasemi.o
|
2010-06-03 17:33:56 +08:00
|
|
|
obj-$(CONFIG_I2C_PCA_PLATFORM) += i2c-pca-platform.o
|
|
|
|
obj-$(CONFIG_I2C_PMCMSP) += i2c-pmcmsp.o
|
2006-12-11 04:21:29 +08:00
|
|
|
obj-$(CONFIG_I2C_PNX) += i2c-pnx.o
|
2005-06-15 19:38:14 +08:00
|
|
|
obj-$(CONFIG_I2C_PXA) += i2c-pxa.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_I2C_S3C2410) += i2c-s3c2410.o
|
2009-04-02 19:19:07 +08:00
|
|
|
obj-$(CONFIG_I2C_S6000) += i2c-s6000.o
|
2008-04-23 04:16:47 +08:00
|
|
|
obj-$(CONFIG_I2C_SH7760) += i2c-sh7760.o
|
2008-04-23 04:16:49 +08:00
|
|
|
obj-$(CONFIG_I2C_SH_MOBILE) += i2c-sh_mobile.o
|
2007-05-02 05:26:34 +08:00
|
|
|
obj-$(CONFIG_I2C_SIMTEC) += i2c-simtec.o
|
2009-06-14 03:51:34 +08:00
|
|
|
obj-$(CONFIG_I2C_STU300) += i2c-stu300.o
|
2008-07-15 04:38:23 +08:00
|
|
|
obj-$(CONFIG_I2C_VERSATILE) += i2c-versatile.o
|
2010-01-29 04:47:07 +08:00
|
|
|
obj-$(CONFIG_I2C_OCTEON) += i2c-octeon.o
|
2010-02-11 17:42:00 +08:00
|
|
|
obj-$(CONFIG_I2C_XILINX) += i2c-xiic.o
|
2008-07-15 04:38:23 +08:00
|
|
|
|
|
|
|
# External I2C/SMBus adapter drivers
|
|
|
|
obj-$(CONFIG_I2C_PARPORT) += i2c-parport.o
|
|
|
|
obj-$(CONFIG_I2C_PARPORT_LIGHT) += i2c-parport-light.o
|
2007-07-12 20:12:31 +08:00
|
|
|
obj-$(CONFIG_I2C_TAOS_EVM) += i2c-taos-evm.o
|
2007-05-02 05:26:35 +08:00
|
|
|
obj-$(CONFIG_I2C_TINY_USB) += i2c-tiny-usb.o
|
2008-07-15 04:38:23 +08:00
|
|
|
|
|
|
|
# Other I2C/SMBus bus drivers
|
|
|
|
obj-$(CONFIG_I2C_ACORN) += i2c-acorn.o
|
|
|
|
obj-$(CONFIG_I2C_ELEKTOR) += i2c-elektor.o
|
|
|
|
obj-$(CONFIG_I2C_PCA_ISA) += i2c-pca-isa.o
|
|
|
|
obj-$(CONFIG_I2C_SIBYTE) += i2c-sibyte.o
|
|
|
|
obj-$(CONFIG_I2C_STUB) += i2c-stub.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_SCx200_ACB) += scx200_acb.o
|
|
|
|
obj-$(CONFIG_SCx200_I2C) += scx200_i2c.o
|
|
|
|
|
2010-10-25 00:16:58 +08:00
|
|
|
ccflags-$(CONFIG_I2C_DEBUG_BUS) := -DDEBUG
|