]> git.sur5r.net Git - u-boot/commitdiff
ARM: OMAP: I2C: Support New read, write and probe functions for OMAP3
authorAdam Ford <aford173@gmail.com>
Mon, 17 Apr 2017 13:09:40 +0000 (08:09 -0500)
committerTom Rini <trini@konsulko.com>
Wed, 10 May 2017 00:35:36 +0000 (20:35 -0400)
New i2c_read, i2c_write and i2c_probe functions, tested on OMAP4
(4430/60/70), OMAP5 (5430) and AM335X (3359) were added in 960187ffa125(
"ARM: OMAP: I2C: New read, write and probe functions") but not tested
on OMAP3.  This patch will allow the updated drivers using device tree and
DM_I2C to operate on OMAP3.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
drivers/i2c/omap24xx_i2c.c

index 26996e9db933fd3a5679cf009186f7e71e6284bf..a23737ab781399f55d1e8044f059842da5292b5b 100644 (file)
@@ -910,6 +910,7 @@ static const struct dm_i2c_ops omap_i2c_ops = {
 };
 
 static const struct udevice_id omap_i2c_ids[] = {
+       { .compatible = "ti,omap3-i2c" },
        { .compatible = "ti,omap4-i2c" },
        { }
 };