Skip to content

Commit fa7c0d1

Browse files
mripardbroonie
authored andcommitted
ASoC: sunxi: Add Allwinner A10 Digital Audio driver
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 <[email protected]> Tested-by: Chen-Yu Tsai <[email protected]> Signed-off-by: Mark Brown <[email protected]>
1 parent 38c8171 commit fa7c0d1

File tree

3 files changed

+713
-1
lines changed

3 files changed

+713
-1
lines changed

sound/soc/sunxi/Kconfig

+9
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@ config SND_SUN4I_CODEC
88
Select Y or M to add support for the Codec embedded in the Allwinner
99
A10 and affiliated SoCs.
1010

11+
config SND_SUN4I_I2S
12+
tristate "Allwinner A10 I2S Support"
13+
select SND_SOC_GENERIC_DMAENGINE_PCM
14+
select REGMAP_MMIO
15+
help
16+
Say Y or M if you want to add support for codecs attached to
17+
the Allwinner A10 I2S. You will also need to select the
18+
individual machine drivers to support below.
19+
1120
config SND_SUN4I_SPDIF
1221
tristate "Allwinner A10 SPDIF Support"
1322
depends on OF

sound/soc/sunxi/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
obj-$(CONFIG_SND_SUN4I_CODEC) += sun4i-codec.o
2-
2+
obj-$(CONFIG_SND_SUN4I_I2S) += sun4i-i2s.o
33
obj-$(CONFIG_SND_SUN4I_SPDIF) += sun4i-spdif.o

0 commit comments

Comments
 (0)