diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2008-02-09 10:29:28 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2008-02-09 10:29:28 +0000 |
commit | d187aba072246a4b03979b52b63198967cb511e6 (patch) | |
tree | 0e564d4fff61a6173e95cf1e26ff005dd47a5fa4 /target/linux/adm5120/patches/300-i2c_gpio_custom.patch | |
parent | cf02f1c6b20c64b88d51d0d6d5324ea6010583c7 (diff) | |
download | upstream-d187aba072246a4b03979b52b63198967cb511e6.tar.gz upstream-d187aba072246a4b03979b52b63198967cb511e6.tar.bz2 upstream-d187aba072246a4b03979b52b63198967cb511e6.zip |
switch to 2.6.24
SVN-Revision: 10427
Diffstat (limited to 'target/linux/adm5120/patches/300-i2c_gpio_custom.patch')
-rw-r--r-- | target/linux/adm5120/patches/300-i2c_gpio_custom.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/target/linux/adm5120/patches/300-i2c_gpio_custom.patch b/target/linux/adm5120/patches/300-i2c_gpio_custom.patch new file mode 100644 index 0000000000..d0736f3616 --- /dev/null +++ b/target/linux/adm5120/patches/300-i2c_gpio_custom.patch @@ -0,0 +1,34 @@ +Index: linux-2.6.24/drivers/i2c/busses/Kconfig +=================================================================== +--- linux-2.6.24.orig/drivers/i2c/busses/Kconfig ++++ linux-2.6.24/drivers/i2c/busses/Kconfig +@@ -146,6 +146,17 @@ config I2C_GPIO + This is a very simple bitbanging I2C driver utilizing the + arch-neutral GPIO API to control the SCL and SDA lines. + ++config I2C_GPIO_CUSTOM ++ tristate "Custom GPIO-based I2C driver" ++ depends on GENERIC_GPIO ++ select I2C_GPIO ++ help ++ This is an I2C driver to register 1 to 4 custom I2C buses using ++ GPIO lines. ++ ++ This support is also available as a module. If so, the module ++ will be called i2c-gpio-custom. ++ + config I2C_HYDRA + tristate "CHRP Apple Hydra Mac I/O I2C interface" + depends on PCI && PPC_CHRP && EXPERIMENTAL +Index: linux-2.6.24/drivers/i2c/busses/Makefile +=================================================================== +--- linux-2.6.24.orig/drivers/i2c/busses/Makefile ++++ linux-2.6.24/drivers/i2c/busses/Makefile +@@ -14,6 +14,7 @@ obj-$(CONFIG_I2C_BLACKFIN_TWI) += i2c-bf + obj-$(CONFIG_I2C_DAVINCI) += i2c-davinci.o + obj-$(CONFIG_I2C_ELEKTOR) += i2c-elektor.o + obj-$(CONFIG_I2C_GPIO) += i2c-gpio.o ++obj-$(CONFIG_I2C_GPIO_CUSTOM) += i2c-gpio-custom.o + obj-$(CONFIG_I2C_HYDRA) += i2c-hydra.o + obj-$(CONFIG_I2C_I801) += i2c-i801.o + obj-$(CONFIG_I2C_I810) += i2c-i810.o |