diff mbox

[U-Boot,2/6] drivers: serial: serial_omap: add comaptibles for all ti platforms

Message ID 1443437272-1939-3-git-send-email-mugunthanvnm@ti.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Mugunthan V N Sept. 28, 2015, 10:47 a.m. UTC
Adding compatibles for am335x, am437x and dra7 platforms.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
---
 drivers/serial/serial_omap.c | 4 ++++
 1 file changed, 4 insertions(+)

Comments

Lokesh Vutla Sept. 28, 2015, 10:52 a.m. UTC | #1
On Monday 28 September 2015 04:17 PM, Mugunthan V N wrote:
> Adding compatibles for am335x, am437x and dra7 platforms.

Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>

Thanks and regards,
Lokesh
> 
> Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
> ---
>  drivers/serial/serial_omap.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/drivers/serial/serial_omap.c b/drivers/serial/serial_omap.c
> index 9709444..891cd7b 100644
> --- a/drivers/serial/serial_omap.c
> +++ b/drivers/serial/serial_omap.c
> @@ -16,8 +16,12 @@ DECLARE_GLOBAL_DATA_PTR;
>  
>  #if CONFIG_IS_ENABLED(OF_CONTROL)
>  static const struct udevice_id omap_serial_ids[] = {
> +	{ .compatible = "ti,omap2-uart" },
>  	{ .compatible = "ti,omap3-uart" },
>  	{ .compatible = "ti,omap4-uart" },
> +	{ .compatible = "ti,am3352-uart" },
> +	{ .compatible = "ti,am4372-uart" },
> +	{ .compatible = "ti,dra742-uart" },
>  	{ }
>  };
>  
>
Tom Rini Oct. 22, 2015, 9:23 p.m. UTC | #2
On Mon, Sep 28, 2015 at 04:17:48PM +0530, Mugunthan V N wrote:

> Adding compatibles for am335x, am437x and dra7 platforms.
> 
> Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
> Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/drivers/serial/serial_omap.c b/drivers/serial/serial_omap.c
index 9709444..891cd7b 100644
--- a/drivers/serial/serial_omap.c
+++ b/drivers/serial/serial_omap.c
@@ -16,8 +16,12 @@  DECLARE_GLOBAL_DATA_PTR;
 
 #if CONFIG_IS_ENABLED(OF_CONTROL)
 static const struct udevice_id omap_serial_ids[] = {
+	{ .compatible = "ti,omap2-uart" },
 	{ .compatible = "ti,omap3-uart" },
 	{ .compatible = "ti,omap4-uart" },
+	{ .compatible = "ti,am3352-uart" },
+	{ .compatible = "ti,am4372-uart" },
+	{ .compatible = "ti,dra742-uart" },
 	{ }
 };