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

Michal Simek monstr at monstr.eu
Mon Apr 11 14:50:38 CEST 2016


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.

Thanks,
Michal


-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160411/a2cbb4cb/attachment.sig>


More information about the U-Boot mailing list