add pnx8xxx serial driver support
PATCH 1/1 add pnx8xxx serial driver support
This patch adds support for PNX8330/8550/8950 Philips MIPS-based SoCs.
drivers/serial/Kconfig | 16 drivers/serial/Makefile | 1 drivers/serial/pnx8xxx_uart.c | 853 +++++++++++++++++++++++++++++++++++++++++ include/linux/serial_core.h | 2 include/linux/serial_ip3106.h | 81 --- include/linux/serial_pnx8xxx.h | 81 +++ 6 files changed, 952 insertions(+), 82 deletions(-)
Signed-off-by Vitaly Wool <[email protected]>
drivers/serial/Kconfig +16 -0
@@ -657,6 +657,22 @@ config SERIAL_SH_SCI_CONSOLE depends on SERIAL_SH_SCI=y select SERIAL_CORE_CONSOLE +config SERIAL_PNX8XXX + bool "Enable PNX8XXX SoCs' UART Support" + depends on MIPS && SOC_PNX8550 + select SERIAL_CORE + help + If you have a MIPS-based Philips SoC such as PNX8550 or PNX8330 + and you want to use serial ports, say Y. Otherwise, say N. + +config SERIAL_PNX8XXX_CONSOLE + bool "Enable PNX8XX0 serial console" + depends on SERIAL_PNX8XXX + select SERIAL_CORE_CONSOLE + help + If you have a MIPS-based Philips SoC such as PNX8550 or PNX8330 + and you want to use serial console, say Y. Otherwise, say N. + config SERIAL_CORE tristate
drivers/serial/pnx8xxx_uart.c new file +853 -0
853 lines not on this page · raw message
drivers/serial/Makefile +1 -0
@@ -24,6 +24,7 @@ obj-$(CONFIG_SERIAL_AMBA_PL010) += amba- obj-$(CONFIG_SERIAL_AMBA_PL011) += amba-pl011.o obj-$(CONFIG_SERIAL_CLPS711X) += clps711x.o obj-$(CONFIG_SERIAL_PXA) += pxa.o +obj-$(CONFIG_SERIAL_PNX8XXX) += pnx8xxx_uart.o obj-$(CONFIG_SERIAL_SA1100) += sa1100.o obj-$(CONFIG_SERIAL_S3C2410) += s3c2410.o obj-$(CONFIG_SERIAL_SUNCORE) += suncore.o
include/linux/serial_ip3106.h deleted +0 -81
81 lines not on this page · raw message
include/linux/serial_pnx8xxx.h new file +81 -0
81 lines not on this page · raw message
include/linux/serial_core.h +1 -1
@@ -122,7 +122,7 @@/*Digi jsm */ #define PORT_JSM 69 -#define PORT_IP3106 70 +#define PORT_PNX8XXX 70/* Hilscher netx */ #define PORT_NETX 71