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