[U-Boot] [PATCH V2] i2c: xiic: Add Xilinx AXI I2C driver

Heiko Schocher hs at denx.de
Mon Jan 7 07:57:25 UTC 2019


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-I2C-Master-Reading-multiple-bytes-from-I2C-slave/m-p/854419/highlight/true#M39387
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> Cc: Michal Simek <monstr at monstr.eu>
> Cc: Michal Simek <michal.simek at xilinx.com>
> Cc: Heiko Schocher <hs at 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 at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list