Message ID | 1531474429-17146-3-git-send-email-phil.edworthy@renesas.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Geert Uytterhoeven |
Headers | show |
On Fri, Jul 13, 2018 at 10:33:49AM +0100, Phil Edworthy wrote: > 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>
diff --git a/drivers/tty/serial/8250/8250_dw.c b/drivers/tty/serial/8250/8250_dw.c index aff04f1..7a7c742 100644 --- a/drivers/tty/serial/8250/8250_dw.c +++ b/drivers/tty/serial/8250/8250_dw.c @@ -693,6 +693,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);
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> --- v2: - Change "renesas,<peripheral>-<family-or-device>" to "renesas,<family-or-device>-<peripheral>" --- drivers/tty/serial/8250/8250_dw.c | 1 + 1 file changed, 1 insertion(+)