Re: [PATCH 7/7] serial: 8250_dw: allow enable rs485 at boot time

From: Heiko Stübner
Date: Wed Mar 18 2020 - 14:28:22 EST


Am Mittwoch, 18. März 2020, 16:16:15 CET schrieb Andy Shevchenko:
> On Wed, Mar 18, 2020 at 03:26:40PM +0100, Heiko Stuebner wrote:
> > From: Giulio Benetti <giulio.benetti@xxxxxxxxxxxxxxxx>
> >
> > If "linux,rs485-enabled-at-boot-time" is specified need to setup 485
> > in probe function.
> >
> > Call uart_get_rs485_mode() to get rs485 configuration, then call
> > rs485_config() callback directly to setup port as rs485.
>
> I think you really need to Cc the new version of this to Lukas.
> Because I have a deja vu that I have seen half of this to be similar what he
> had done in his work.

Could you give me a pointer to that work?

When I initially searched for previous rs485 on 8250_dw stuff I only
found the series from 2018 I linked to in the cover-letter, so if there
is other work somewhere else a pointer to it would be very helpful
for me.

Thanks
Heiko