Re: [PATCH v5 2/3] tty: Add software emulated RS485 support for 8250

2015-12-20 Thread Andy Shevchenko
On Sun, Dec 20, 2015 at 8:11 PM, Matwey V. Kornilov wrote: > 2015-12-20 19:41 GMT+03:00 Andy Shevchenko : >> On Sat, Dec 12, 2015 at 1:23 PM, Matwey V. Kornilov >> wrote: >>> Implementation of software emulation of RS485 direction handling is based >>> on omap_serial driver. >>> Before and after

Re: [PATCH v5 2/3] tty: Add software emulated RS485 support for 8250

2015-12-20 Thread Matwey V. Kornilov
2015-12-20 19:41 GMT+03:00 Andy Shevchenko : > On Sat, Dec 12, 2015 at 1:23 PM, Matwey V. Kornilov wrote: >> Implementation of software emulation of RS485 direction handling is based >> on omap_serial driver. >> Before and after transmission RTS is set to the appropriate value. >> >> Note that bef

Re: [PATCH v5 2/3] tty: Add software emulated RS485 support for 8250

2015-12-20 Thread Andy Shevchenko
On Sat, Dec 12, 2015 at 1:23 PM, Matwey V. Kornilov wrote: > Implementation of software emulation of RS485 direction handling is based > on omap_serial driver. > Before and after transmission RTS is set to the appropriate value. > > Note that before calling serial8250_em485_init the caller has to

[PATCH v5 2/3] tty: Add software emulated RS485 support for 8250

2015-12-12 Thread Matwey V. Kornilov
Implementation of software emulation of RS485 direction handling is based on omap_serial driver. Before and after transmission RTS is set to the appropriate value. Note that before calling serial8250_em485_init the caller has to ensure that UART will interrupt when shift register empty. Otherwise,