summaryrefslogtreecommitdiffstats
path: root/sound/soc/uniphier/aio-reg.h
diff options
context:
space:
mode:
authorKatsuhiro Suzuki2018-07-27 04:37:28 +0200
committerMark Brown2018-07-30 13:02:31 +0200
commit8fc9983db199bb397d48e32a6400765b70f1995a (patch)
tree37030b1c0c9694ae84c8727c25af9bf57939cee3 /sound/soc/uniphier/aio-reg.h
parentASoC: sirf: Fix potential NULL pointer dereference (diff)
downloadkernel-qcow2-linux-8fc9983db199bb397d48e32a6400765b70f1995a.tar.gz
kernel-qcow2-linux-8fc9983db199bb397d48e32a6400765b70f1995a.tar.xz
kernel-qcow2-linux-8fc9983db199bb397d48e32a6400765b70f1995a.zip
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-reg.h')
-rw-r--r--sound/soc/uniphier/aio-reg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/uniphier/aio-reg.h b/sound/soc/uniphier/aio-reg.h
index 45fdc6ae358a..734395dbcffb 100644
--- a/sound/soc/uniphier/aio-reg.h
+++ b/sound/soc/uniphier/aio-reg.h
@@ -374,6 +374,7 @@
#define OPORTMXTYVOLGAINSTATUS(n, m) (0x42108 + 0x400 * (n) + 0x20 * (m))
#define OPORTMXTYVOLGAINSTATUS_CUR_MASK GENMASK(15, 0)
#define OPORTMXTYSLOTCTR(n, m) (0x42114 + 0x400 * (n) + 0x20 * (m))
+#define OPORTMXTYSLOTCTR_MODE BIT(15)
#define OPORTMXTYSLOTCTR_SLOTSEL_MASK GENMASK(11, 8)
#define OPORTMXTYSLOTCTR_SLOTSEL_SLOT0 (0x8 << 8)
#define OPORTMXTYSLOTCTR_SLOTSEL_SLOT1 (0x9 << 8)