Commit ed85c60457a8e6bfe4604f8d3d343e70e30aaa3e

Authored by Roland Stigge
Committed by Greg Kroah-Hartman
1 parent 6b583fa318

serial/of-serial: Add LPC3220 standard UART compatible string

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>

Showing 2 changed files with 2 additions and 0 deletions Side-by-side Diff

Documentation/devicetree/bindings/tty/serial/of-serial.txt
... ... @@ -9,6 +9,7 @@
9 9 - "ns16750"
10 10 - "ns16850"
11 11 - "nvidia,tegra20-uart"
  12 + - "nxp,lpc3220-uart"
12 13 - "ibm,qpace-nwp-serial"
13 14 - "serial" if the port type is unknown.
14 15 - reg : offset and length of the register set for the device.
drivers/tty/serial/of_serial.c
... ... @@ -208,6 +208,7 @@
208 208 { .compatible = "ns16750", .data = (void *)PORT_16750, },
209 209 { .compatible = "ns16850", .data = (void *)PORT_16850, },
210 210 { .compatible = "nvidia,tegra20-uart", .data = (void *)PORT_TEGRA, },
  211 + { .compatible = "nxp,lpc3220-uart", .data = (void *)PORT_LPC3220, },
211 212 #ifdef CONFIG_SERIAL_OF_PLATFORM_NWPSERIAL
212 213 { .compatible = "ibm,qpace-nwp-serial",
213 214 .data = (void *)PORT_NWPSERIAL, },