greybus: audio: Add direct audio streaming control for APBridgeA
authorMark Greer <mgreer@animalcreek.com>
Wed, 13 Jan 2016 21:07:47 +0000 (14:07 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Thu, 14 Jan 2016 00:02:04 +0000 (16:02 -0800)
commit4dbf5056405ad3c0ead370f0f3254c17b81b1e04
tree52c45adf2a359ccc869ad866fc7365276e041575
parent184992e305f1de3a3d5fa446da3a2bc76be7c54a
greybus: audio: Add direct audio streaming control for APBridgeA

The latest audio architecture does not stream audio data over the
USB link between the AP and APBridgeA.  Instead, audio data is
streamed directly over the I2S link between the two.

To support the Greybus audio driver in setting up the I2S port and
controling packeting/depacketizing of audio data to/from Greybus
audio messages, define a set of commands and their parameters.
These commands and parameters will be placed into a request and sent
over the USB control channel to APBridgeA.  A corresponding driver
on APBridgeA will receive and process the requests.

Signed-off-by: Mark Greer <mgreer@animalcreek.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/Makefile
drivers/staging/greybus/audio.h
drivers/staging/greybus/audio_apbridgea.c [new file with mode: 0644]
drivers/staging/greybus/audio_apbridgea.h [new file with mode: 0644]
drivers/staging/greybus/greybus_protocols.h