[PATCH v3 1/5] i2c: mediatek: add basic driver support

Simon Glass sjg at chromium.org
Mon Oct 26 20:22:45 CET 2020


On Thu, 15 Oct 2020 at 21:27, mingming lee <mingming.lee at mediatek.com> wrote:
>
> From: Mingming Lee <Mingming.Lee at mediatek.com>
>
> Add MediaTek I2C basic driver
>
> Reviewed-by: Heiko Schocher <hs at denx.de>
> Signed-off-by: Mingming Lee <Mingming.Lee at mediatek.com>
> ---
> Changes for v3:
>    - fixed code veriew note in v2
>    - optimize the dma read/write flow in mtk_i2c_do_transfer()
>
> Changes for v2:
>    - using error number defined in include/linux/errno.h
> ---
>  drivers/i2c/Kconfig  |   8 +
>  drivers/i2c/Makefile |   1 +
>  drivers/i2c/mt_i2c.c | 713 +++++++++++++++++++++++++++++++++++++++++++++++++++
>  3 files changed, 722 insertions(+)
>  create mode 100644 drivers/i2c/mt_i2c.c

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list