]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
serial: 8250_dw: Add compatible string for Renesas RZ/N1 UART
authorPhil Edworthy <phil.edworthy@renesas.com>
Fri, 13 Jul 2018 09:33:49 +0000 (10:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Jul 2018 06:39:25 +0000 (08:39 +0200)
The Renesas RZ/N1 UART is based on the Synopsys DW UART, but has additional
registers for DMA. This patch does not address the changes required for DMA
support, it simply adds the compatible string.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dw.c

index 5a60c4814d6206a96cd6b4766975623552bfe86d..b4e6f31936f57b351bb338ba2990cc58fa15befa 100644 (file)
@@ -747,6 +747,7 @@ static const struct of_device_id dw8250_of_match[] = {
        { .compatible = "snps,dw-apb-uart" },
        { .compatible = "cavium,octeon-3860-uart" },
        { .compatible = "marvell,armada-38x-uart" },
+       { .compatible = "renesas,rzn1-uart" },
        { /* Sentinel */ }
 };
 MODULE_DEVICE_TABLE(of, dw8250_of_match);