cns3xxx: update to linux 4.4
[openwrt/openwrt.git] / target / linux / cns3xxx / patches-4.4 / 070-i2c_support.patch
1 --- a/drivers/i2c/busses/Kconfig
2 +++ b/drivers/i2c/busses/Kconfig
3 @@ -440,6 +440,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 @@ -111,6 +111,7 @@ obj-$(CONFIG_I2C_VIPERBOARD) += i2c-vipe
25 obj-$(CONFIG_I2C_ACORN) += i2c-acorn.o
26 obj-$(CONFIG_I2C_BCM_KONA) += i2c-bcm-kona.o
27 obj-$(CONFIG_I2C_BRCMSTB) += i2c-brcmstb.o
28 +obj-$(CONFIG_I2C_CNS3XXX) += i2c-cns3xxx.o
29 obj-$(CONFIG_I2C_CROS_EC_TUNNEL) += i2c-cros-ec-tunnel.o
30 obj-$(CONFIG_I2C_ELEKTOR) += i2c-elektor.o
31 obj-$(CONFIG_I2C_OPAL) += i2c-opal.o