diff options
author | Nicolas Ferre <nicolas.ferre@atmel.com> | 2011-10-12 12:06:56 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-18 19:40:33 -0400 |
commit | 0331bbf3c6fd9997e5f0d165840229ccfeba6548 (patch) | |
tree | 3aec3b01a2dc15dc39193034775a8b15d6487299 /Documentation/serial | |
parent | 631180aca723cb92e128fdac5fd144e913ca84e5 (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')
-rw-r--r-- | Documentation/serial/serial-rs485.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Documentation/serial/serial-rs485.txt b/Documentation/serial/serial-rs485.txt index c8878f821d1..079cb3df62c 100644 --- a/Documentation/serial/serial-rs485.txt +++ b/Documentation/serial/serial-rs485.txt | |||
@@ -28,6 +28,10 @@ | |||
28 | RS485 communications. This data structure is used to set and configure RS485 | 28 | RS485 communications. This data structure is used to set and configure RS485 |
29 | parameters in the platform data and in ioctls. | 29 | parameters in the platform data and in ioctls. |
30 | 30 | ||
31 | The device tree can also provide RS485 boot time parameters (see [2] | ||
32 | for bindings). The driver is in charge of filling this data structure from | ||
33 | the values given by the device tree. | ||
34 | |||
31 | Any driver for devices capable of working both as RS232 and RS485 should | 35 | Any driver for devices capable of working both as RS232 and RS485 should |
32 | provide at least the following ioctls: | 36 | provide at least the following ioctls: |
33 | 37 | ||
@@ -121,3 +125,4 @@ | |||
121 | 5. REFERENCES | 125 | 5. REFERENCES |
122 | 126 | ||
123 | [1] include/linux/serial.h | 127 | [1] include/linux/serial.h |
128 | [2] Documentation/devicetree/bindings/serial/rs485.txt | ||