Skip to contentSkip to conversation

Add Intel IXP2000 GPIO-based I2C adapter

PATCH New Deepak Saxena 2 participants 2 messages May 19, 2005 I2C subsystem host drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add Intel IXP2000 GPIO-based I2C adapter

Greg,

Following patch adds support for using GPIO pins on Intel's IXP2000 Network Processor as a bit-bang I2C adapter. IXP2000 support will be coming in via ARM updates once all the various drivers have been merged upstream.

Please apply,
~Deepak

drivers/i2c/busses/Kconfig +11 -0
diff -Nru a/drivers/i2c/busses/Kconfig b/drivers/i2c/busses/Kconfig
@@ -164,6 +164,17 @@
 	  This support is also available as a module. If so, the module
 	  will be called i2c-ixp4xx.
 
+config I2C_IXP2000
+	tristate "IXP2000 GPIO-Based I2C Interface"
+	depends on I2C && ARCH_IXP2000
+	select I2C_ALGOBIT
+	help
+	  Say Y here if you have an Intel IXP2000(2400, 2800, 2850) based 
+	  system and are using GPIO lines for an I2C bus.
+
+	  This support is also available as a module. If so, the module
+	  will be called i2c-ixp2000.
+
 config I2C_KEYWEST
 	tristate "Powermac Keywest I2C interface"
 	depends on I2C && PPC_PMAC
drivers/i2c/busses/Makefile +1 -0
diff -Nru a/drivers/i2c/busses/Makefile b/drivers/i2c/busses/Makefile
@@ -16,6 +16,7 @@
 obj-$(CONFIG_I2C_ISA)		+= i2c-isa.o
 obj-$(CONFIG_I2C_ITE)		+= i2c-ite.o
 obj-$(CONFIG_I2C_IXP4XX)	+= i2c-ixp4xx.o
+obj-$(CONFIG_I2C_IXP2000)	+= i2c-ixp2000.o
 obj-$(CONFIG_I2C_KEYWEST)	+= i2c-keywest.o
 obj-$(CONFIG_I2C_NFORCE2)	+= i2c-nforce2.o
 obj-$(CONFIG_I2C_PARPORT)	+= i2c-parport.o
drivers/i2c/busses/i2c-ixp2000.c new file +171 -0

171 lines not on this page · raw message

Signature · 4 lines
Deepak Saxena - dsaxena at plexity dot net - http://www.plexity.net/

"Unlike me, many of you have accepted the situation of your imprisonment and
 will die here like rotten cabbages." - Number 6
Applied
#1 lore raw

PATCH 1/1 Add Intel IXP2000 GPIO-based I2C adapter

Quoted 7 lines · Deepak Saxena

Greg,

Following patch adds support for using GPIO pins on Intel's IXP2000 Network Processor as a bit-bang I2C adapter. IXP2000 support will be coming in via ARM updates once all the various drivers have been merged upstream.

Applied, thanks.

greg k-h