serial: clps711x: Use mctrl_gpio helpers for handling modem signals
authorAlexander Shiyan <shc_work@mail.ru>
Sat, 6 Sep 2014 03:20:15 +0000 (07:20 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Sep 2014 22:35:03 +0000 (15:35 -0700)
commit62b0a1b3e7593e0647db9ecc5e7809e4410acb81
treee1a998c79be08f50ead33795cbd73e936b5256cb
parent2f2dafe77df2c78e189a9fa6b1879dffd06ae5a1
serial: clps711x: Use mctrl_gpio helpers for handling modem signals

CLPS711X serial driver uses the system wide registers to control the
modem signals. Now gpio-syscon driver can be used for this purposes.
mctrl_gpio helpers allow us to create GPIO bindings for any of modem/tty
control signals that extends the functionality of the driver.
This patch makes such change.

This change does not break any current DT bindings, since DT support
for this platform is not introduced yet.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/devicetree/bindings/serial/cirrus,clps711x-uart.txt
drivers/tty/serial/Kconfig
drivers/tty/serial/clps711x.c