Skip to content

Commit

Permalink
i2c: zx2967: add i2c controller driver for ZTE's zx2967 family
Browse files Browse the repository at this point in the history
This patch adds i2c controller driver for ZTE's zx2967 family.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Jun Nie <jun.nie@linaro.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
  • Loading branch information
Baoyou Xie authored and Wolfram Sang committed Jun 23, 2017
1 parent c002250 commit 9615a01
Show file tree
Hide file tree
Showing 3 changed files with 619 additions and 0 deletions.
9 changes: 9 additions & 0 deletions drivers/i2c/busses/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1270,4 +1270,13 @@ config I2C_OPAL
This driver can also be built as a module. If so, the module will be
called as i2c-opal.

config I2C_ZX2967
tristate "ZTE ZX2967 I2C support"
depends on ARCH_ZX || COMPILE_TEST
default y
help
Selecting this option will add ZX2967 I2C driver.
This driver can also be built as a module. If so, the module will be
called i2c-zx2967.

endmenu
1 change: 1 addition & 0 deletions drivers/i2c/busses/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ obj-$(CONFIG_I2C_XILINX) += i2c-xiic.o
obj-$(CONFIG_I2C_XLR) += i2c-xlr.o
obj-$(CONFIG_I2C_XLP9XX) += i2c-xlp9xx.o
obj-$(CONFIG_I2C_RCAR) += i2c-rcar.o
obj-$(CONFIG_I2C_ZX2967) += i2c-zx2967.o

# External I2C/SMBus adapter drivers
obj-$(CONFIG_I2C_DIOLAN_U2C) += i2c-diolan-u2c.o
Expand Down
Loading

0 comments on commit 9615a01

Please sign in to comment.