Skip to content

Commit

Permalink
ASoC: sunxi: Add support for the SPDIF block
Browse files Browse the repository at this point in the history
The sun4i, sun5i and sun7i SoC families have an SPDIF
block which is capable of playback and capture.

This patch enables the playback of this block for
the sun4i families.

Signed-off-by: Marcus Cooper <codekipper@gmail.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Marcus Cooper authored and Mark Brown committed Feb 19, 2016
1 parent 8020e1b commit f8260af
Show file tree
Hide file tree
Showing 3 changed files with 559 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sound/soc/sunxi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,12 @@ config SND_SUN4I_CODEC
Select Y or M to add support for the Codec embedded in the Allwinner
A10 and affiliated SoCs.

config SND_SUN4I_SPDIF
tristate "Allwinner A10 SPDIF Support"
depends on OF
select SND_SOC_GENERIC_DMAENGINE_PCM
select REGMAP_MMIO
help
Say Y or M to add support for the S/PDIF audio block in the Allwinner
A10 and affiliated SoCs.
endmenu
1 change: 1 addition & 0 deletions sound/soc/sunxi/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
obj-$(CONFIG_SND_SUN4I_CODEC) += sun4i-codec.o

obj-$(CONFIG_SND_SUN4I_SPDIF) += sun4i-spdif.o
Loading

0 comments on commit f8260af

Please sign in to comment.