mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: alsa-devel@alsa-project.org, linux-usb@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: [PATCH 0/7] usb: Add USB MIDI 2.0 Gadget Function Driver
Date: Tue, 25 Jul 2023 08:21:59 +0200	[thread overview]
Message-ID: <20230725062206.9674-1-tiwai@suse.de> (raw)

Hi,

This is a patch set for adding a USB gadget function driver for USB
MIDI 2.0 interface.  The MIDI 2.0 support in the host side was already
enabled since 6.5 kernel in snd-usb-audio driver.  Now, this provides
a similar gadget functionality using the existing ALSA UMP helper
functions.

The gadget driver provides both MIDI 2.0 and MIDI 1.0 fallback
interfaces with one or more loopback UMP rawmidi devices.  The
configfs implementation is flexible enough to allow users to set up
multiple UMP Endpoints and Function Blocks.

The first patch adds the bare f_midi2 driver without configfs support,
followed by the configfs support, MIDI 1.0 interface support and a few
other extensions and documentation.


Takashi

===

Takashi Iwai (7):
  usb: gadget: Add support for USB MIDI 2.0 function driver
  usb: gadget: midi2: Add configfs support
  usb: gadget: midi2: Dynamically create MIDI 1.0 altset descriptors
  usb: gadget: midi2: MIDI 1.0 interface (altset 0) support
  usb: gadget: midi2: Add testing documentation
  usb: gadget: midi2: Add "Operation Mode" control
  usb: gadget: midi2: More flexible MIDI 1.0 configuration

 .../ABI/testing/configfs-usb-gadget-midi2     |   54 +
 Documentation/usb/gadget-testing.rst          |  154 +
 drivers/usb/gadget/Kconfig                    |   18 +
 drivers/usb/gadget/function/Makefile          |    2 +
 drivers/usb/gadget/function/f_midi2.c         | 2883 +++++++++++++++++
 drivers/usb/gadget/function/u_midi2.h         |   81 +
 6 files changed, 3192 insertions(+)
 create mode 100644 Documentation/ABI/testing/configfs-usb-gadget-midi2
 create mode 100644 drivers/usb/gadget/function/f_midi2.c
 create mode 100644 drivers/usb/gadget/function/u_midi2.h

-- 
2.35.3


             reply	other threads:[~2023-07-25  6:22 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-25  6:21 Takashi Iwai [this message]
2023-07-25  6:22 ` [PATCH 1/7] usb: gadget: Add support for USB MIDI 2.0 function driver Takashi Iwai
2023-07-25  6:22 ` [PATCH 2/7] usb: gadget: midi2: Add configfs support Takashi Iwai
2023-07-25  6:22 ` [PATCH 3/7] usb: gadget: midi2: Dynamically create MIDI 1.0 altset descriptors Takashi Iwai
2023-07-25  6:22 ` [PATCH 4/7] usb: gadget: midi2: MIDI 1.0 interface (altset 0) support Takashi Iwai
2023-07-25  6:22 ` [PATCH 5/7] usb: gadget: midi2: Add testing documentation Takashi Iwai
2023-07-25  6:22 ` [PATCH 6/7] usb: gadget: midi2: Add "Operation Mode" control Takashi Iwai
2023-07-25  6:22 ` [PATCH 7/7] usb: gadget: midi2: More flexible MIDI 1.0 configuration Takashi Iwai
2023-07-25 16:29 ` [PATCH 0/7] usb: Add USB MIDI 2.0 Gadget Function Driver Greg Kroah-Hartman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230725062206.9674-1-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®