Skip to content

RFC add support for Zhaoxin I2C controller

Hans Hu linux-i2c 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2i2c: separate i2c-viai2c-common from i2c-wmtdrivers/i2c/busses/Kconfig drivers/i2c/busses/Makefile drivers/i2c/busses/i2c-viai2c-common.c +2 more+333 -3720 replies
2/2i2c: add support for Zhaoxin I2C controllerMAINTAINERS drivers/i2c/busses/Kconfig drivers/i2c/busses/Makefile +4 more+316 -30 replies

Reviews trailers per patch

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

PatchAndi Shyti
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [RFC 0/2] add support for Zhaoxin I2C controller

Hi Andi,

As discussed earlier, the Zhaoxin i2c controller uses the same IP as Wonder Media. Therefore, some codes of i2c-wmt.c can be re-used by i2c-zhaoxin.c.

As you suggested, I created two files, named i2c-viai2c-common.{c,h}. They contains the macro definition, function declaration and data structure used by i2c-zhaoxin.c and i2c-wmt.c.

Hans Hu (2):
i2c: separate i2c-viai2c-common from i2c-wmt
i2c: add support for Zhaoxin I2C controller

 MAINTAINERS                            |   7 +
 drivers/i2c/busses/Kconfig             |  15 +
 drivers/i2c/busses/Makefile            |   2 +
 drivers/i2c/busses/i2c-viai2c-common.c | 239 +++++++++++++++
 drivers/i2c/busses/i2c-viai2c-common.h |  76 +++++
 drivers/i2c/busses/i2c-wmt.c           | 402 ++-----------------------
 drivers/i2c/busses/i2c-zhaoxin.c       | 275 +++++++++++++++++
 7 files changed, 645 insertions(+), 371 deletions(-)
 create mode 100644 drivers/i2c/busses/i2c-viai2c-common.c
 create mode 100644 drivers/i2c/busses/i2c-viai2c-common.h
 create mode 100644 drivers/i2c/busses/i2c-zhaoxin.c
Signature · 1 line
2.34.1