On Thu, Jan 03, 2019 at 06:56:22PM +0530, Amit Singh Tomar wrote:
> UART controller present on S700 is compatible with existing
> S900 UART, this patch simply adds a proper compatible string
> so that S900 uart driver can be reused for S700.
> 
> Signed-off-by: Amit Singh Tomar <amittome...@gmail.com>
> ---
>  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" },

"owl" is the family name for S series SoCs from Actions Semi. There are
3 SoCs so far, S500, S700 and S900. Reason for naming s900-serial was
that there are hw difference between S500 (ARMv7) and S900/S700 (ARMv8).
So, this should be "actions,s700-serial".

Thanks,
Mani

>       { }
>  };
>  
> -- 
> 2.7.4
> 
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to