summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/greybus_protocols.h
diff options
context:
space:
mode:
authorMark Greer <mgreer@animalcreek.com>2016-01-13 14:07:47 -0700
committerGreg Kroah-Hartman <gregkh@google.com>2016-01-13 16:02:04 -0800
commit4dbf5056405ad3c0ead370f0f3254c17b81b1e04 (patch)
tree52c45adf2a359ccc869ad866fc7365276e041575 /drivers/staging/greybus/greybus_protocols.h
parent184992e305f1de3a3d5fa446da3a2bc76be7c54a (diff)
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>
Diffstat (limited to 'drivers/staging/greybus/greybus_protocols.h')
-rw-r--r--drivers/staging/greybus/greybus_protocols.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/greybus/greybus_protocols.h b/drivers/staging/greybus/greybus_protocols.h
index 1277b74bc618..55e99b7083f3 100644
--- a/drivers/staging/greybus/greybus_protocols.h
+++ b/drivers/staging/greybus/greybus_protocols.h
@@ -175,6 +175,9 @@ struct gb_control_interface_version_response {
/* request to control the CSI transmitter */
#define GB_APB_REQUEST_CSI_TX_CONTROL 0x08
+/* request to control the CSI transmitter */
+#define GB_APB_REQUEST_AUDIO_CONTROL 0x09
+
/* Firmware Protocol */