tty: serial: fsl_lpuart: Add support for RS-485
authorBhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Tue, 19 Jul 2016 07:43:10 +0000 (13:13 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Aug 2016 13:48:29 +0000 (15:48 +0200)
commit03895cf41d1890a219679490428c8bf10b17e2b9
treee6be01842e4b7b22238f1d72e2fd8bd3aba941fa
parentc05efd692f1f2c2ba637356613bab6e2dfba2507
tty: serial: fsl_lpuart: Add support for RS-485

Enable Vybrid's build-in support for RS-485 auto RTS for controlling line
direction of RS-485 transceiver driver.

Enable RS485 feature by either using ioctrl 'TIOCSRS485' or enable it in the
device tree by setting 'linux,rs485-enabled-at-boot-time' property.

Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@toradex.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/fsl_lpuart.c