Re: [PATCH 1/7] serial: 8250_dwlib: RS485 HW half duplex support

From: Ilpo Järvinen
Date: Tue Mar 08 2022 - 08:00:17 EST


On Tue, 8 Mar 2022, Lukas Wunner wrote:

> On Tue, Mar 08, 2022 at 02:16:56PM +0200, Ilpo Järvinen wrote:
> > The SoC also has a pin to select between RS485 and RS232. With a combo
> > transceiver, TCR-based heuristic just runs into the same problems as the
> > version-based one did.
>
> I thought this was about detecting whether hardware-assisted DE assertion
> may be used (versus software-controlled), not about whether to enable
> RS-485 mode. Right?

HW DE assertion only works when RS485 mode is enabled so I don't see how
these questions could be easily decoupled like that. That's assuming with
"software-controlled" you mean RTS(RS232)+em485?


--
i.