History

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.

Yegor Yefremov committed 7 years ago

Commit 4a968951 parent d9948267 files · +81 −15Browse files

Showing the changes to include/linux (1 of 7 files). Show all

Unified · Split

include/linux/serial_8250.h+1−0
@@ -110,6 +110,7 @@ struct uart_8250_port { · 109 unmodified lines
110110 * if no_console_suspend
111111 */
112112 unsigned char probe;
113+ struct mctrl_gpios *gpios;
113114 #define UART_PROBE_RSA (1 << 0)
114115
115116 /*

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t