Hello, On Wed, 17 Feb 2021 11:06:08 +0300 Alexander Shiyan <shc_work@xxxxxxx> wrote: > This reverts commit fce3c5c1a2d9cd888f2987662ce17c0c651916b2. > > FIFO is triggered 4 intervals after receiving a byte, it's good > when we don't care about the time of reception, but are only > interested in the presence of any activity on the line. > Unfortunately, this method is not suitable for all tasks, > for example, the RS-485 protocol will not work properly, > since the state machine must track the request-response time > and after the timeout expires, a decision is made that the device > on the line is not responding. > > Signed-off-by: Alexander Shiyan <shc_work@xxxxxxx> Thanks for the feedback. Should we switch between one mode and the other depending on whether RS232 or RS485 is used ? Or is there some appropriate user-space interface to ask the UART driver to tweak this kind of configuration ? Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com