blob: 22408bc2d6ec686bccfc3982b223d8ea5387f6d1 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001menu "Allwinner SoC Audio support"
2 depends on ARCH_SUNXI || COMPILE_TEST
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
12config SND_SUN8I_CODEC
13 tristate "Allwinner SUN8I audio codec"
14 depends on OF
15 depends on MACH_SUN8I || COMPILE_TEST
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
23config SND_SUN8I_CODEC_ANALOG
24 tristate "Allwinner sun8i Codec Analog Controls Support"
25 depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
26 select REGMAP
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
31config SND_SUN4I_I2S
32 tristate "Allwinner A10 I2S Support"
33 select SND_SOC_GENERIC_DMAENGINE_PCM
34 select REGMAP_MMIO
35 help
36 Say Y or M if you want to add support for codecs attached to
37 the Allwinner A10 I2S. You will also need to select the
38 individual machine drivers to support below.
39
40config SND_SUN4I_SPDIF
41 tristate "Allwinner A10 SPDIF Support"
42 depends on OF
43 select SND_SOC_GENERIC_DMAENGINE_PCM
44 select REGMAP_MMIO
45 help
46 Say Y or M to add support for the S/PDIF audio block in the Allwinner
47 A10 and affiliated SoCs.
48endmenu