]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - sound/soc/atmel/Kconfig
ASoC: atmel: simplify Kconfig
[karo-tx-linux.git] / sound / soc / atmel / Kconfig
1 config SND_ATMEL_SOC
2         tristate "SoC Audio for the Atmel System-on-Chip"
3         depends on HAS_IOMEM
4         help
5           Say Y or M if you want to add support for codecs attached to
6           the ATMEL SSC interface. You will also need
7           to select the audio interfaces to support below.
8
9 if SND_ATMEL_SOC
10
11 config SND_ATMEL_SOC_PDC
12         tristate
13
14 config SND_ATMEL_SOC_DMA
15         tristate
16         select SND_SOC_GENERIC_DMAENGINE_PCM
17
18 config SND_ATMEL_SOC_SSC
19         tristate
20
21 config SND_AT91_SOC_SAM9G20_WM8731
22         tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board"
23         depends on ARCH_AT91 || COMPILE_TEST
24         depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI
25         select SND_ATMEL_SOC_PDC
26         select SND_ATMEL_SOC_SSC
27         select SND_SOC_WM8731
28         help
29           Say Y if you want to add support for SoC audio on WM8731-based
30           AT91sam9g20 evaluation board.
31
32 config SND_ATMEL_SOC_WM8904
33         tristate "Atmel ASoC driver for boards using WM8904 codec"
34         depends on ARCH_AT91 || COMPILE_TEST
35         depends on ATMEL_SSC && I2C
36         select SND_ATMEL_SOC_SSC
37         select SND_ATMEL_SOC_DMA
38         select SND_SOC_WM8904
39         help
40           Say Y if you want to add support for Atmel ASoC driver for boards using
41           WM8904 codec.
42
43 config SND_AT91_SOC_SAM9X5_WM8731
44         tristate "SoC Audio support for WM8731-based at91sam9x5 board"
45         depends on ARCH_AT91 || COMPILE_TEST
46         depends on ATMEL_SSC && SND_SOC_I2C_AND_SPI
47         select SND_ATMEL_SOC_SSC
48         select SND_ATMEL_SOC_DMA
49         select SND_SOC_WM8731
50         help
51           Say Y if you want to add support for audio SoC on an
52           at91sam9x5 based board that is using WM8731 codec.
53 endif