i2c: designware_i2c: Add DM support
authorStefan Roese <sr@denx.de>
Thu, 21 Apr 2016 06:19:41 +0000 (08:19 +0200)
committerHeiko Schocher <hs@denx.de>
Mon, 25 Apr 2016 05:31:48 +0000 (07:31 +0200)
commit334b9b004c61f9a3f195968e6107f5362a29ce47
tree7532b4de46387ff10a797be9880130f64a0c73e2
parent3f4358da8d42e407a3fb583b7b3ea7033090e0cd
i2c: designware_i2c: Add DM support

This patch adds DM support to the designware I2C driver. It currently
supports DM and the legacy I2C support. The legacy support should be
removed, once all platforms using it have DM enabled.

Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Cc: Marek Vasut <marex@denx.de>
Cc: Heiko Schocher <hs@denx.de>
drivers/i2c/designware_i2c.c