mbox series

[v2,0/8] dev-serial: minor fixes and improvements

Message ID 20201027150456.24606-1-mark.cave-ayland@ilande.co.uk
Headers show
Series dev-serial: minor fixes and improvements | expand

Message

Mark Cave-Ayland Oct. 27, 2020, 3:04 p.m. UTC
This series comes from a client project that I have been working on over the
past few months which involves communicating with serial hardware and
associated simulators using the QEMU USB serial device.

With thanks to Craig Stevens at Renesas for giving permission for these
patches to be upstreamed.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


v2:
- Rebase onto master
- Drop patch 8 "dev-serial: fix FTDI_GET_MDM_ST response" as it is incorrect
- Add R-B tags from Samuel
- Change USB addr field from %d to %u as suggested by Philippe
- Add R-B tags from Philippe
- Change usb_attach() logic in patch 6 as suggested by Gerd


Mark Cave-Ayland (8):
  dev-serial: style changes to improve readability and checkpatch fixes
  dev-serial: use USB_SERIAL QOM macro for USBSerialState assignments
  dev-serial: convert from DPRINTF to trace-events
  dev-serial: add trace-events for baud rate and data parameters
  dev-serial: replace DeviceOutVendor/DeviceInVendor with equivalent
    macros from usb.h
  dev-serial: add always-plugged property to ensure USB device is always
    attached
  dev-serial: add support for setting data_bits in QEMUSerialSetParams
  dev-serial: store flow control and xon/xoff characters

 hw/usb/dev-serial.c | 334 +++++++++++++++++++++++++++-----------------
 hw/usb/trace-events |  13 ++
 2 files changed, 216 insertions(+), 131 deletions(-)

Comments

Gerd Hoffmann Nov. 3, 2020, 1:24 p.m. UTC | #1
On Tue, Oct 27, 2020 at 03:04:48PM +0000, Mark Cave-Ayland wrote:
> This series comes from a client project that I have been working on over the
> past few months which involves communicating with serial hardware and
> associated simulators using the QEMU USB serial device.
> 
> With thanks to Craig Stevens at Renesas for giving permission for these
> patches to be upstreamed.
> 
> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>

Series added to usb queue.

thanks,
  Gerd