1b2a7d8574e6df4bf499496857e9fdcb06986882
[openwrt/openwrt.git] / target / linux / cns3xxx / patches-3.14 / 070-i2c_support.patch
1 --- a/drivers/i2c/busses/Kconfig
2 +++ b/drivers/i2c/busses/Kconfig
3 @@ -386,6 +386,18 @@ config I2C_CBUS_GPIO
4 This driver can also be built as a module. If so, the module
5 will be called i2c-cbus-gpio.
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
22 --- a/drivers/i2c/busses/Makefile
23 +++ b/drivers/i2c/busses/Makefile
24 @@ -95,6 +95,7 @@ obj-$(CONFIG_I2C_BCM_KONA) += i2c-bcm-ko
25 obj-$(CONFIG_I2C_ELEKTOR) += i2c-elektor.o
26 obj-$(CONFIG_I2C_PCA_ISA) += i2c-pca-isa.o
27 obj-$(CONFIG_I2C_SIBYTE) += i2c-sibyte.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