ASoC: sunxi: allow the sun8i-codec driver to be built on ARM64
[linux-2.6-block.git] / sound / soc / sunxi / Kconfig
CommitLineData
45fb6b6f 1menu "Allwinner SoC Audio support"
702650bd 2 depends on ARCH_SUNXI || COMPILE_TEST
45fb6b6f
EL
3
4config SND_SUN4I_CODEC
5 tristate "Allwinner A10 Codec Support"
6 select SND_SOC_GENERIC_DMAENGINE_PCM
7 select REGMAP_MMIO
8 help
9 Select Y or M to add support for the Codec embedded in the Allwinner
10 A10 and affiliated SoCs.
11
36c68493
MJ
12config SND_SUN8I_CODEC
13 tristate "Allwinner SUN8I audio codec"
14 depends on OF
7e95aac9 15 depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
36c68493
MJ
16 select REGMAP_MMIO
17 help
18 This option enables the digital part of the internal audio codec for
19 Allwinner sun8i SoC (and particularly A33).
20
21 Say Y or M if you want to add sun8i digital audio codec support.
22
ba2ff302
CYT
23config SND_SUN8I_CODEC_ANALOG
24 tristate "Allwinner sun8i Codec Analog Controls Support"
e5028a25 25 depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
55b407f6 26 select SND_SUN8I_ADDA_PR_REGMAP
ba2ff302
CYT
27 help
28 Say Y or M if you want to add support for the analog controls for
29 the codec embedded in newer Allwinner SoCs.
30
42371f32
VK
31config SND_SUN50I_CODEC_ANALOG
32 tristate "Allwinner sun50i Codec Analog Controls Support"
33 depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
34 select SND_SUNXI_ADDA_PR_REGMAP
35 help
36 Say Y or M if you want to add support for the analog controls for
37 the codec embedded in Allwinner A64 SoC.
38
fa7c0d13
MR
39config SND_SUN4I_I2S
40 tristate "Allwinner A10 I2S Support"
41 select SND_SOC_GENERIC_DMAENGINE_PCM
42 select REGMAP_MMIO
43 help
44 Say Y or M if you want to add support for codecs attached to
45 the Allwinner A10 I2S. You will also need to select the
46 individual machine drivers to support below.
47
f8260afa
MC
48config SND_SUN4I_SPDIF
49 tristate "Allwinner A10 SPDIF Support"
50 depends on OF
51 select SND_SOC_GENERIC_DMAENGINE_PCM
52 select REGMAP_MMIO
53 help
54 Say Y or M to add support for the S/PDIF audio block in the Allwinner
55 A10 and affiliated SoCs.
55b407f6
VK
56
57config SND_SUN8I_ADDA_PR_REGMAP
58 tristate
59 select REGMAP
60
45fb6b6f 61endmenu