diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2012-11-12 09:18:00 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2012-11-12 09:18:00 +0000 |
commit | 5cddb170cdbe2ab2cdfd3e24cd025b387baa5438 (patch) | |
tree | e0982abb3bf0a074e6507758fbaf5b3120619cd8 /target/linux/cns3xxx/patches-3.3/070-i2c_support.patch | |
parent | 77504ac06fe4dcfd069fdd51abb318b6d8cb0a31 (diff) | |
download | mtk-20170518-5cddb170cdbe2ab2cdfd3e24cd025b387baa5438.zip mtk-20170518-5cddb170cdbe2ab2cdfd3e24cd025b387baa5438.tar.gz mtk-20170518-5cddb170cdbe2ab2cdfd3e24cd025b387baa5438.tar.bz2 |
reorder, rename and refresh patches
SVN-Revision: 34169
Diffstat (limited to 'target/linux/cns3xxx/patches-3.3/070-i2c_support.patch')
-rw-r--r-- | target/linux/cns3xxx/patches-3.3/070-i2c_support.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/target/linux/cns3xxx/patches-3.3/070-i2c_support.patch b/target/linux/cns3xxx/patches-3.3/070-i2c_support.patch new file mode 100644 index 0000000..df7ceac --- /dev/null +++ b/target/linux/cns3xxx/patches-3.3/070-i2c_support.patch @@ -0,0 +1,31 @@ +--- a/drivers/i2c/busses/Kconfig ++++ b/drivers/i2c/busses/Kconfig +@@ -326,6 +326,18 @@ config I2C_BLACKFIN_TWI_CLK_KHZ + help + The unit of the TWI clock is kHz. + ++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) && OF_I2C +--- a/drivers/i2c/busses/Makefile ++++ b/drivers/i2c/busses/Makefile +@@ -83,6 +83,7 @@ obj-$(CONFIG_I2C_ELEKTOR) += i2c-elektor + obj-$(CONFIG_I2C_PCA_ISA) += i2c-pca-isa.o + obj-$(CONFIG_I2C_SIBYTE) += i2c-sibyte.o + obj-$(CONFIG_I2C_STUB) += i2c-stub.o ++obj-$(CONFIG_I2C_CNS3XXX) += i2c-cns3xxx.o + obj-$(CONFIG_SCx200_ACB) += scx200_acb.o + obj-$(CONFIG_SCx200_I2C) += scx200_i2c.o + |