Skip to content

Commit 0666e3f

Browse files
Thierry Bultelgregkh
authored andcommitted
serial: sh-sci: Add support for RZ/T2H SCI
Define a new RSCI port type, and the RSCI 32 bits registers set. The RZ/T2H SCI has a a fifo, and a quite different set of registers from the original SH SCI ones. DMA is not supported yet. Signed-off-by: Thierry Bultel <[email protected]> Signed-off-by: Lad Prabhakar <[email protected]> Reviewed-by: Wolfram Sang <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 1d26517 commit 0666e3f

File tree

6 files changed

+546
-10
lines changed

6 files changed

+546
-10
lines changed

drivers/tty/serial/Kconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -675,6 +675,13 @@ config SERIAL_SH_SCI_DMA
675675
depends on SERIAL_SH_SCI && DMA_ENGINE
676676
default ARCH_RENESAS
677677

678+
config SERIAL_RSCI
679+
tristate "Support for Renesas RZ/T2H SCI variant"
680+
depends on SERIAL_SH_SCI
681+
help
682+
Support for the RZ/T2H SCI variant with fifo.
683+
Say Y if you want to be able to use the RZ/T2H SCI serial port.
684+
678685
config SERIAL_HS_LPC32XX
679686
tristate "LPC32XX high speed serial port support"
680687
depends on ARCH_LPC32XX || COMPILE_TEST

drivers/tty/serial/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ obj-$(CONFIG_SERIAL_QCOM_GENI) += qcom_geni_serial.o
7171
obj-$(CONFIG_SERIAL_QE) += ucc_uart.o
7272
obj-$(CONFIG_SERIAL_RDA) += rda-uart.o
7373
obj-$(CONFIG_SERIAL_RP2) += rp2.o
74+
obj-$(CONFIG_SERIAL_RSCI) += rsci.o
7475
obj-$(CONFIG_SERIAL_SA1100) += sa1100.o
7576
obj-$(CONFIG_SERIAL_SAMSUNG) += samsung_tty.o
7677
obj-$(CONFIG_SERIAL_SB1250_DUART) += sb1250-duart.o

0 commit comments

Comments
 (0)