[PATCH v3 0/5] Add i2c support for MediaTek mt8512

mingming lee mingming.lee at mediatek.com
Fri Oct 16 05:27:10 CEST 2020


From: Mingming Lee <Mingming.Lee at mediatek.com>

This patch series adds basic i2c support for MediaTek MT8512 EMMC boards.

---
Changes for v3:
   - fixed code veriew note in v2.
   - optimize the dma read/write flow in mtk_i2c_do_transfer().
   - add Reviewed-by info.

Changes for v2:
   - using error number defined in include/linux/errno.h.
   - add Mediatek i2c controller driver to ARM MEDIATEK in MAINTAINERS.
   - add bindings for mediatek i2c driver.

Mingming Lee (5):
  i2c: mediatek: add basic driver support
  ARM: dts: Mediatek: add i2c node support for mt8512
  configs: mt8512: Enable I2C related configs
  dt-binding: i2c: add bindings for mediatek i2c driver
  MAINTAINERS: add i2c driver to ARM MEDIATEK

 MAINTAINERS                              |   2 +
 arch/arm/dts/mt8512-bm1-emmc.dts         |  12 +
 arch/arm/dts/mt8512.dtsi                 |  38 +-
 configs/mt8512_bm1_emmc_defconfig        |   8 +-
 doc/device-tree-bindings/i2c/i2c-mtk.txt |  39 ++
 drivers/i2c/Kconfig                      |   8 +
 drivers/i2c/Makefile                     |   1 +
 drivers/i2c/mt_i2c.c                     | 713 +++++++++++++++++++++++++++++++
 8 files changed, 819 insertions(+), 2 deletions(-)
 create mode 100644 doc/device-tree-bindings/i2c/i2c-mtk.txt
 create mode 100644 drivers/i2c/mt_i2c.c

-- 
1.8.1.1.dirty


More information about the U-Boot mailing list