On Wed, Mar 18, 2020 at 03:26:39PM +0100, Heiko Stuebner wrote: > From: Giulio Benetti <giulio.benetti@xxxxxxxxxxxxxxxx> > > Need to use rs485 transceiver so let's use existing em485 485 emulation > layer on top of 8250. > > Add rs485_config callback to port. Synopsys DesignWare UART is being supported in three modules right now: 8250_dw (platform driver), 8250_dwlib (some library functions for this driver) and 8250_lpss (PCI driver). Can we do in a way that both platform and PCI drivers will get advantage by the change? > Signed-off-by: Giulio Benetti <giulio.benetti@xxxxxxxxxxxxxxxx> > Signed-off-by: Heiko Stuebner <heiko.stuebner@xxxxxxxxxxxxxxxxxxxxx> > --- > drivers/tty/serial/8250/8250_dw.c | 31 +++++++++++++++++++++++++++++++ > 1 file changed, 31 insertions(+) -- With Best Regards, Andy Shevchenko