blob: 8134c3c94229263a982d0009bc89dfa6b5a0aad6 [file] [log] [blame]
Emilio López45fb6b62015-09-12 15:26:24 +02001menu "Allwinner SoC Audio support"
Peter Robinson702650b2016-08-23 18:17:46 +01002 depends on ARCH_SUNXI || COMPILE_TEST
Emilio López45fb6b62015-09-12 15:26:24 +02003
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
Mylène Josserand36c68492017-02-02 10:24:17 +010012config SND_SUN8I_CODEC
13 tristate "Allwinner SUN8I audio codec"
14 depends on OF
Vasily Khoruzhick7e95aac2018-10-17 00:38:10 -070015 depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
Mylène Josserand36c68492017-02-02 10:24:17 +010016 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
Chen-Yu Tsaiba2ff302016-11-12 14:46:40 +080023config SND_SUN8I_CODEC_ANALOG
24 tristate "Allwinner sun8i Codec Analog Controls Support"
Icenowy Zhenge5028a22017-02-08 02:30:40 +080025 depends on MACH_SUN8I || (ARM64 && ARCH_SUNXI) || COMPILE_TEST
Vasily Khoruzhick55b407f2018-10-17 00:38:07 -070026 select SND_SUN8I_ADDA_PR_REGMAP
Chen-Yu Tsaiba2ff302016-11-12 14:46:40 +080027 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
Vasily Khoruzhick42371f32018-10-17 00:38:09 -070031config SND_SUN50I_CODEC_ANALOG
32 tristate "Allwinner sun50i Codec Analog Controls Support"
33 depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
Vasily Khoruzhick2f5d9412018-11-02 21:26:51 -070034 select SND_SUN8I_ADDA_PR_REGMAP
Vasily Khoruzhick42371f32018-10-17 00:38:09 -070035 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
Maxime Ripardfa7c0d12016-06-15 23:11:21 +020039config 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
Marcus Cooperf8260af2016-02-08 18:09:21 +010048config 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.
Vasily Khoruzhick55b407f2018-10-17 00:38:07 -070056
57config SND_SUN8I_ADDA_PR_REGMAP
58 tristate
59 select REGMAP
60
Emilio López45fb6b62015-09-12 15:26:24 +020061endmenu