linux-serial.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] tty/serial: Add devicetree support for nVidia Tegra serial ports
@ 2011-06-11  2:42 Grant Likely
  2011-06-11  3:09 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Grant Likely @ 2011-06-11  2:42 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Stephen Warren, linux-kernel, linux-serial

Enables the tegra serial port to be probed from device tree data.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
---

Greg, if it's okay by you, I'll queue this one for v3.1 via the
devicetree/next tree.

g.

 drivers/tty/serial/of_serial.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/tty/serial/of_serial.c b/drivers/tty/serial/of_serial.c
index c911b24..4675243 100644
--- a/drivers/tty/serial/of_serial.c
+++ b/drivers/tty/serial/of_serial.c
@@ -171,6 +171,7 @@ static struct of_device_id __devinitdata of_platform_serial_table[] = {
 	{ .compatible = "ns16550",  .data = (void *)PORT_16550, },
 	{ .compatible = "ns16750",  .data = (void *)PORT_16750, },
 	{ .compatible = "ns16850",  .data = (void *)PORT_16850, },
+	{ .compatible = "nvidia,tegra250-uart", .data = (void *)PORT_TEGRA, },
 #ifdef CONFIG_SERIAL_OF_PLATFORM_NWPSERIAL
 	{ .compatible = "ibm,qpace-nwp-serial",
 		.data = (void *)PORT_NWPSERIAL, },

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-11  3:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-11  2:42 [PATCH] tty/serial: Add devicetree support for nVidia Tegra serial ports Grant Likely
2011-06-11  3:09 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).