[PATCH v2 1/2] i2c: ocores: add i2c driver for OpenCores I2C controller

Rick Chen rickchen36 at gmail.com
Wed Nov 11 07:35:15 CET 2020


> From: Pragnesh Patel [mailto:pragnesh.patel at sifive.com]
> Sent: Thursday, October 22, 2020 2:55 PM
> To: u-boot at lists.denx.de
> Cc: atish.patra at wdc.com; palmerdabbelt at google.com; bmeng.cn at gmail.com; paul.walmsley at sifive.com; anup.patel at wdc.com; sagar.kadam at sifive.com; Rick Jian-Zhi Chen(陳建志); peter at korsgaard.com; Pragnesh Patel; Heiko Schocher
> Subject: [PATCH v2 1/2] i2c: ocores: add i2c driver for OpenCores I2C controller
>
> Add support for the OpenCores I2C controller IP core
> (See http://www.opencores.org/projects.cgi/web/i2c/overview).
>
> This driver implementation is inspired from the Linux OpenCores
> I2C driver available.
>
> Thanks to Peter Korsgaard <peter at korsgaard.com> for writing Linux
> OpenCores I2C driver.
>
> Signed-off-by: Pragnesh Patel <pragnesh.patel at sifive.com>
> ---
>
> Changes in v2:
> - Remove TYPE_SIFIVE_REV0 flag
> - Update the Opencores I2C Controller Link
>
>  drivers/i2c/Kconfig      |   7 +
>  drivers/i2c/Makefile     |   1 +
>  drivers/i2c/ocores_i2c.c | 636 +++++++++++++++++++++++++++++++++++++++
>  3 files changed, 644 insertions(+)
>  create mode 100644 drivers/i2c/ocores_i2c.c
>

Reviewed-by: Rick Chen <rick at andestech.com>


More information about the U-Boot mailing list