diff options
author | Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com> | 2018-01-19 12:25:30 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-02-12 15:49:52 +0300 |
commit | caa3e443aef6308abfe0710e8d8f602a75bed0ed (patch) | |
tree | b2105f6c0d9c909ab90759297ef9a57479a2d7b6 /sound/soc/uniphier/aio.h | |
parent | f37fe2f9987b0460f25a87b1380f8e97a5959121 (diff) | |
download | linux-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.h | 2 |
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); |