Uart drivers for ubuntu
Serial: 8250_dwlib: RS485 HW half & full duplex support Serial: 8250: Handle UART without interrupt on TEMT Serial: Store character timing information to uart_port Added TIOCSADDR/GADDR to tty_compat_ioctl Change ADDRB to 0x20000000 which is free for all archs Reworded comments & commit messages as requested Added filtering for addresses to avoid them leaking into data stream Clear ADDRB in set_termios of a few more drivers Changed -EINVAL to -ENOTTY if no set/get_addr handler is present Prevent ADDRB and addrmode desync for RS485->RS232 transition Don't unnecessarily clear DE/RE_EN for non-RS485 mode Make DE active-high by default in dwlib Removed DE polarity prop, it is still configurable but with rts one instead Use SER_RS485_RTS_ON_SEND rather than DT prop directly Detect RS485 HW using RE_EN register write+read
UART DRIVERS FOR UBUNTU PATCH
Included NOTEMT patch rewritten from scratch Add uart_port->frame_time to avoid the need to store it per purpose Is expected to change so maybe I'm just being too cautious). If that's ok to do lockingwise (not that fifosize is a variable that Timeout from frame_time and fifosize where needed but I was not sure Thinking of removing uart_port->timeout entirely and derive the value It turned out to beneficial also for serialĬore which had to reverse calculate it from uart_port->timeout). Storing it per purpose in the uart drivers, I decided to addįrame_time into uart_port. To make waiting for a single character easy and to avoid I decided to rewrite the UART_CAP_NOTEMT patch from scratch myselfīased on Uwe Kleine-König's earlier suggestion and include it to this Somebody has further input on this, please voice it as it is user-space There was some counterexample w/o further details mentioned for RS-485, doing it within rs485_config would avoid having to add those Lukas Wunner brought upĭuring v1 review that if this addressing is only going to be used with
UART DRIVERS FOR UBUNTU SERIAL
To configure multipoint addressing, ADDRB flag is added to termiosĪnd two new IOCTLs are added into serial core. In various modes of operation and the second part focuses on enablingĩth bit addressing mode that can be used on a multipoint RS-485 The first part adds HW support for RS-485 itself This patchset adds RS-485 support to the DW UART driver. Uwe Kleine-König, Ilpo Järvinen, linux-api To: linux-serial, Greg KH, Jiri Slaby, Lukas Wunner, Andy ShevchenkoĬc: Johan Hovold, heiko, giulio.benetti, Heikki Krogerus, ` (12 more replies) 0 siblings, 13 replies 26+ messages in thread 8:33 ` serial: Store character timing information to uart_port Ilpo Järvinen
UART DRIVERS FOR UBUNTU ARCHIVE
Add RS485 support to DW UART archive mirror help / color / mirror / Atom feed * Add RS485 support to DW UART 8:33 Ilpo Järvinen