diff mbox series

[U-Boot,v2,8/9] serial: actions: add uart support for s700

Message ID 1547469671-1487-8-git-send-email-amittomer25@gmail.com
State Changes Requested
Delegated to: Tom Rini
Headers show
Series [U-Boot,v2,1/9] arm: actions: Add common framework for Actions Semi SoCs | expand

Commit Message

Amit Tomer Jan. 14, 2019, 12:41 p.m. UTC
UART controller present on S700 is compatible with existing
S900 controller, this patch simply adds a proper compatible string
so that owl uart driver can be reused for S700.

Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>
---
Changes since v1:
	* No changes.	
---
 drivers/serial/serial_owl.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Andre Przywara Jan. 14, 2019, 10:58 p.m. UTC | #1
On 14/01/2019 12:41, Amit Singh Tomar wrote:
> UART controller present on S700 is compatible with existing
> S900 controller, this patch simply adds a proper compatible string
> so that owl uart driver can be reused for S700.
> 
> Signed-off-by: Amit Singh Tomar <amittomer25@gmail.com>

Reviewed-by: Andre Przywara <andre.przywara@arm.com>

Cheers,
Andre

> ---
> Changes since v1:
> 	* No changes.	
> ---
>  drivers/serial/serial_owl.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/serial/serial_owl.c b/drivers/serial/serial_owl.c
> index 7ead73e..76995bf 100644
> --- a/drivers/serial/serial_owl.c
> +++ b/drivers/serial/serial_owl.c
> @@ -121,6 +121,7 @@ static const struct dm_serial_ops owl_serial_ops = {
>  
>  static const struct udevice_id owl_serial_ids[] = {
>  	{ .compatible =	"actions,s900-serial" },
> +	{ .compatible =	"actions,owl-uart" },
>  	{ }
>  };
>  
>
diff mbox series

Patch

diff --git a/drivers/serial/serial_owl.c b/drivers/serial/serial_owl.c
index 7ead73e..76995bf 100644
--- a/drivers/serial/serial_owl.c
+++ b/drivers/serial/serial_owl.c
@@ -121,6 +121,7 @@  static const struct dm_serial_ops owl_serial_ops = {
 
 static const struct udevice_id owl_serial_ids[] = {
 	{ .compatible =	"actions,s900-serial" },
+	{ .compatible =	"actions,owl-uart" },
 	{ }
 };