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