Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 61ec9016 authored by John Linn's avatar John Linn Committed by Greg Kroah-Hartman
Browse files

tty/serial: add support for Xilinx PS UART



The Xilinx PS Uart is used on the new ARM based SoC. This
UART is not compatible with others such that a seperate
driver is required.

Signed-off-by: default avatarJohn Linn <john.linn@xilinx.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 0a77c4f9
Loading
Loading
Loading
Loading
+13 −0
Original line number Original line Diff line number Diff line
@@ -1612,4 +1612,17 @@ config SERIAL_MXS_AUART_CONSOLE
	help
	help
	  Enable a MXS AUART port to be the system console.
	  Enable a MXS AUART port to be the system console.


config SERIAL_XILINX_PS_UART
	tristate "Xilinx PS UART support"
	select SERIAL_CORE
	help
	  This driver supports the Xilinx PS UART port.

config SERIAL_XILINX_PS_UART_CONSOLE
	bool "Xilinx PS UART console support"
	depends on SERIAL_XILINX_PS_UART=y
	select SERIAL_CORE_CONSOLE
	help
	  Enable a Xilinx PS UART port to be the system console.

endmenu
endmenu
+1 −0
Original line number Original line Diff line number Diff line
@@ -94,3 +94,4 @@ obj-$(CONFIG_SERIAL_IFX6X60) += ifx6x60.o
obj-$(CONFIG_SERIAL_PCH_UART)	+= pch_uart.o
obj-$(CONFIG_SERIAL_PCH_UART)	+= pch_uart.o
obj-$(CONFIG_SERIAL_MSM_SMD)	+= msm_smd_tty.o
obj-$(CONFIG_SERIAL_MSM_SMD)	+= msm_smd_tty.o
obj-$(CONFIG_SERIAL_MXS_AUART) += mxs-auart.o
obj-$(CONFIG_SERIAL_MXS_AUART) += mxs-auart.o
obj-$(CONFIG_SERIAL_XILINX_PS_UART) += xilinx_uartps.o
+1113 −0

File added.

Preview size limit exceeded, changes collapsed.

+3 −0
Original line number Original line Diff line number Diff line
@@ -202,6 +202,9 @@
/* VIA VT8500 SoC */
/* VIA VT8500 SoC */
#define PORT_VT8500	97
#define PORT_VT8500	97


/* Xilinx PSS UART */
#define PORT_XUARTPS	98

#ifdef __KERNEL__
#ifdef __KERNEL__


#include <linux/compiler.h>
#include <linux/compiler.h>