Skip to contentSkip to conversation

[PATCH[ I2C: AT91RM9200 bus driver (resubmit)

lm-sensors Andrew Victor 1 participant 1 message Jun 19, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

hi,

This patch adds support for the I2C (Two-wire interface) controller build into the Atmel AT91RM9200 processor.

Signed-off-by Andrew Victor <andrew at sanpeople.com>

Could it please be reviewed for submission to the mainline kernel. Thanks.

Regards,
Andrew Victor

drivers/i2c/busses/Kconfig +7 -0
diff -urN -x CVS linux-2.6.17/drivers/i2c/busses/Kconfig linux-2.6.17-rc/drivers/i2c/busses/Kconfig
@@ -201,6 +201,13 @@
 	  This driver can also be built as a module.  If so, the module
 	  will be called i2c-iop3xx.
 
+config I2C_AT91
+	tristate "Atmel AT91RM9200 I2C Two-Wire interface (TWI)"
+	depends on I2C && ARCH_AT91RM9200
+	help
+	  This supports the use of the I2C interface on the AT91RM9200
+	  processor.
+
 config I2C_ISA
 	tristate
 	depends on I2C
drivers/i2c/busses/Makefile +1 -0
diff -urN -x CVS linux-2.6.17/drivers/i2c/busses/Makefile linux-2.6.17-rc/drivers/i2c/busses/Makefile
@@ -8,6 +8,7 @@
 obj-$(CONFIG_I2C_AMD756)	+= i2c-amd756.o
 obj-$(CONFIG_I2C_AMD756_S4882)	+= i2c-amd756-s4882.o
 obj-$(CONFIG_I2C_AMD8111)	+= i2c-amd8111.o
+obj-$(CONFIG_I2C_AT91)		+= i2c-at91.o
 obj-$(CONFIG_I2C_AU1550)	+= i2c-au1550.o
 obj-$(CONFIG_I2C_ELEKTOR)	+= i2c-elektor.o
 obj-$(CONFIG_I2C_HYDRA)		+= i2c-hydra.o
drivers/i2c/busses/i2c-at91.c +269 -0

269 lines not on this page · raw message

include/asm-arm/arch-at91rm9200/at91rm9200_twi.h +57 -0

57 lines not on this page · raw message