at91: added new sim enable code as well as detection code to
[openwrt.git] / target / linux / adm5120 / patches / 300-i2c_gpio_custom.patch
1 Index: linux-2.6.24/drivers/i2c/busses/Kconfig
2 ===================================================================
3 --- linux-2.6.24.orig/drivers/i2c/busses/Kconfig
4 +++ linux-2.6.24/drivers/i2c/busses/Kconfig
5 @@ -146,6 +146,17 @@ config I2C_GPIO
6 This is a very simple bitbanging I2C driver utilizing the
7 arch-neutral GPIO API to control the SCL and SDA lines.
8
9 +config I2C_GPIO_CUSTOM
10 + tristate "Custom GPIO-based I2C driver"
11 + depends on GENERIC_GPIO
12 + select I2C_GPIO
13 + help
14 + This is an I2C driver to register 1 to 4 custom I2C buses using
15 + GPIO lines.
16 +
17 + This support is also available as a module. If so, the module
18 + will be called i2c-gpio-custom.
19 +
20 config I2C_HYDRA
21 tristate "CHRP Apple Hydra Mac I/O I2C interface"
22 depends on PCI && PPC_CHRP && EXPERIMENTAL
23 Index: linux-2.6.24/drivers/i2c/busses/Makefile
24 ===================================================================
25 --- linux-2.6.24.orig/drivers/i2c/busses/Makefile
26 +++ linux-2.6.24/drivers/i2c/busses/Makefile
27 @@ -14,6 +14,7 @@ obj-$(CONFIG_I2C_BLACKFIN_TWI) += i2c-bf
28 obj-$(CONFIG_I2C_DAVINCI) += i2c-davinci.o
29 obj-$(CONFIG_I2C_ELEKTOR) += i2c-elektor.o
30 obj-$(CONFIG_I2C_GPIO) += i2c-gpio.o
31 +obj-$(CONFIG_I2C_GPIO_CUSTOM) += i2c-gpio-custom.o
32 obj-$(CONFIG_I2C_HYDRA) += i2c-hydra.o
33 obj-$(CONFIG_I2C_I801) += i2c-i801.o
34 obj-$(CONFIG_I2C_I810) += i2c-i810.o
This page took 0.040908 seconds and 5 git commands to generate.