tty: serial: sh-sci: Add support for R-Car Gen4
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Thu, 9 Dec 2021 07:08:17 +0000 (16:08 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 Dec 2021 16:56:03 +0000 (17:56 +0100)
Add serial support for R-Car Gen4 SoC.

Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/20211209070817.1223888-3-yoshihiro.shimoda.uh@renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/sh-sci.c

index 88005d2..86731b8 100644 (file)
@@ -3181,6 +3181,9 @@ static const struct of_device_id of_sci_match[] = {
        }, {
                .compatible = "renesas,rcar-gen3-scif",
                .data = SCI_OF_DATA(PORT_SCIF, SCIx_SH4_SCIF_BRG_REGTYPE),
+       }, {
+               .compatible = "renesas,rcar-gen4-scif",
+               .data = SCI_OF_DATA(PORT_SCIF, SCIx_SH4_SCIF_BRG_REGTYPE),
        },
        /* Generic types */
        {