All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] [PATCH RFC 4/7] ARM: OMAP: I2C: Support New read, write and probe functions for OMAP3
@ 2017-04-10 22:13 Adam Ford
  2017-04-11  2:04 ` Lokesh Vutla
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Ford @ 2017-04-10 22:13 UTC (permalink / raw)
  To: u-boot

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>

diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c
index 26996e9..a23737a 100644
--- a/drivers/i2c/omap24xx_i2c.c
+++ b/drivers/i2c/omap24xx_i2c.c
@@ -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" },
 	{ }
 };
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH RFC 4/7] ARM: OMAP: I2C: Support New read, write and probe functions for OMAP3
  2017-04-10 22:13 [U-Boot] [PATCH RFC 4/7] ARM: OMAP: I2C: Support New read, write and probe functions for OMAP3 Adam Ford
@ 2017-04-11  2:04 ` Lokesh Vutla
  0 siblings, 0 replies; 2+ messages in thread
From: Lokesh Vutla @ 2017-04-11  2:04 UTC (permalink / raw)
  To: u-boot



On Tuesday 11 April 2017 03:43 AM, Adam Ford wrote:
> 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>

Thanks and regards,
Lokesh

> 
> diff --git a/drivers/i2c/omap24xx_i2c.c b/drivers/i2c/omap24xx_i2c.c
> index 26996e9..a23737a 100644
> --- a/drivers/i2c/omap24xx_i2c.c
> +++ b/drivers/i2c/omap24xx_i2c.c
> @@ -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" },
>  	{ }
>  };
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-11  2:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-10 22:13 [U-Boot] [PATCH RFC 4/7] ARM: OMAP: I2C: Support New read, write and probe functions for OMAP3 Adam Ford
2017-04-11  2:04 ` Lokesh Vutla

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.