diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-11-27 16:24:32 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-11-27 16:24:32 +0000 |
commit | 4c369cdb9df368e62c088380f5bb02057c584e58 (patch) | |
tree | 3d25051a834952d4f3b4cef11e972aa86ddcf173 /target/linux/cns3xxx/patches-3.18/070-i2c_support.patch | |
parent | 41fb5fcd1f747594b96174d8695980a8a3974275 (diff) | |
download | upstream-4c369cdb9df368e62c088380f5bb02057c584e58.tar.gz upstream-4c369cdb9df368e62c088380f5bb02057c584e58.tar.bz2 upstream-4c369cdb9df368e62c088380f5bb02057c584e58.zip |
cns3xxx: add experimental 3.18 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43406 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/cns3xxx/patches-3.18/070-i2c_support.patch')
-rw-r--r-- | target/linux/cns3xxx/patches-3.18/070-i2c_support.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/target/linux/cns3xxx/patches-3.18/070-i2c_support.patch b/target/linux/cns3xxx/patches-3.18/070-i2c_support.patch new file mode 100644 index 0000000000..0114d7e781 --- /dev/null +++ b/target/linux/cns3xxx/patches-3.18/070-i2c_support.patch @@ -0,0 +1,31 @@ +--- a/drivers/i2c/busses/Kconfig ++++ b/drivers/i2c/busses/Kconfig +@@ -416,6 +416,18 @@ config I2C_CBUS_GPIO + This driver can also be built as a module. If so, the module + will be called i2c-cbus-gpio. + ++config I2C_CNS3XXX ++ tristate "Cavium CNS3xxx I2C driver" ++ depends on ARCH_CNS3XXX ++ help ++ Support for Cavium CNS3xxx I2C controller driver. ++ ++ This driver can also be built as a module. If so, the module ++ will be called i2c-cns3xxx. ++ ++ Please note that this driver might be needed to bring up other ++ devices such as Cavium CNS3xxx Ethernet. ++ + config I2C_CPM + tristate "Freescale CPM1 or CPM2 (MPC8xx/826x)" + depends on CPM1 || CPM2 +--- a/drivers/i2c/busses/Makefile ++++ b/drivers/i2c/busses/Makefile +@@ -101,6 +101,7 @@ obj-$(CONFIG_I2C_CROS_EC_TUNNEL) += i2c- + obj-$(CONFIG_I2C_ELEKTOR) += i2c-elektor.o + obj-$(CONFIG_I2C_PCA_ISA) += i2c-pca-isa.o + obj-$(CONFIG_I2C_SIBYTE) += i2c-sibyte.o ++obj-$(CONFIG_I2C_CNS3XXX) += i2c-cns3xxx.o + obj-$(CONFIG_SCx200_ACB) += scx200_acb.o + + ccflags-$(CONFIG_I2C_DEBUG_BUS) := -DDEBUG |