Skip to content

Add I2C driver for ZTE ZX2967 family SoCs

Shawn Guo linux-arm-kernel linux-i2c 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Changes since v7 from the cover letter

- Rebase and test on v4.12-rc2.
- Drop the dev_err() and hardware reset on timeout, which is not really necessary.
- Return -ETIMEDOUT instead of -EIO on timeout.
- Unify zx2967_i2c_xfer_write_bytes() and zx2967_i2c_xfer_read_bytes() into one function zx2967_i2c_xfer_bytes(), and zx2967_i2c_xfer_write() and zx2967_i2c_xfer_read() into zx2967_i2c_xfer_msg().

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt: bindings: add documentation for zx2967 family i2c controllerDocumentation/devicetree/bindings/i2c/i2c-zx2967.txt+22 -00 replies
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+620 -01 reply
2/2i2c: zx2967: add i2c controller driver for ZTE's zx2967 family+0 -01 reply
2/2i2c: zx2967: add i2c controller driver for ZTE's zx2967 family+0 -00 replies
2/2i2c: zx2967: add i2c controller driver for ZTE's zx2967 family+0 -01 reply
2/2i2c: zx2967: add i2c controller driver for ZTE's zx2967 family+0 -01 reply

Reviews trailers per patch

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

PatchRob HerringAndy ShevchenkoJun Nie
1/2A-b
2/2R-b R-b
2/2R-b R-b
2/2R-b R-b
2/2R-b R-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 v1 thread

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

From: Shawn Guo <[email protected]>

Hi Wolfram,

The ZX2967 I2C driver submission had gone through quite a number of review iterations [1], and seems close to be accepted. But for some reason, the ball got dropped from there. I'm here to pick it up and hopefully move it forward.

This is basically a resend of the latest posting from Baoyou with Wolfram's comments on v7 fully addressed.

Changes since v7:
- Rebase and test on v4.12-rc2.
- Drop the dev_err() and hardware reset on timeout, which is not really necessary.
- Return -ETIMEDOUT instead of -EIO on timeout.
- Unify zx2967_i2c_xfer_write_bytes() and zx2967_i2c_xfer_read_bytes() into one function zx2967_i2c_xfer_bytes(), and zx2967_i2c_xfer_write() and zx2967_i2c_xfer_read() into zx2967_i2c_xfer_msg().

Shawn

[1] https://lkml.org/lkml/2017/2/22/101

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                    | 610 +++++++++++++++++++++
 4 files changed, 642 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