Root/target/linux/cns3xxx/patches-3.3/070-i2c_support.patch

1--- a/drivers/i2c/busses/Kconfig
2+++ b/drivers/i2c/busses/Kconfig
3@@ -326,6 +326,18 @@ config I2C_BLACKFIN_TWI_CLK_KHZ
4     help
5       The unit of the TWI clock is kHz.
6 
7+config I2C_CNS3XXX
8+ tristate "Cavium CNS3xxx I2C driver"
9+ depends on ARCH_CNS3XXX
10+ help
11+ Support for Cavium CNS3xxx I2C controller driver.
12+
13+ This driver can also be built as a module. If so, the module
14+ will be called i2c-cns3xxx.
15+
16+ Please note that this driver might be needed to bring up other
17+ devices such as Cavium CNS3xxx Ethernet.
18+
19 config I2C_CPM
20     tristate "Freescale CPM1 or CPM2 (MPC8xx/826x)"
21     depends on (CPM1 || CPM2) && OF_I2C
22--- a/drivers/i2c/busses/Makefile
23+++ b/drivers/i2c/busses/Makefile
24@@ -83,6 +83,7 @@ obj-$(CONFIG_I2C_ELEKTOR) += i2c-elektor
25 obj-$(CONFIG_I2C_PCA_ISA) += i2c-pca-isa.o
26 obj-$(CONFIG_I2C_SIBYTE) += i2c-sibyte.o
27 obj-$(CONFIG_I2C_STUB) += i2c-stub.o
28+obj-$(CONFIG_I2C_CNS3XXX) += i2c-cns3xxx.o
29 obj-$(CONFIG_SCx200_ACB) += scx200_acb.o
30 obj-$(CONFIG_SCx200_I2C) += scx200_i2c.o
31 
32

Archive Download this file



interactive