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

Michal Simek michal.simek at xilinx.com
Mon Jan 7 08:24:37 UTC 2019


On 07. 01. 19 9:14, Heiko Schocher wrote:
> Hello Michal,
> 
> Am 07.01.2019 um 09:07 schrieb Michal Simek:
>> On 07. 01. 19 8:57, Heiko Schocher wrote:
>>> 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>
>>
>> Acked-by: Michal Simek <michal.simek at xilinx.com>
>>
>> Heiko: I hope you will take it via your tree.
> 
> Yes, just started a travis build:
> https://travis-ci.org/hsdenx/u-boot-i2c/builds/476242314
> 
> If fine, I send a pull request.

Great.
M



More information about the U-Boot mailing list