aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2019-06-20 08:24:20 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-21 10:18:43 +0200
commit4a96895f74c9633b51427fd080ab70fa62b65bc4 (patch)
treefacc2d543408ca27666b401ec6ba80b5c14f8283 /lib
parentserial: mctrl_gpio: Check if GPIO property exisits before requesting it (diff)
downloadlinux-dev-4a96895f74c9633b51427fd080ab70fa62b65bc4.tar.xz
linux-dev-4a96895f74c9633b51427fd080ab70fa62b65bc4.zip
tty/serial/8250: use mctrl_gpio helpers
This patch permits the usage for GPIOs to control the CTS/RTS/DTR/DSR/DCD/RI signals. Changed by Stefan: Only call mctrl_gpio_init(), if the device has no ACPI companion device to not break existing ACPI based systems. Also only use the mctrl_gpio_ functions when "gpios" is available. Use MSR / MCR <-> TIOCM wrapper functions. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Stefan Roese <sr@denx.de> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Tested-by: Yegor Yefremov <yegorslists@googlemail.com> Cc: Mika Westerberg <mika.westerberg@linux.intel.com> Cc: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Giulio Benetti <giulio.benetti@micronovasrl.com> Cc: Yegor Yefremov <yegorslists@googlemail.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions