From: Manivannan Sadhasivam Date: Sat, 5 Jan 2019 23:50:40 +0530 Subject: [U-Boot] [RFC PATCH 7/8] serial: actions: add uart support for s700 In-Reply-To: <1546521983-19385-8-git-send-email-amittomer25@gmail.com> References: <1546521983-19385-1-git-send-email-amittomer25@gmail.com> <1546521983-19385-8-git-send-email-amittomer25@gmail.com> Message-ID: <20190105182040.GD32306@Mani-XPS-13-9360> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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 >