]> asedeno.scripts.mit.edu Git - linux.git/commit
tty/serial: Add GPIOLIB helpers for controlling modem lines
authorRichard Genoud <richard.genoud@gmail.com>
Tue, 13 May 2014 18:20:43 +0000 (20:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 28 May 2014 19:49:14 +0000 (12:49 -0700)
commit84130aace83989c1dba073ed98dad721d2060258
treee313e54a9276328a551825f58fc867aa02f8acf1
parentfa3909320c00286c6b9d6ade16bc6d44f940379c
tty/serial: Add GPIOLIB helpers for controlling modem lines

This patch add some helpers to control modem lines (CTS/RTS/DSR...) via
GPIO.
This will be useful for many boards which have a serial controller that
only handle CTS/RTS pins (or even just RX/TX).

Signed-off-by: Richard Genoud <richard.genoud@gmail.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Tested-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/serial/driver
drivers/tty/serial/Kconfig
drivers/tty/serial/Makefile
drivers/tty/serial/serial_mctrl_gpio.c [new file with mode: 0644]
drivers/tty/serial/serial_mctrl_gpio.h [new file with mode: 0644]