Skip to content

Commit

Permalink
ASoC: sunxi: Add Allwinner A10 Digital Audio driver
Browse files Browse the repository at this point in the history
The Allwinner A10 and later come with a hardware block that used for the
PCM and I2S interfaces.

Add a driver for it in ASoC.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Tested-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Maxime Ripard authored and Mark Brown committed Jun 29, 2016
1 parent 38c8171 commit fa7c0d1
Show file tree
Hide file tree
Showing 3 changed files with 713 additions and 1 deletion.
9 changes: 9 additions & 0 deletions sound/soc/sunxi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ 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_I2S
tristate "Allwinner A10 I2S Support"
select SND_SOC_GENERIC_DMAENGINE_PCM
select REGMAP_MMIO
help
Say Y or M if you want to add support for codecs attached to
the Allwinner A10 I2S. You will also need to select the
individual machine drivers to support below.

config SND_SUN4I_SPDIF
tristate "Allwinner A10 SPDIF Support"
depends on OF
Expand Down
2 changes: 1 addition & 1 deletion sound/soc/sunxi/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
obj-$(CONFIG_SND_SUN4I_CODEC) += sun4i-codec.o

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

0 comments on commit fa7c0d1

Please sign in to comment.