RFC serial: make hardware flow control more flexible
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | serial_core: add termiox supportdrivers/ drivers/ include/ +1 more | +90 | 0 replies | |
| 2/6 | serial_core: add separated CTS, RTS, DTR, DSR flow control flagsinclude/ | +5 | 0 replies | |
| 3/6 | serial_core: use port flags to determine hardware flow controldrivers/ include/ | +133 | 0 replies | |
| 4/6 | serial: introduce uart_handle_dsr_change()drivers/ drivers/ drivers/ +17 more | +65 | 0 replies | |
| 5/6 | serial_core: dont assert DTR pin when its being used for flow controldrivers/ include/ | +25 | 0 replies | |
| 6/6 | serial: convert drivers to use uart_flow_output_allowed()drivers/ drivers/ drivers/ +3 more | +34 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH RFC 0/6] serial: make hardware flow control more flexible
This series of patches begins the changes in the serial code to allow more flexible hardware flow control rules. Instead of having fixed models like RTS/CTS or DSR/DTR, the new termiox structure will instead allow to specify which pins will be used.
Currently, termiox has four flags: RTSXOFF, CTSXON, DTRXOFF and DSRXON. This is not yet enough to fully specify Linux' CRTSCTS since it uses the DTR always on while the serial port is available (and RTS to signal if the system is ready or not to receive data). The plan is add RTSON and DTRON to termiox to allow the user to specify that those pins will be always set while the serial port is available.
These patches are not intended for inclusion, just to continue the discussion.
Signature · 1 line
Aristeu