cpm_uart: Modem control lines support
commit7485d26b7e13ee8ff82adb271ac90a996c1fe830
authorLaurent Pinchart <laurentp@cse-semaphore.com>
Thu, 24 Jul 2008 16:36:37 +0000 (24 18:36 +0200)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 28 Jul 2008 12:48:04 +0000 (28 07:48 -0500)
tree13bc7e6f30aa6cfb039e780b597f264eccf9d3df
parentdc2380ec8572fcd7f7e9579afc9fb223300d922f
cpm_uart: Modem control lines support

This patch replaces the get_mctrl/set_mctrl stubs with modem control line
read/write access through the GPIO lib.

Available modem control lines are described in the device tree using GPIO
bindings. The driver expect a GPIO pin for each of the CTS, RTS, DCD, DSR,
DTR and RI signals. Unused control lines can be left out.

Signed-off-by: Laurent Pinchart <laurentp@cse-semaphore.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Documentation/powerpc/dts-bindings/fsl/cpm_qe/serial.txt
drivers/serial/cpm_uart/cpm_uart.h
drivers/serial/cpm_uart/cpm_uart_core.c