Re: [PATCH 2/2 v3] tty/serial/8250: use mctrl_gpio helpers

2019-05-28 Thread Mika Westerberg
On Mon, May 27, 2019 at 01:18:05PM +0200, Stefan Roese wrote: > From: Yegor Yefremov > > 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 existin

[PATCH 2/2 v3] tty/serial/8250: use mctrl_gpio helpers

2019-05-27 Thread Stefan Roese
From: Yegor Yefremov 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