ASoC: tegra: simplify Kconfig dependencies
[firefly-linux-kernel-4.4.55.git] / sound / soc / tegra / Kconfig
1 config SND_SOC_TEGRA
2         tristate "SoC Audio for the Tegra System-on-Chip"
3         depends on ARCH_TEGRA && TEGRA_SYSTEM_DMA
4         select REGMAP_MMIO
5         help
6           Say Y or M here if you want support for SoC audio on Tegra.
7
8 config SND_SOC_TEGRA20_DAS
9         tristate
10         depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC
11         help
12           Say Y or M if you want to add support for the Tegra20 DAS module.
13           You will also need to select the individual machine drivers to
14           support below.
15
16 config SND_SOC_TEGRA20_I2S
17         tristate
18         depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC
19         select SND_SOC_TEGRA20_DAS
20         help
21           Say Y or M if you want to add support for codecs attached to the
22           Tegra20 I2S interface. You will also need to select the individual
23           machine drivers to support below.
24
25 config SND_SOC_TEGRA20_SPDIF
26         tristate
27         depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC
28         default m
29         help
30           Say Y or M if you want to add support for the Tegra20 SPDIF interface.
31           You will also need to select the individual machine drivers to support
32           below.
33
34 config SND_SOC_TEGRA30_AHUB
35         tristate
36         depends on SND_SOC_TEGRA && ARCH_TEGRA_3x_SOC
37         help
38           Say Y or M if you want to add support for the Tegra20 AHUB module.
39           You will also need to select the individual machine drivers to
40           support below.
41
42 config SND_SOC_TEGRA30_I2S
43         tristate
44         depends on SND_SOC_TEGRA && ARCH_TEGRA_3x_SOC
45         select SND_SOC_TEGRA30_AHUB
46         help
47           Say Y or M if you want to add support for codecs attached to the
48           Tegra30 I2S interface. You will also need to select the individual
49           machine drivers to support below.
50
51 config SND_SOC_TEGRA_WM8753
52         tristate "SoC Audio support for Tegra boards using a WM8753 codec"
53         depends on SND_SOC_TEGRA && I2C
54         select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
55         select SND_SOC_TEGRA30_I2S if ARCH_TEGRA_3x_SOC
56         select SND_SOC_WM8753
57         help
58           Say Y or M here if you want to add support for SoC audio on Tegra
59           boards using the WM8753 codec, such as Whistler.
60
61 config SND_SOC_TEGRA_WM8903
62         tristate "SoC Audio support for Tegra boards using a WM8903 codec"
63         depends on SND_SOC_TEGRA && I2C
64         select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
65         select SND_SOC_TEGRA30_I2S if ARCH_TEGRA_3x_SOC
66         select SND_SOC_WM8903
67         help
68           Say Y or M here if you want to add support for SoC audio on Tegra
69           boards using the WM8093 codec. Currently, the supported boards are
70           Harmony, Ventana, Seaboard, Kaen, and Aebl.
71
72 config SND_SOC_TEGRA_TRIMSLICE
73         tristate "SoC Audio support for TrimSlice board"
74         depends on SND_SOC_TEGRA && I2C
75         select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
76         select SND_SOC_TLV320AIC23
77         help
78           Say Y or M here if you want to add support for SoC audio on the
79           TrimSlice platform.
80
81 config SND_SOC_TEGRA_ALC5632
82         tristate "SoC Audio support for Tegra boards using an ALC5632 codec"
83         depends on SND_SOC_TEGRA && I2C
84         select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
85         select SND_SOC_ALC5632
86         help
87           Say Y or M here if you want to add support for SoC audio on the
88           Toshiba AC100 netbook.