linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ruslan Bilovol <ruslan.bilovol@gmail.com>
To: Takashi Iwai <tiwai@suse.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/1] USB Audio Device Class 3.0 support
Date: Tue,  7 Nov 2017 04:01:19 +0200	[thread overview]
Message-ID: <1510020080-15849-1-git-send-email-ruslan.bilovol@gmail.com> (raw)

Hi Takashi,

This patch adds initial USB Audio Device Class 3.0 [1]
support to the ALSA that we discussed at ELCE.

The patch was tested with UAC3 gadget [2] that I posted
to USB mailing list before. It is good for working with
BADD device which implements such topologies like
BAIF (Basic Audio Input Functions), BAOF (Basic Audio
Output Functions) or compbination of both.

UAC3 spec has changed descriptors laout and many other
codes comparing to UAC2 spec, thus making reuse of existing
sources impossible or quite complex.

There are still many areas of improvement, as this patch
doesn't have UAC3 Mixer Unit support nor some new features
like Power Management

I tested this with BeagleBone Black as UAC3 gadget device.

[1] http://www.usb.org/developers/docs/devclass_docs/USB_Audio_v3.0.zip
[2] http://www.spinics.net/lists/linux-usb/msg162482.html

Ruslan Bilovol (1):
  ALSA: usb: initial USB Audio Device Class 3.0 support

 include/linux/usb/audio-v2.h   |   4 +-
 include/linux/usb/audio-v3.h   | 343 +++++++++++++++++++++++++++++++++++++++++
 include/uapi/linux/usb/audio.h |   1 +
 sound/usb/card.c               |   7 +-
 sound/usb/card.h               |   2 +-
 sound/usb/clock.c              | 228 ++++++++++++++++++++++++---
 sound/usb/clock.h              |   4 +-
 sound/usb/format.c             |  87 +++++++++--
 sound/usb/format.h             |   6 +-
 sound/usb/mixer.c              | 332 ++++++++++++++++++++++++++-------------
 sound/usb/stream.c             | 296 ++++++++++++++++++++++++++++++-----
 11 files changed, 1117 insertions(+), 193 deletions(-)
 create mode 100644 include/linux/usb/audio-v3.h

-- 
1.9.1

             reply	other threads:[~2017-11-07  2:01 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-07  2:01 Ruslan Bilovol [this message]
2017-11-07  2:01 ` [PATCH 1/1] ALSA: usb: initial USB Audio Device Class 3.0 support Ruslan Bilovol
2017-11-08 14:38   ` Takashi Iwai
2017-11-09  8:04     ` Greg Kroah-Hartman
2017-11-09  8:16       ` Takashi Iwai
2017-11-09  8:33         ` Greg Kroah-Hartman
2017-11-09  8:58           ` Takashi Iwai
2017-11-11  2:56           ` Ruslan Bilovol
2017-11-11  7:29             ` Takashi Iwai
2017-11-10 11:12     ` Ruslan Bilovol
2017-11-08 16:46   ` kbuild test robot
2017-11-08 19:38   ` [alsa-devel] " Pierre-Louis Bossart
2017-11-11  2:48     ` Ruslan Bilovol
2017-11-13 16:07       ` Pierre-Louis Bossart

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=1510020080-15849-1-git-send-email-ruslan.bilovol@gmail.com \
    --to=ruslan.bilovol@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tiwai@suse.com \
    /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;
as well as URLs for NNTP newsgroup(s).