I2C via MTX-1 GPIO lines
Subsystems (2)
PATCH 6/7 I2C via MTX-1 GPIO lines
This patch adds support for an I2C bus using GPIO devices. It is preconfigured to use the MTX-1 GPIO lines dedicated to I2C.
Signed-off-by Florian Fainelli <[email protected]>
drivers/i2c/busses/Kconfig +11 -0
@@ -84,6 +84,17 @@ This driver can also be built as a module. If so, the module will be called i2c-au1550. +config I2C_AU1X00GPIO + tristate "Au1x00 i2c using GPIO pins" + depends on I2C + select I2C_ALGOBIT + help + If you say yest to this option, support will be included for the + Au1x00 GPIO interface. + + This driver can also be built as a module. If so, the module + will be called i2c-au1x00gpio. + config I2C_ELEKTOR tristate "Elektor ISA card" depends on I2C && ISA && BROKEN_ON_SMP
drivers/i2c/busses/Makefile +1 -0
@@ -9,6 +9,7 @@ obj-$(CONFIG_I2C_AMD756_S4882) += i2c-amd756-s4882.o obj-$(CONFIG_I2C_AMD8111) += i2c-amd8111.o obj-$(CONFIG_I2C_AU1550) += i2c-au1550.o +obj-$(CONFIG_I2C_AU1X00GPIO) += i2c-au1x00gpio.o obj-$(CONFIG_I2C_ELEKTOR) += i2c-elektor.o obj-$(CONFIG_I2C_HYDRA) += i2c-hydra.o obj-$(CONFIG_I2C_I801) += i2c-i801.o
drivers/i2c/busses/i2c-au1x00gpio.c +406 -0
406 lines not on this page · raw message
include/linux/i2c-id.h +3 -0
@@ -231,6 +231,9 @@/* --- Au1550 PSC adapters adapters */ #define I2C_HW_AU1550_PSC 0x1b0000 +/* --- Au1x00 i2c GPIO adapter */ +#define I2C_HW_B_AU1x00GPIO 0x1b +/* --- SMBus only adapters */ #define I2C_HW_SMBUS_PIIX4 0x040000#define I2C_HW_SMBUS_ALI15X3 0x040001
On Fri, Mar 02, 2007 at 10:08:05PM +0100, Florian Fainelli wrote:
I2C stuff is dealt with by
I2C SUBSYSTEM
P: Jean Delvare M: [email protected] L: [email protected] T: quilt http://khali.linux-fr.org/devel/linux-2.6/jdelvare-i2c/ S: Maintained
Ralf