Skip to contentSkip to conversation

serial: Add 16850 uart type support to of uart driver

PATCH New Matthias Fuchs 1 participant 1 message Dec 28, 2008 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 serial: Add 16850 uart type support to of uart driver

This patch adds support for "ns16850" as supported value of the compatible node in flat device tree uart descriptions.

This is needed for example when you have a XR16C2850 uart connected to a PPC405's external bus controller.

---
 drivers/serial/of_serial.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
drivers/serial/of_serial.c +1 -0
index 8fa0ff5..f71f94d 100644
@@ -148,6 +148,7 @@ static struct of_device_id __devinitdata of_platform_serial_table[] = {
 	{ .type = "serial", .compatible = "ns16450",  .data = (void *)PORT_16450, },
 	{ .type = "serial", .compatible = "ns16550",  .data = (void *)PORT_16550, },
 	{ .type = "serial", .compatible = "ns16750",  .data = (void *)PORT_16750, },
+	{ .type = "serial", .compatible = "ns16850",  .data = (void *)PORT_16850, },
 	{ .type = "serial",			      .data = (void *)PORT_UNKNOWN, },
 	{ /* end of list */ },
 };
Signature · 1 line
1.5.6.3