i2c: add support for HiSilicon I2C controller
authorYicong Yang <yangyicong@hisilicon.com>
Thu, 8 Apr 2021 11:17:19 +0000 (19:17 +0800)
committerWolfram Sang <wsa@kernel.org>
Sat, 10 Apr 2021 19:54:05 +0000 (21:54 +0200)
commitd62fbdb99a85730af408399bfae9fa2aa708c6f1
treeee7669499307dfa61e5bb1419df0332ba483ca8a
parent3b4c747cd32078172dd238929e38a43cfed83580
i2c: add support for HiSilicon I2C controller

Add HiSilicon I2C controller driver for the Kunpeng SoC. It provides
the access to the i2c busses, which connects to the eeprom, rtc, etc.

The driver works with IRQ mode, and supports basic I2C features and 10bit
address. The DMA is not supported.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Yicong Yang <yangyicong@hisilicon.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
MAINTAINERS
drivers/i2c/busses/Kconfig
drivers/i2c/busses/Makefile
drivers/i2c/busses/i2c-hisi.c [new file with mode: 0644]