[U-Boot] [RFC 2/2] dm: i2c: Add driver for Cadence I2C IP

Heiko Schocher hs at denx.de
Tue Apr 12 09:45:29 CEST 2016


Hello Michal,

Sorry for the late reply...

Am 11.04.2016 um 14:50 schrieb Michal Simek:
> Hi Heiko,
>
> On 4.1.2016 08:15, Heiko Schocher wrote:
>> Hello Moritz,
>>
>> Am 28.12.2015 um 18:47 schrieb Moritz Fischer:
>>> This is a possible drop in replacement for drivers/i2c/zynq-i2c.c
>>>
>>> Since this is cadence IP it has been renamed to cdns-i2c,
>>> to make sense with the compatible string.
>>>
>>> Signed-off-by: Moritz Fischer <moritz.fischer at ettus.com>
>>> ---
>>>    drivers/i2c/Kconfig    |   7 +
>>>    drivers/i2c/Makefile   |   1 +
>>>    drivers/i2c/i2c-cdns.c | 339
>>> +++++++++++++++++++++++++++++++++++++++++++++++++
>>>    3 files changed, 347 insertions(+)
>>>    create mode 100644 drivers/i2c/i2c-cdns.c
>>
>> Hmm.. I di not see the remove of "drivers/i2c/zynq-i2c.c" as
>> you wrote it is a replacement for it ... Can you do this, and
>> of course adapt the boards which use this driver?
>
> I would like to start to use this driver for ZynqMP and use old driver
> for Zynq because there eeprom hasn't been moved.
>
> I found just one problem regarding reading addr from DT which I have fixed.

Yes, I just saw the v2 versions... I review them soon.

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list