serial/of-serial: Add LPC3220 standard UART compatible string
authorRoland Stigge <stigge@antcom.de>
Mon, 11 Jun 2012 19:57:14 +0000 (21:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Jul 2012 20:37:02 +0000 (13:37 -0700)
This patch adds a "compatible" string for the new 8250 UART type PORT_LPC3220.
This is necessary for initializing LPC32xx UARTs via DT.

Signed-off-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/tty/serial/of-serial.txt
drivers/tty/serial/of_serial.c

index b8b27b0aca108ebc366fab5133f49c789192f307..0847fdeee11a5b2961731b97c017df5bf4f4f9ca 100644 (file)
@@ -9,6 +9,7 @@ Required properties:
        - "ns16750"
        - "ns16850"
        - "nvidia,tegra20-uart"
+       - "nxp,lpc3220-uart"
        - "ibm,qpace-nwp-serial"
        - "serial" if the port type is unknown.
 - reg : offset and length of the register set for the device.
index 5410c0637266c365e22bdd6b050d9f9822e4d32c..34e71874a89266db9ebd47cb9a156e89192af7a1 100644 (file)
@@ -208,6 +208,7 @@ static struct of_device_id __devinitdata of_platform_serial_table[] = {
        { .compatible = "ns16750",  .data = (void *)PORT_16750, },
        { .compatible = "ns16850",  .data = (void *)PORT_16850, },
        { .compatible = "nvidia,tegra20-uart", .data = (void *)PORT_TEGRA, },
+       { .compatible = "nxp,lpc3220-uart", .data = (void *)PORT_LPC3220, },
 #ifdef CONFIG_SERIAL_OF_PLATFORM_NWPSERIAL
        { .compatible = "ibm,qpace-nwp-serial",
                .data = (void *)PORT_NWPSERIAL, },