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 |
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 --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" }, { } };
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(+)