staging: speakup: introduce tty-based comms
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 16 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | tty_port: allow a port to be opened with a tty that has no file handledrivers/ drivers/ include/ | +12 | 3 replies | |
| 2/7 | staging: speakup: spk_serial_out and spk_wait_for_xmitr to take synth argdrivers/ drivers/ drivers/ +4 more | +29 | 0 replies | |
| 3/7 | staging: serial: add spk_io_ops struct to spk_synthdrivers/ drivers/ drivers/ +16 more | +48 | 0 replies | |
| 4/7 | staging: speakup: move spk_stop_serial_interrupt into synth-specific release functiondrivers/ drivers/ drivers/ +3 more | +6 | 0 replies | |
| 5/7 | staging: speakup: move those functions which do outgoing serial comms, into serialio.cdrivers/ drivers/ drivers/ +10 more | +61 | 0 replies | |
| 6/7 | staging: speakup: add tty-based comms functionsdrivers/ drivers/ drivers/ +2 more | +151 | 0 replies | |
| 7/7 | staging: speakup: migrate acntsa, bns, dummy and txprt to ttyiodrivers/ drivers/ drivers/ | +12 | 0 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Samuel Thibault |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [patch 0/7] staging: speakup: introduce tty-based comms
Hi,
This patchset introduces a TTY-based way for the synths to communicate with devices as an alternate for direct serial comms used by the synths at the moment. It then migrates some of the synths to the TTY-based comms. Synths migrated in this patchset are dummy, acntsa, bns and txprt.
As such, this series is meant to start a discussion on the changes in the first patch: "tty_port: allow a port to be opened with a tty that has no file handle". This allows speakup to access tty port early on during boot, making it possible to start emiting messages as early as possible. This is demonstrated in patch 6, where it calls tty_open_by_driver, passing in NULL for inode and filp params.
To wrap up, here is a summary of the patches that follow. Patch 1 enables kernel access to TTY device. Patches 2 - 5 prepare the code to accomodate TTY-based comms as an alternate to raw serial I/O for outputting data to external device. Patch 6 builds upon the changes made in patch 1 and utilises TTY-subsystem to communicate with external device - currently just over ttyS* but with plans to expand it to other TTY devices soon. Finally, patch 7 does actual migration of some of the simple synths from raw serial comms to TTY.
Okash