Files
opensbi/lib/utils/serial/Kconfig
Icenowy Zheng b07e449d15 lib: utils/serial: Add support for Altera JTAG UART
Altera provides a JTAG UART core that provides virtual UART over JTAG
and can coexist with their virtual JTAG. [1] This core has already been
supported by Linux and the programming interface has always been stable.

Add support for it to OpenSBI to ease JTAG prototype bringing up.

The driver follows the device tree binding in mainline Linux. [2]

[1] https://docs.altera.com/r/docs/683130/25.3/embedded-peripherals-ip-user-guide/jtag-uart-core
[2] https://github.com/torvalds/linux/blob/v6.19-rc1/Documentation/devicetree/bindings/serial/altr%2Cjuart-1.0.yaml

Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Reviewed-by: Anup Patel <anup@brainfault.org>
Link: https://lore.kernel.org/r/20260104065506.70182-1-zhengxingda@iscas.ac.cn
Signed-off-by: Anup Patel <anup@brainfault.org>
2026-02-20 16:50:35 +05:30

105 lines
1.8 KiB
Plaintext

# SPDX-License-Identifier: BSD-2-Clause
menu "Serial Device Support"
config FDT_SERIAL
bool "FDT based serial drivers"
depends on FDT
default n
if FDT_SERIAL
config FDT_SERIAL_ALTR_JUART
bool "Altera JTAG UART FDT driver"
select SERIAL_ALTR_JUART
default n
config FDT_SERIAL_CADENCE
bool "Cadence UART FDT driver"
select SERIAL_CADENCE
default n
config FDT_SERIAL_GAISLER
bool "Gaisler UART FDT driver"
select SERIAL_GAISLER
default n
config FDT_SERIAL_HTIF
bool "Host transfer interface (HTIF) UART FDT driver"
select SYS_HTIF
default n
config FDT_SERIAL_RENESAS_SCIF
bool "Renesas SCIF FDT driver"
select SERIAL_RENESAS_SCIF
default n
config FDT_SERIAL_SHAKTI
bool "Shakti UART FDT driver"
select SERIAL_SHAKTI
default n
config FDT_SERIAL_SIFIVE
bool "SiFive UART FDT driver"
select SERIAL_SIFIVE
default n
config FDT_SERIAL_LITEX
bool "LiteX UART FDT driver"
select SERIAL_LITEX
default n
config FDT_SERIAL_UART8250
bool "8250 UART FDT driver"
select SERIAL_UART8250
default n
config FDT_SERIAL_XILINX_UARTLITE
bool "Xilinx UART Lite FDT driver"
select SERIAL_XILINX_UARTLITE
default n
endif
config SERIAL_ALTR_JUART
bool "Altera JTAG UART support"
default n
config SERIAL_CADENCE
bool "Cadence UART support"
default n
config SERIAL_GAISLER
bool "Gaisler UART support"
default n
config SERIAL_RENESAS_SCIF
bool "Renesas SCIF support"
default n
config SERIAL_SHAKTI
bool "Shakti UART support"
default n
config SERIAL_SIFIVE
bool "SiFive UART support"
default n
config SERIAL_LITEX
bool "LiteX UART support"
default n
config SERIAL_UART8250
bool "8250 UART support"
default n
config SERIAL_XILINX_UARTLITE
bool "Xilinx UART Lite support"
default n
config SERIAL_SEMIHOSTING
bool "Semihosting support"
default n
endmenu