serial: mxs-auart: use mctrl_gpio helpers for handling modem signals
authorJanusz Uzycki <j.uzycki@elproma.com.pl>
Fri, 10 Oct 2014 16:53:25 +0000 (18:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 22:57:18 +0000 (14:57 -0800)
commit7c573d7ea6c5a866cf89b7bf45fc5ab82d289cf1
treea8bf7ee47df629ff81802f1582538c3f047b534f
parent42b4eba0612f87632a3e4d58c03f00e108e05dbc
serial: mxs-auart: use mctrl_gpio helpers for handling modem signals

Dedicated CTS and RTS pins are unusable together with a lot of other
peripherals because they share the same line. Pinctrl is limited.

Moreover, the AUART controller doesn't handle DTR/DSR/DCD/RI signals,
so we have to control them via GPIO.

This patch permits to use GPIOs to control the CTS/RTS/DTR/DSR/DCD/RI
signals.

Signed-off-by: Janusz Uzycki <j.uzycki@elproma.com.pl>
Reviewed-by: Richard Genoud <richard.genoud@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/fsl-mxs-auart.txt
drivers/tty/serial/Kconfig
drivers/tty/serial/mxs-auart.c