diff options
Diffstat (limited to 'sound/soc/tegra/Kconfig')
-rw-r--r-- | sound/soc/tegra/Kconfig | 68 |
1 files changed, 53 insertions, 15 deletions
diff --git a/sound/soc/tegra/Kconfig b/sound/soc/tegra/Kconfig index ce1b773c351f..c1c8e955f4d3 100644 --- a/sound/soc/tegra/Kconfig +++ b/sound/soc/tegra/Kconfig | |||
@@ -1,26 +1,63 @@ | |||
1 | config SND_SOC_TEGRA | 1 | config SND_SOC_TEGRA |
2 | tristate "SoC Audio for the Tegra System-on-Chip" | 2 | tristate "SoC Audio for the Tegra System-on-Chip" |
3 | depends on ARCH_TEGRA && TEGRA_SYSTEM_DMA | 3 | depends on ARCH_TEGRA && TEGRA_SYSTEM_DMA |
4 | select REGMAP_MMIO | ||
4 | help | 5 | help |
5 | Say Y or M here if you want support for SoC audio on Tegra. | 6 | Say Y or M here if you want support for SoC audio on Tegra. |
6 | 7 | ||
7 | config SND_SOC_TEGRA_I2S | 8 | config SND_SOC_TEGRA20_DAS |
8 | tristate | 9 | tristate |
9 | depends on SND_SOC_TEGRA | 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 | ||
10 | help | 20 | help |
11 | Say Y or M if you want to add support for codecs attached to the | 21 | Say Y or M if you want to add support for codecs attached to the |
12 | Tegra I2S interface. You will also need to select the individual | 22 | Tegra20 I2S interface. You will also need to select the individual |
13 | machine drivers to support below. | 23 | machine drivers to support below. |
14 | 24 | ||
15 | config SND_SOC_TEGRA_SPDIF | 25 | config SND_SOC_TEGRA20_SPDIF |
16 | tristate | 26 | tristate |
17 | depends on SND_SOC_TEGRA | 27 | depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC |
18 | default m | 28 | default m |
19 | help | 29 | help |
20 | Say Y or M if you want to add support for the SPDIF interface. | 30 | Say Y or M if you want to add support for the Tegra20 SPDIF interface. |
21 | You will also need to select the individual machine drivers to support | 31 | You will also need to select the individual machine drivers to support |
22 | below. | 32 | below. |
23 | 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 | |||
24 | config MACH_HAS_SND_SOC_TEGRA_WM8903 | 61 | config MACH_HAS_SND_SOC_TEGRA_WM8903 |
25 | bool | 62 | bool |
26 | help | 63 | help |
@@ -32,7 +69,8 @@ config SND_SOC_TEGRA_WM8903 | |||
32 | tristate "SoC Audio support for Tegra boards using a WM8903 codec" | 69 | tristate "SoC Audio support for Tegra boards using a WM8903 codec" |
33 | depends on SND_SOC_TEGRA && I2C | 70 | depends on SND_SOC_TEGRA && I2C |
34 | depends on MACH_HAS_SND_SOC_TEGRA_WM8903 | 71 | depends on MACH_HAS_SND_SOC_TEGRA_WM8903 |
35 | select SND_SOC_TEGRA_I2S | 72 | select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC |
73 | select SND_SOC_TEGRA30_I2S if ARCH_TEGRA_3x_SOC | ||
36 | select SND_SOC_WM8903 | 74 | select SND_SOC_WM8903 |
37 | help | 75 | help |
38 | Say Y or M here if you want to add support for SoC audio on Tegra | 76 | Say Y or M here if you want to add support for SoC audio on Tegra |
@@ -42,17 +80,17 @@ config SND_SOC_TEGRA_WM8903 | |||
42 | config SND_SOC_TEGRA_TRIMSLICE | 80 | config SND_SOC_TEGRA_TRIMSLICE |
43 | tristate "SoC Audio support for TrimSlice board" | 81 | tristate "SoC Audio support for TrimSlice board" |
44 | depends on SND_SOC_TEGRA && MACH_TRIMSLICE && I2C | 82 | depends on SND_SOC_TEGRA && MACH_TRIMSLICE && I2C |
45 | select SND_SOC_TEGRA_I2S | 83 | select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC |
46 | select SND_SOC_TLV320AIC23 | 84 | select SND_SOC_TLV320AIC23 |
47 | help | 85 | help |
48 | Say Y or M here if you want to add support for SoC audio on the | 86 | Say Y or M here if you want to add support for SoC audio on the |
49 | TrimSlice platform. | 87 | TrimSlice platform. |
50 | 88 | ||
51 | config SND_SOC_TEGRA_ALC5632 | 89 | config SND_SOC_TEGRA_ALC5632 |
52 | tristate "SoC Audio support for Tegra boards using an ALC5632 codec" | 90 | tristate "SoC Audio support for Tegra boards using an ALC5632 codec" |
53 | depends on SND_SOC_TEGRA && I2C | 91 | depends on SND_SOC_TEGRA && I2C |
54 | select SND_SOC_TEGRA_I2S | 92 | select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC |
55 | select SND_SOC_ALC5632 | 93 | select SND_SOC_ALC5632 |
56 | help | 94 | help |
57 | Say Y or M here if you want to add support for SoC audio on the | 95 | Say Y or M here if you want to add support for SoC audio on the |
58 | Toshiba AC100 netbook. | 96 | Toshiba AC100 netbook. |