Skip to contentSkip to conversation

i2c: New bus driver for TI OMAP boards

PATCH New Greg KH 1 participant 1 message Sep 27, 2006

Subsystems (4)
lore
Share & tools
lore

Greg KH

author
#0 lore raw

PATCH 15/30 i2c: New bus driver for TI OMAP boards

From: Komal Shah <komal_shah802003 at yahoo.com>

i2c: New bus driver for TI OMAP boards

This patch adds I2C bus driver for various Texas Instruments (TI) OMAP1/2 (http://www.ti.com/omap) series based boards like OMAP1510/1610/1710/242x.

Signed-off-by Komal Shah <komal_shah802003 at yahoo.com>
Signed-off-by Jean Delvare <khali at linux-fr.org>
Signed-off-by Greg Kroah-Hartman <gregkh at suse.de>
---
 drivers/i2c/busses/Kconfig    |   10 +
 drivers/i2c/busses/Makefile   |    1 
 drivers/i2c/busses/i2c-omap.c |  676 +++++++++++++++++++++++++++++++++++++++++
 3 files changed, 687 insertions(+), 0 deletions(-)
drivers/i2c/busses/Kconfig +10 -0
index 404508c..1df3bd9 100644
@@ -287,6 +287,16 @@ config I2C_OCORES
 	  This driver can also be built as a module.  If so, the module
 	  will be called i2c-ocores.
 
+config I2C_OMAP
+	tristate "OMAP I2C adapter"
+	depends on I2C && ARCH_OMAP
+	default y if MACH_OMAP_H3 || MACH_OMAP_OSK
+	help
+	  If you say yes to this option, support will be included for the
+	  I2C interface on the Texas Instruments OMAP1/2 family of processors.
+	  Like OMAP1510/1610/1710/5912 and OMAP242x.
+	  For details see http://www.ti.com/omap.
+
 config I2C_PARPORT
 	tristate "Parallel port adapter"
 	depends on I2C && PARPORT
drivers/i2c/busses/Makefile +1 -0
index ac56df5..493c872 100644
@@ -24,6 +24,7 @@ obj-$(CONFIG_I2C_MPC)		+= i2c-mpc.o
 obj-$(CONFIG_I2C_MV64XXX)	+= i2c-mv64xxx.o
 obj-$(CONFIG_I2C_NFORCE2)	+= i2c-nforce2.o
 obj-$(CONFIG_I2C_OCORES)	+= i2c-ocores.o
+obj-$(CONFIG_I2C_OMAP)		+= i2c-omap.o
 obj-$(CONFIG_I2C_PARPORT)	+= i2c-parport.o
 obj-$(CONFIG_I2C_PARPORT_LIGHT)	+= i2c-parport-light.o
 obj-$(CONFIG_I2C_PCA_ISA)	+= i2c-pca-isa.o
drivers/i2c/busses/i2c-omap.c new file +676 -0

676 lines not on this page · raw message

Signature · 1 line
1.4.2.1