]> git.baikalelectronics.ru Git - kernel.git/commit
cpm_uart: Modem control lines support
authorLaurent Pinchart <laurentp@cse-semaphore.com>
Thu, 24 Jul 2008 16:36:37 +0000 (18:36 +0200)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 28 Jul 2008 12:48:04 +0000 (07:48 -0500)
commit54a05ba43e4053f4ef738beee44ebd26334668dd
tree13bc7e6f30aa6cfb039e780b597f264eccf9d3df
parent818d997194307bbbe9cbdf4852fe9ba49a5f175a
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