summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/tty
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-07-17 18:08:31 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-07-17 18:16:39 +0200
commitfde8be29239bf4a4118d918df1b2b8ef7266b1a2 (patch)
treecef130bf413458dd2ffb750d451d701965225543 /Documentation/devicetree/bindings/tty
parenttty: Move the handling of the tty release logic (diff)
downloadlinux-fde8be29239bf4a4118d918df1b2b8ef7266b1a2.tar.xz
linux-fde8be29239bf4a4118d918df1b2b8ef7266b1a2.zip
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>
Diffstat (limited to 'Documentation/devicetree/bindings/tty')
-rw-r--r--Documentation/devicetree/bindings/tty/serial/of-serial.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/tty/serial/of-serial.txt b/Documentation/devicetree/bindings/tty/serial/of-serial.txt
index 0847fdeee11a..ba385f2e0ddc 100644
--- a/Documentation/devicetree/bindings/tty/serial/of-serial.txt
+++ b/Documentation/devicetree/bindings/tty/serial/of-serial.txt
@@ -25,6 +25,8 @@ Optional properties:
accesses to the UART (e.g. TI davinci).
- used-by-rtas : set to indicate that the port is in use by the OpenFirmware
RTAS and should not be registered.
+- no-loopback-test: set to indicate that the port does not implements loopback
+ test mode
Example: