path: root/Documentation/serial
diff options
authorNicolas Ferre <nicolas.ferre@atmel.com>2011-10-12 18:06:56 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-18 16:40:33 -0700
commit0331bbf3c6fd9997e5f0d165840229ccfeba6548 (patch)
tree3aec3b01a2dc15dc39193034775a8b15d6487299 /Documentation/serial
parent631180aca723cb92e128fdac5fd144e913ca84e5 (diff)
tty/serial: RS485 bindings for device tree
Generic bindings for RS485 feature included in some UARTs. Those bindings have to be used withing an UART device tree node. Documentation updated to link to the bindings definition. Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/serial')
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/serial/serial-rs485.txt b/Documentation/serial/serial-rs485.txt
index c8878f821d1e..079cb3df62cf 100644
--- a/Documentation/serial/serial-rs485.txt
+++ b/Documentation/serial/serial-rs485.txt
@@ -28,6 +28,10 @@
RS485 communications. This data structure is used to set and configure RS485
parameters in the platform data and in ioctls.
+ The device tree can also provide RS485 boot time parameters (see [2]
+ for bindings). The driver is in charge of filling this data structure from
+ the values given by the device tree.
Any driver for devices capable of working both as RS232 and RS485 should
provide at least the following ioctls:
@@ -121,3 +125,4 @@
[1] include/linux/serial.h
+ [2] Documentation/devicetree/bindings/serial/rs485.txt

Privacy Policy