summaryrefslogtreecommitdiff
path: root/include/uapi/sound/sof/tokens.h
diff options
context:
space:
mode:
authorSeppo Ingalsuo <seppo.ingalsuo@linux.intel.com>2019-12-10 03:48:47 +0300
committerMark Brown <broonie@kernel.org>2019-12-10 16:13:11 +0300
commit433363e779ecb772c2e9ffea5c9f266115c24441 (patch)
tree0726d4fc6199857fe419a47c1f3eb36b657291cf /include/uapi/sound/sof/tokens.h
parentd612b455f120d05a42c95ccd7469fa13efb8d307 (diff)
downloadlinux-433363e779ecb772c2e9ffea5c9f266115c24441.tar.xz
ASoC: SOF: Add asynchronous sample rate converter topology support
This patch adds into SOF topology the handling of ASRC DAPM type, adds the tokens to configure the ASRC, and implement component IPC into the driver. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20191210004854.16845-2-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/uapi/sound/sof/tokens.h')
-rw-r--r--include/uapi/sound/sof/tokens.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/uapi/sound/sof/tokens.h b/include/uapi/sound/sof/tokens.h
index 76883e6fb750..a9a5c4d0a892 100644
--- a/include/uapi/sound/sof/tokens.h
+++ b/include/uapi/sound/sof/tokens.h
@@ -57,6 +57,12 @@
#define SOF_TKN_SRC_RATE_IN 300
#define SOF_TKN_SRC_RATE_OUT 301
+/* ASRC */
+#define SOF_TKN_ASRC_RATE_IN 320
+#define SOF_TKN_ASRC_RATE_OUT 321
+#define SOF_TKN_ASRC_ASYNCHRONOUS_MODE 322
+#define SOF_TKN_ASRC_OPERATION_MODE 323
+
/* PCM */
#define SOF_TKN_PCM_DMAC_CONFIG 353