]> git.karo-electronics.de Git - karo-tx-linux.git/commit
tty/of_serial: add missing ns16550a id
authorMichal Simek <monstr@monstr.eu>
Tue, 24 Nov 2009 10:22:41 +0000 (10:22 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 8 Dec 2009 18:22:43 +0000 (10:22 -0800)
commite689a0b49fc3ef10f50764bd7e523ae76f849a91
tree6b27ce1187a2242524522377381cd8bcdf91f59c
parent321cb431c5027d83257d8fbfd957f9d90b469e74
tty/of_serial: add missing ns16550a id

commit 16173c7c2d79da7eb89b41acfdebd74b130f4339 upstream.

Many boards have a bug-free ns16550 compatible serial port, which we should
register as PORT_16550A. This introduces a new value "ns16550a" for the
compatible property of of_serial to let a firmware choose that model instead
of using the crippled PORT_16550 mode.

Reported-by: Alon Ziv <alonz@nolaviz.org>
Signed-off-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/serial/of_serial.c