diff options
author | Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com> | 2018-01-19 12:25:31 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-02-12 15:49:52 +0300 |
commit | 139a342002330e2e9730a564766ec04bd028d511 (patch) | |
tree | e9977bb5c62483f2193a513c197e92407d271686 /sound/soc/uniphier/aio.h | |
parent | caa3e443aef6308abfe0710e8d8f602a75bed0ed (diff) | |
download | linux-139a342002330e2e9730a564766ec04bd028d511.tar.xz |
ASoC: uniphier: add support for UniPhier AIO CPU DAI driver
This patch adds CPU DAI driver for UniPhier AIO audio sound system.
This module provides PCM devices for all input/output port of AIO
such as I2S, S/PDIF.
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 | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/soc/uniphier/aio.h b/sound/soc/uniphier/aio.h index 3687f6ff30b1..b12e2e3d7699 100644 --- a/sound/soc/uniphier/aio.h +++ b/sound/soc/uniphier/aio.h @@ -306,6 +306,15 @@ static inline struct uniphier_aio *uniphier_priv(struct snd_soc_dai *dai) int uniphier_aiodma_soc_register_platform(struct platform_device *pdev); +int uniphier_aio_dai_probe(struct snd_soc_dai *dai); +int uniphier_aio_dai_remove(struct snd_soc_dai *dai); +int uniphier_aio_dai_suspend(struct snd_soc_dai *dai); +int uniphier_aio_dai_resume(struct snd_soc_dai *dai); +int uniphier_aio_probe(struct platform_device *pdev); +int uniphier_aio_remove(struct platform_device *pdev); +extern const struct snd_soc_dai_ops uniphier_aio_i2s_ops; +extern const struct snd_soc_dai_ops uniphier_aio_spdif_ops; + 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); |