]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
serial: sh-sci: Add support for RZ/G3L RSCI
authorBiju Das <biju.das.jz@bp.renesas.com>
Thu, 12 Mar 2026 08:26:59 +0000 (08:26 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Mar 2026 15:36:58 +0000 (17:36 +0200)
commit8f18d3cbd92065146147e958afa912ca94a237b0
treea4d53560a3e25d28a50f84cf998c51735440c138
parent6672462c97ed29f1cf04317663ae0bffff261c3b
serial: sh-sci: Add support for RZ/G3L RSCI

Add support for RZ/G3L RSCI. The RSCI IP found on the RZ/G3L SoC is
similar to RZ/G3E, but it has 3 clocks (2 module clocks + 1 external
clock) instead of 6 clocks (5 module clocks + 1 external clock) on the
RZ/G3E. Both RZ/G3L and RZ/G3E have a 32-bit FIFO, but RZ/G3L has a
single TCLK with internal dividers, whereas the RZ/G3E has explicit
clocks for TCLK and its dividers. Add a new port type
RSCI_PORT_SCIF32_SINGLE_TCLK to handle this clock difference.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/20260312082708.98835-3-biju.das.jz@bp.renesas.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/rsci.c
drivers/tty/serial/rsci.h
drivers/tty/serial/sh-sci-common.h
drivers/tty/serial/sh-sci.c