summaryrefslogtreecommitdiff
path: root/sound/soc/uniphier/aio.h
diff options
context:
space:
mode:
authorKatsuhiro Suzuki <suzuki.katsuhiro@socionext.com>2018-01-19 12:25:30 +0300
committerMark Brown <broonie@kernel.org>2018-02-12 15:49:52 +0300
commitcaa3e443aef6308abfe0710e8d8f602a75bed0ed (patch)
treeb2105f6c0d9c909ab90759297ef9a57479a2d7b6 /sound/soc/uniphier/aio.h
parentf37fe2f9987b0460f25a87b1380f8e97a5959121 (diff)
downloadlinux-caa3e443aef6308abfe0710e8d8f602a75bed0ed.tar.xz
ASoC: uniphier: add support for UniPhier AIO DMA driver
This patch adds supports for UniPhier AIO DMA. This module shared register area with all sound devices for I2S, S/PDIF and so on. Since the AIO has mixed register map for those I/Os, it is hard to split register areas for each sound devices. 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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/uniphier/aio.h b/sound/soc/uniphier/aio.h
index 774abae28028..3687f6ff30b1 100644
--- a/sound/soc/uniphier/aio.h
+++ b/sound/soc/uniphier/aio.h
@@ -304,6 +304,8 @@ static inline struct uniphier_aio *uniphier_priv(struct snd_soc_dai *dai)
return &chip->aios[dai->id];
}
+int uniphier_aiodma_soc_register_platform(struct platform_device *pdev);
+
u64 aio_rb_cnt(struct uniphier_aio_sub *sub);
u64 aio_rbt_cnt_to_end(struct uniphier_aio_sub *sub);
u64 aio_rb_space(struct uniphier_aio_sub *sub);