From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Wed, 13 Apr 2016 07:44:58 +0200 Subject: [U-Boot] [PATCH v2 2/2] dm: i2c: Add driver for Cadence I2C IP In-Reply-To: <5b4b55689814f073948c224d0f6db7ec933846fc.1460379306.git.michal.simek@xilinx.com> References: <29692668b6d7b34293dae8997f9522ab102cfe2a.1460379306.git.michal.simek@xilinx.com> <5b4b55689814f073948c224d0f6db7ec933846fc.1460379306.git.michal.simek@xilinx.com> Message-ID: <570DDCDA.4070206@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Michal, Am 11.04.2016 um 14:55 schrieb Michal Simek: > From: 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 > Signed-off-by: Michal Simek > --- > > 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 bye, Heiko -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany