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

Heiko Schocher hs at denx.de
Wed Apr 13 07:44:58 CEST 2016


Hello Michal,

Am 11.04.2016 um 14:55 schrieb Michal Simek:
> From: Moritz Fischer <moritz.fischer at ettus.com>
>
> 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>
> Signed-off-by: Michal Simek <michal.simek at xilinx.com>
> ---
>
> Changes in v2:
> - Use dev_get_addr for reading address.
>
> This driver will be used by ZynqMP. Zynq will use zynq-i2c driver
> till eeprom interface is fixed but this driver can be also enabled for
> Zynq targets.
>
> ---
>   drivers/i2c/Kconfig    |   7 ++
>   drivers/i2c/Makefile   |   1 +
>   drivers/i2c/i2c-cdns.c | 335 +++++++++++++++++++++++++++++++++++++++++++++++++
>   3 files changed, 343 insertions(+)
>   create mode 100644 drivers/i2c/i2c-cdns.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


More information about the U-Boot mailing list