xref: /openbmc/linux/sound/soc/tegra/Kconfig (revision 5f32c314)
1config SND_SOC_TEGRA
2	tristate "SoC Audio for the Tegra System-on-Chip"
3	depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
4	depends on COMMON_CLK
5	depends on RESET_CONTROLLER
6	select REGMAP_MMIO
7	select SND_SOC_GENERIC_DMAENGINE_PCM
8	help
9	  Say Y or M here if you want support for SoC audio on Tegra.
10
11config SND_SOC_TEGRA20_AC97
12	tristate
13	depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC
14	select SND_SOC_AC97_BUS
15	select SND_SOC_TEGRA20_DAS
16	help
17	  Say Y or M if you want to add support for codecs attached to the
18	  Tegra20 AC97 interface. You will also need to select the individual
19	  machine drivers to support below.
20
21config SND_SOC_TEGRA20_DAS
22	tristate
23	depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC
24	help
25	  Say Y or M if you want to add support for the Tegra20 DAS module.
26	  You will also need to select the individual machine drivers to
27	  support below.
28
29config SND_SOC_TEGRA20_I2S
30	tristate
31	depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC
32	select SND_SOC_TEGRA20_DAS
33	help
34	  Say Y or M if you want to add support for codecs attached to the
35	  Tegra20 I2S interface. You will also need to select the individual
36	  machine drivers to support below.
37
38config SND_SOC_TEGRA20_SPDIF
39	tristate
40	depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC
41	default m
42	help
43	  Say Y or M if you want to add support for the Tegra20 SPDIF interface.
44	  You will also need to select the individual machine drivers to support
45	  below.
46
47config SND_SOC_TEGRA30_AHUB
48	tristate
49	depends on SND_SOC_TEGRA && ARCH_TEGRA_3x_SOC
50	help
51	  Say Y or M if you want to add support for the Tegra20 AHUB module.
52	  You will also need to select the individual machine drivers to
53	  support below.
54
55config SND_SOC_TEGRA30_I2S
56	tristate
57	depends on SND_SOC_TEGRA && ARCH_TEGRA_3x_SOC
58	select SND_SOC_TEGRA30_AHUB
59	help
60	  Say Y or M if you want to add support for codecs attached to the
61	  Tegra30 I2S interface. You will also need to select the individual
62	  machine drivers to support below.
63
64config SND_SOC_TEGRA_RT5640
65	tristate "SoC Audio support for Tegra boards using an RT5640 codec"
66	depends on SND_SOC_TEGRA && I2C && GPIOLIB
67	select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
68	select SND_SOC_TEGRA30_I2S if ARCH_TEGRA_3x_SOC
69	select SND_SOC_RT5640
70	help
71	  Say Y or M here if you want to add support for SoC audio on Tegra
72	  boards using the RT5640 codec, such as Dalmore.
73
74config SND_SOC_TEGRA_WM8753
75	tristate "SoC Audio support for Tegra boards using a WM8753 codec"
76	depends on SND_SOC_TEGRA && I2C && GPIOLIB
77	select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
78	select SND_SOC_TEGRA30_I2S if ARCH_TEGRA_3x_SOC
79	select SND_SOC_WM8753
80	help
81	  Say Y or M here if you want to add support for SoC audio on Tegra
82	  boards using the WM8753 codec, such as Whistler.
83
84config SND_SOC_TEGRA_WM8903
85	tristate "SoC Audio support for Tegra boards using a WM8903 codec"
86	depends on SND_SOC_TEGRA && I2C && GPIOLIB
87	select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
88	select SND_SOC_TEGRA30_I2S if ARCH_TEGRA_3x_SOC
89	select SND_SOC_WM8903
90	help
91	  Say Y or M here if you want to add support for SoC audio on Tegra
92	  boards using the WM8093 codec. Currently, the supported boards are
93	  Harmony, Ventana, Seaboard, Kaen, and Aebl.
94
95config SND_SOC_TEGRA_WM9712
96	tristate "SoC Audio support for Tegra boards using a WM9712 codec"
97	depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC && GPIOLIB
98	select SND_SOC_TEGRA20_AC97
99	select SND_SOC_WM9712
100	help
101	  Say Y or M here if you want to add support for SoC audio on Tegra
102	  boards using the WM9712 (or compatible) codec.
103
104config SND_SOC_TEGRA_TRIMSLICE
105	tristate "SoC Audio support for TrimSlice board"
106	depends on SND_SOC_TEGRA && I2C
107	select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
108	select SND_SOC_TLV320AIC23
109	help
110	  Say Y or M here if you want to add support for SoC audio on the
111	  TrimSlice platform.
112
113config SND_SOC_TEGRA_ALC5632
114	tristate "SoC Audio support for Tegra boards using an ALC5632 codec"
115	depends on SND_SOC_TEGRA && I2C && GPIOLIB
116	select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
117	select SND_SOC_ALC5632
118	help
119	  Say Y or M here if you want to add support for SoC audio on the
120	  Toshiba AC100 netbook.
121
122config SND_SOC_TEGRA_MAX98090
123	tristate "SoC Audio support for Tegra boards using a MAX98090 codec"
124	depends on SND_SOC_TEGRA && I2C && GPIOLIB
125	select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
126	select SND_SOC_TEGRA30_I2S if ARCH_TEGRA_3x_SOC
127	select SND_SOC_MAX98090
128	help
129	  Say Y or M here if you want to add support for SoC audio on Tegra
130	  boards using the MAX98090 codec, such as Venice2.
131