Skip to contentSkip to conversation

UART driver for PNX8xxx: UART driver

PATCH New Vitaly Wool 1 participant 1 message Oct 6, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 UART driver for PNX8xxx: UART driver

Hello Andrew,

inlined below is the patch that adds the PNX8xxx UART driver functionality to the kernel.

This patch adds UART support for PNX8330/8550/8950 Philips MIPS-based SoCs.

 drivers/serial/Kconfig        |   16 
 drivers/serial/Makefile       |    1 
 drivers/serial/pnx8xxx_uart.c |  853 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 870 insertions(+)
drivers/serial/Kconfig +16 -0
Index: linux-2.6.18/drivers/serial/Kconfig
===================================================================
@@ -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
Index: linux-2.6.18/drivers/serial/Makefile
===================================================================
@@ -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