[U-Boot] [PATCH 2/3] serial: 16550: Add port type as driver data

Simon Glass
2016-06-10T00:34:27Z

On 26 May 2016 at 12:39, Marek Vasut <marex@denx.de> wrote:
> Add driver data to each compatible string to identify the type of
> the port. Since all the ports in the driver are entirely compatible
> with 16550 for now, all are marked with PORT_NS16550. But, there
> are ports which have specific quirks, like the JZ4780 UART, which
> do not have any DT property to denote the quirks. Instead, Linux
> uses the compatible string to discern such ports and enable the
> necessary quirks.
>
> Signed-off-by: Marek Vasut <marex@denx.de>
> Cc: Tom Rini <trini@konsulko.com>
> Cc: Simon Glass <sjg@chromium.org>
> ---
> drivers/serial/ns16550.c | 24 ++++++++++++++----------
> 1 file changed, 14 insertions(+), 10 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>