Skip to contentSkip to conversation

ARM: OMAP: I2C: Support New read, write and probe functions for OMAP3

RFC PATCH New Adam Ford 2 participants 2 messages Apr 10, 2017 – Apr 11, 2017 I2C

lore
Share & tools
lore

Adam Ford

author
#0 lore raw

RFC PATCH 4/7 ARM: OMAP: I2C: Support New read, write and probe functions for OMAP3

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.

drivers/i2c/omap24xx_i2c.c +1 -0
index 26996e9..a23737a 100644
@@ -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" },
 	{ }
 };
Signature · 1 line
2.7.4
#1 lore raw

RFC PATCH 4/7 ARM: OMAP: I2C: Support New read, write and probe functions for OMAP3

Quoted 7 lines · Adam Ford

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.

Thanks and regards,
Lokesh

Quoted 14 lines
drivers/i2c/omap24xx_i2c.c +1 -0
index 26996e9..a23737a 100644
@@ -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" },
 	{ }
 };