
Hello Marek,
Am 19.12.2018 um 12:26 schrieb Marek Vasut:
Add Xilinx AXI I2C controller driver based on the Linux i2c-xiic driver. This driver is stripped of all the IRQ handling and uses pure polling, yet tries to retain most of the structure of the Linux driver to make backporting of fixes easy.
Note that the IP has a known limitation on 255 bytes read and write, according to xilinx this is still being worked on [1].
[1] https://forums.xilinx.com/t5/Embedded-Processor-System-Design/AXI-IIC-V2-0-I...
Signed-off-by: Marek Vasut marex@denx.de Cc: Michal Simek monstr@monstr.eu Cc: Michal Simek michal.simek@xilinx.com Cc: Heiko Schocher hs@denx.de
V2: - Sort Makefile - Fix formatting in Kconfig
drivers/i2c/Kconfig | 6 + drivers/i2c/Makefile | 1 + drivers/i2c/xilinx_xiic.c | 340 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 347 insertions(+) create mode 100644 drivers/i2c/xilinx_xiic.c
Reviewed-by: Heiko Schocher hs@denx.de
bye, Heiko