xref: /linux/sound/soc/sunxi/Kconfig (revision 7fcfa9a2d9a7c1b428d61992c2deaa9e37a437b0)
1menu "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 || (ARM64 && ARCH_SUNXI) || 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 SND_SUN8I_ADDA_PR_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_SUN50I_CODEC_ANALOG
32	tristate "Allwinner sun50i Codec Analog Controls Support"
33	depends on (ARM64 && ARCH_SUNXI) || COMPILE_TEST
34	select SND_SUN8I_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
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
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.
56
57config SND_SUN8I_ADDA_PR_REGMAP
58	tristate
59	select REGMAP
60
61endmenu
62