[PATCH v2 0/2] Add I2C driver for ZTE ZX2967 family SoCs

Shawn Guo shawnguo at kernel.org
Thu Jun 22 05:56:53 PDT 2017


From: Shawn Guo <shawn.guo at linaro.org>

It's the second posting of the patches adding I2C driver for ZTE ZX2967
family SoCs.  Thanks a lot for Wolfram's review comments on v1 patch,
which helps identify issues with NACK handling.

Changes for v2:
 - Add COMPILE_TEST for Kconfig option dependency.
 - Drop warning message for unsupported SMBus transfer, since the driver
   will fall back to emulate them via I2C anyway.
 - Kill ZX2967_I2C_FUNCS define by returning I2C_FUNC_XXX directly.
 - Drop error message for i2c_add_numbered_adapter() check, since the
   core will do the reporting.
 - Drop the error checking from zx2967_i2c_reset_hardware() which is
   useless now, and add it into irq handler for proper NACK handling.

Baoyou Xie (2):
  dt: bindings: add documentation for zx2967 family i2c controller
  i2c: zx2967: add i2c controller driver for ZTE's zx2967 family

 .../devicetree/bindings/i2c/i2c-zx2967.txt         |  22 +
 drivers/i2c/busses/Kconfig                         |   9 +
 drivers/i2c/busses/Makefile                        |   1 +
 drivers/i2c/busses/i2c-zx2967.c                    | 609 +++++++++++++++++++++
 4 files changed, 641 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/i2c/i2c-zx2967.txt
 create mode 100644 drivers/i2c/busses/i2c-zx2967.c

-- 
1.9.1




More information about the linux-arm-kernel mailing list