linux/Documentation/usb
Ruslan Bilovol 40c73b3054 usb: gadget: f_uac2: add adaptive sync support for capture
Current f_uac2 USB OUT (aka 'capture') synchronization
implements 'ASYNC' scenario which means USB Gadget has
it's own freerunning clock and can update Host about
real clock frequency through feedback endpoint so Host
can align number of samples sent to the USB gadget to
prevent overruns/underruns

In case if Gadget can has no it's internal clock and
can consume audio samples at any rate (for example,
on the Gadget side someone records audio directly to
a file, or audio samples are played through an
external DAC as soon as they arrive), UAC2 spec
suggests 'ADAPTIVE' synchronization type.

Change UAC2 driver to make it configurable through
additional 'c_sync' configfs file.

Default remains 'asynchronous' with possibility to
switch it to 'adaptive'

Signed-off-by: Ruslan Bilovol <ruslan.bilovol@gmail.com>
Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Link: https://lore.kernel.org/r/20210603220104.1216001-3-jbrunet@baylibre.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-06-09 11:26:49 +02:00
..
acm.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
authorization.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
chipidea.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
CREDITS
dwc3.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
ehci.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
functionfs.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
gadget_configfs.rst docs: usb: function: Modify path name 2021-05-10 15:06:38 +02:00
gadget_hid.rst USB: Replace HTTP links with HTTPS ones 2020-07-21 13:41:57 +02:00
gadget_multi.rst USB: Replace HTTP links with HTTPS ones 2020-07-21 13:41:57 +02:00
gadget_printer.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
gadget_serial.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
gadget-testing.rst usb: gadget: f_uac2: add adaptive sync support for capture 2021-06-09 11:26:49 +02:00
index.rst usb: gadget: add raw-gadget interface 2020-03-15 11:34:48 +02:00
iuu_phoenix.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
linux-cdc-acm.inf USB: linux-cdc-acm.inf: add support for the acm_ms gadget 2011-11-29 09:59:29 +09:00
linux.inf USB: Replace HTTP links with HTTPS ones 2020-07-21 13:41:57 +02:00
mass-storage.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
misc_usbsevseg.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
mtouchusb.rst Documentation: drop optional BOMs 2021-05-10 15:17:34 -06:00
ohci.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
raw-gadget.rst usb: raw-gadget: update documentation and Kconfig 2021-01-26 18:38:45 +01:00
text_files.rst docs: usb: remove some broken references 2020-01-28 13:41:22 -07:00
usb-help.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00
usb-serial.rst Documentation: drop optional BOMs 2021-05-10 15:17:34 -06:00
usbdevfs-drop-permissions.c usb: devio: Add ioctl to disallow detaching kernel USB drivers. 2016-03-05 12:05:01 -08:00
usbip_protocol.rst docs: usbip: Fix major fields and descriptions in protocol 2021-04-09 16:04:45 +02:00
usbmon.rst docs: usb: rename files to .rst and add them to drivers-api 2019-06-20 14:28:36 +02:00