]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
tty: of_serial: add no-loopback-test property
authorGabor Juhos <juhosg@openwrt.org>
Tue, 17 Jul 2012 16:08:31 +0000 (17:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 17 Jul 2012 16:16:39 +0000 (09:16 -0700)
commitfde8be29239bf4a4118d918df1b2b8ef7266b1a2
treecef130bf413458dd2ffb750d451d701965225543
parent36b3c070d2346c890d690d71f6eab02f8c511137
tty: of_serial: add no-loopback-test property

The loopback test mode is not implemented in all
NS16550 compatible UARTs. The 8250 driver uses the
UPF_SKIP_TEST flag to indicate this, however it is
not possible to set this flag via device-tree.

Add a new 'no-loopback-test' property, and modify
the of_serial driver to set the UPF_SKIP_TEST flag
if the property is present.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/tty/serial/of-serial.txt
drivers/tty/serial/of_serial.c