Messages in this thread | | | Date | Thu, 13 Jun 2019 21:34:05 +0300 | From | Mika Westerberg <> | Subject | Re: [PATCH 3/3 v6] tty/serial/8250: use mctrl_gpio helpers |
| |
On Thu, Jun 13, 2019 at 05:45:42PM +0200, Stefan Roese wrote: > From: Yegor Yefremov <yegorslists@googlemail.com> > > 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org> > Signed-off-by: Stefan Roese <sr@denx.de> > Cc: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
| |