Re: [PATCH v4 04/13] serial: 8250_dwlib: RS485 HW half & full duplex support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 25, 2022 at 05:34:01PM +0300, Ilpo Järvinen wrote:
> The Synopsys DesignWare UART can be configured to have HW support for
> the RS485 protocol from IP version 4.0 onward. Add support for
> hardware-controlled half duplex and full duplex modes.
> 
> HW will take care of managing DE and RE, the driver just gives it
> permission to use either by setting both to 1.
> 
> To ask for full duplex mode, userspace sets SER_RS485_RX_DURING_TX flag
> and HW will take care of the rest.
> 
> Set delay_rts_before_send and delay_rts_after_send to zero for now. The
> granularity of that ABI is too coarse to be useful.
> 
> Co-developed-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>
> Signed-off-by: Heikki Krogerus <heikki.krogerus@xxxxxxxxxxxxxxx>
> Co-developed-by: Raymond Tan <raymond.tan@xxxxxxxxx>
> Signed-off-by: Raymond Tan <raymond.tan@xxxxxxxxx>
> Co-developed-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>
> ---
>  drivers/tty/serial/8250/8250_dwlib.c | 85 +++++++++++++++++++++++++++-
>  drivers/tty/serial/8250/8250_dwlib.h |  3 +
>  2 files changed, 86 insertions(+), 2 deletions(-)

This commit fails to apply to my tree.  Can you rebase this and the rest
and resend?

thanks,

greg k-h



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux