1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "Allwinner SoC Audio support"
3 depends on ARCH_SUNXI || COMPILE_TEST
6 tristate "Allwinner A10 Codec Support"
7 select SND_SOC_GENERIC_DMAENGINE_PCM
10 Select Y or M to add support for the Codec embedded in the Allwinner
11 A10 and affiliated SoCs.
13 config SND_SUN8I_CODEC
14 tristate "Allwinner SUN8I audio codec"
16 depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
20 This option enables the digital part of the internal audio codec for
21 Allwinner sun8i SoC (and particularly A33).
23 Say Y or M if you want to add sun8i digital audio codec support.
25 config SND_SUN8I_CODEC_ANALOG
26 tristate "Allwinner sun8i Codec Analog Controls Support"
27 depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
28 select SND_SUN8I_ADDA_PR_REGMAP
30 Say Y or M if you want to add support for the analog controls for
31 the codec embedded in newer Allwinner SoCs.
33 config SND_SUN50I_CODEC_ANALOG
34 tristate "Allwinner sun50i Codec Analog Controls Support"
35 depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
36 select SND_SUN8I_ADDA_PR_REGMAP
38 Say Y or M if you want to add support for the analog controls for
39 the codec embedded in Allwinner A64 SoC.
42 tristate "Allwinner A10 I2S Support"
43 select SND_SOC_GENERIC_DMAENGINE_PCM
46 Say Y or M if you want to add support for codecs attached to
47 the Allwinner A10 I2S. You will also need to select the
48 individual machine drivers to support below.
50 config SND_SUN4I_SPDIF
51 tristate "Allwinner A10 SPDIF Support"
53 select SND_SOC_GENERIC_DMAENGINE_PCM
56 Say Y or M to add support for the S/PDIF audio block in the Allwinner
57 A10 and affiliated SoCs.
59 config SND_SUN8I_ADDA_PR_REGMAP