Commit e9813122 authored by Katsuhiro Suzuki's avatar Katsuhiro Suzuki Committed by Mark Brown

ASoC: uniphier: add support for UniPhier AIO compress audio

This patch adds support of UniPhier AIO compress audio.
For passing through compress audio to S/PDIF.
Signed-off-by: default avatarKatsuhiro Suzuki <suzuki.katsuhiro@socionext.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 139a3420
...@@ -11,6 +11,7 @@ config SND_SOC_UNIPHIER ...@@ -11,6 +11,7 @@ config SND_SOC_UNIPHIER
config SND_SOC_UNIPHIER_AIO config SND_SOC_UNIPHIER_AIO
tristate "UniPhier AIO DAI Driver" tristate "UniPhier AIO DAI Driver"
select REGMAP_MMIO select REGMAP_MMIO
select SND_SOC_COMPRESS
depends on SND_SOC_UNIPHIER depends on SND_SOC_UNIPHIER
help help
This adds ASoC driver support for Socionext UniPhier This adds ASoC driver support for Socionext UniPhier
......
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0
snd-soc-uniphier-aio-cpu-objs := aio-core.o aio-dma.o aio-cpu.o snd-soc-uniphier-aio-cpu-objs := aio-core.o aio-dma.o aio-cpu.o aio-compress.o
obj-$(CONFIG_SND_SOC_UNIPHIER_AIO) += snd-soc-uniphier-aio-cpu.o obj-$(CONFIG_SND_SOC_UNIPHIER_AIO) += snd-soc-uniphier-aio-cpu.o
......
This diff is collapsed.
...@@ -263,6 +263,7 @@ static const struct snd_soc_platform_driver uniphier_soc_platform = { ...@@ -263,6 +263,7 @@ static const struct snd_soc_platform_driver uniphier_soc_platform = {
.pcm_new = uniphier_aiodma_new, .pcm_new = uniphier_aiodma_new,
.pcm_free = uniphier_aiodma_free, .pcm_free = uniphier_aiodma_free,
.ops = &uniphier_aiodma_ops, .ops = &uniphier_aiodma_ops,
.compr_ops = &uniphier_aio_compr_ops,
}; };
static const struct regmap_config aiodma_regmap_config = { static const struct regmap_config aiodma_regmap_config = {
......
...@@ -305,6 +305,7 @@ static inline struct uniphier_aio *uniphier_priv(struct snd_soc_dai *dai) ...@@ -305,6 +305,7 @@ static inline struct uniphier_aio *uniphier_priv(struct snd_soc_dai *dai)
} }
int uniphier_aiodma_soc_register_platform(struct platform_device *pdev); int uniphier_aiodma_soc_register_platform(struct platform_device *pdev);
extern const struct snd_compr_ops uniphier_aio_compr_ops;
int uniphier_aio_dai_probe(struct snd_soc_dai *dai); int uniphier_aio_dai_probe(struct snd_soc_dai *dai);
int uniphier_aio_dai_remove(struct snd_soc_dai *dai); int uniphier_aio_dai_remove(struct snd_soc_dai *dai);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment