commit | 4a96895f74c9633b51427fd080ab70fa62b65bc4 | [log] [tgz] |
---|---|---|
author | Yegor Yefremov <[email protected]> | Thu Jun 20 08:24:20 2019 +0200 |
committer | Greg Kroah-Hartman <[email protected]> | Fri Jun 21 10:18:43 2019 +0200 |
tree | facc2d543408ca27666b401ec6ba80b5c14f8283 | |
parent | d99482673f950817b30caf3fcdfb31179b050ce1 [diff] |
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 <[email protected]> Signed-off-by: Stefan Roese <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Reviewed-by: Mika Westerberg <[email protected]> Tested-by: Yegor Yefremov <[email protected]> Cc: Mika Westerberg <[email protected]> Cc: Andy Shevchenko <[email protected]> Cc: Giulio Benetti <[email protected]> Cc: Yegor Yefremov <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>