Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Roland Stigge and committed by
Greg Kroah-Hartman
e4305f0c 7a514596

+2
+1
Documentation/devicetree/bindings/tty/serial/of-serial.txt
··· 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.
+1
drivers/tty/serial/of_serial.c
··· 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, },