Skip to content

Commit

Permalink
Phytium PCI serial port support
Browse files Browse the repository at this point in the history
This driver supports the Phytium UART controller on PCI/PCIe adapters.

Signed-off-by: xu yan <[email protected]>
Signed-off-by: Chen Baozi <[email protected]>
Signed-off-by: Lan Hengyu <[email protected]>
Signed-off-by: Wang Yinfeng <[email protected]>
  • Loading branch information
xu yan authored and MingcongBai committed May 29, 2024
1 parent 70ad6fc commit 6fca571
Show file tree
Hide file tree
Showing 4 changed files with 943 additions and 0 deletions.
12 changes: 12 additions & 0 deletions drivers/tty/serial/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,18 @@ config SERIAL_EARLYCON_SEMIHOST
This is enabled with "earlycon=smh" on the kernel command line.
The console is enabled when early_param is processed.

config SERIAL_PHYTIUM_PCI
tristate "Phytium PCI serial port support"
depends on PCI
select SERIAL_CORE
help
This driver supports the Phytium UART controller on PCI/PCIe adapters.
If you want to compile this driver into the kernel, say Y here. To
compile this driver as a module, choose M here.

If unsure, say N.


config SERIAL_EARLYCON_RISCV_SBI
bool "Early console using RISC-V SBI"
depends on RISCV_SBI
Expand Down
1 change: 1 addition & 0 deletions drivers/tty/serial/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ obj-$(CONFIG_SERIAL_UARTLITE) += uartlite.o
obj-$(CONFIG_SERIAL_VT8500) += vt8500_serial.o
obj-$(CONFIG_SERIAL_XILINX_PS_UART) += xilinx_uartps.o
obj-$(CONFIG_SERIAL_ZS) += zs.o
obj-$(CONFIG_SERIAL_PHYTIUM_PCI) += phytium-uart.o

# GPIOLIB helpers for modem control lines
obj-$(CONFIG_SERIAL_MCTRL_GPIO) += serial_mctrl_gpio.o
Expand Down
Loading

0 comments on commit 6fca571

Please sign in to comment.