Skip to content

Add I2C driver for ZTE ZX2967 family SoCs

Shawn Guo linux-arm-kernel linux-i2c 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v10 of 2 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- 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.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt: bindings: add documentation for zx2967 family i2c controllerDocumentation/devicetree/bindings/i2c/i2c-zx2967.txt+22 -01 reply
2/2i2c: zx2967: add i2c controller driver for ZTE's zx2967 familydrivers/i2c/busses/Kconfig drivers/i2c/busses/Makefile drivers/i2c/busses/i2c-zx2967.c+619 -01 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRob HerringAndy ShevchenkoJun Nie
1/2A-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

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

From: Shawn Guo <[email protected]>

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
Signature · 1 line
1.9.1