summaryrefslogtreecommitdiff
path: root/sound/soc/uniphier/aio.h
diff options
context:
space:
mode:
authorKatsuhiro Suzuki <suzuki.katsuhiro@socionext.com>2018-07-27 05:37:28 +0300
committerMark Brown <broonie@kernel.org>2018-07-30 14:02:31 +0300
commit8fc9983db199bb397d48e32a6400765b70f1995a (patch)
tree37030b1c0c9694ae84c8727c25af9bf57939cee3 /sound/soc/uniphier/aio.h
parentae1c696a480c67c45fb23b35162183f72c6be0e1 (diff)
downloadlinux-8fc9983db199bb397d48e32a6400765b70f1995a.tar.xz
ASoC: uniphier: add support for multichannel output
This patch adds multichannel PCM output support for LD11/LD20. Currently driver tested and supported only 2ch, 6ch, and 8ch. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/uniphier/aio.h')
-rw-r--r--sound/soc/uniphier/aio.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/soc/uniphier/aio.h b/sound/soc/uniphier/aio.h
index aa89c2f6fa24..23a5c3c68658 100644
--- a/sound/soc/uniphier/aio.h
+++ b/sound/soc/uniphier/aio.h
@@ -141,6 +141,9 @@ enum IEC61937_PC {
#define AUD_MIN_FRAGMENT_SIZE (4 * 1024)
#define AUD_MAX_FRAGMENT_SIZE (16 * 1024)
+/* max 5 slots, 10 channels, 2 channel in 1 slot */
+#define AUD_MAX_SLOTSEL 5
+
/*
* This is a selector for virtual register map of AIO.
*