linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] USB: serial: add support for multi-interface functions
@ 2021-03-30 14:38 Johan Hovold
  2021-03-30 14:38 ` [PATCH 1/4] USB: serial: drop unused suspending flag Johan Hovold
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Johan Hovold @ 2021-03-30 14:38 UTC (permalink / raw)
  To: Johan Hovold; +Cc: Mauro Carvalho Chehab, linux-usb, linux-kernel

A single USB function can be implemented using a group of interfaces and
this is for example commonly used for Communication Class devices.
    
This series adds support for multi-interface functions to USB serial
core and exports an interface that allows drivers to claim a second
sibling interface. The interface could easily be extended to allow
claiming further interfaces if ever needed.

The final patch uses the new interface to properly claim both the
control and data interface of Maxlinear/Exar devices.

Johan


Johan Hovold (4):
  USB: serial: drop unused suspending flag
  USB: serial: refactor endpoint classification
  USB: serial: add support for multi-interface functions
  USB: serial: xr: claim both interfaces

 drivers/usb/serial/usb-serial.c | 135 ++++++++++++++++++++++++--------
 drivers/usb/serial/xr_serial.c  |  26 +++++-
 include/linux/usb/serial.h      |   8 +-
 3 files changed, 131 insertions(+), 38 deletions(-)

-- 
2.26.3


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-04-08 10:11 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-30 14:38 [PATCH 0/4] USB: serial: add support for multi-interface functions Johan Hovold
2021-03-30 14:38 ` [PATCH 1/4] USB: serial: drop unused suspending flag Johan Hovold
2021-03-30 14:38 ` [PATCH 2/4] USB: serial: refactor endpoint classification Johan Hovold
2021-03-30 14:38 ` [PATCH 3/4] USB: serial: add support for multi-interface functions Johan Hovold
2021-03-30 14:44   ` Oliver Neukum
2021-03-30 15:22     ` Johan Hovold
2021-03-31  7:08       ` Oliver Neukum
2021-03-31 11:21         ` Oliver Neukum
2021-04-01  7:46           ` Johan Hovold
2021-04-08 10:10             ` Oliver Neukum
2021-03-30 14:38 ` [PATCH 4/4] USB: serial: xr: claim both interfaces Johan Hovold
2021-03-30 14:50 ` [PATCH 0/4] USB: serial: add support for multi-interface functions Greg KH
2021-04-01  8:09   ` Johan Hovold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).