1 # SPDX-License-Identifier: GPL-2.0-only
3 tristate "SoC Audio for the Tegra System-on-Chip"
4 depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
6 depends on RESET_CONTROLLER
8 select SND_SOC_GENERIC_DMAENGINE_PCM
10 Say Y or M here if you want support for SoC audio on Tegra.
14 config SND_SOC_TEGRA20_AC97
15 tristate "Tegra20 AC97 interface"
16 select SND_SOC_AC97_BUS
17 select SND_SOC_TEGRA20_DAS
19 Say Y or M if you want to add support for codecs attached to the
20 Tegra20 AC97 interface. You will also need to select the individual
21 machine drivers to support below.
23 config SND_SOC_TEGRA20_DAS
24 tristate "Tegra20 DAS module"
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
30 config SND_SOC_TEGRA20_I2S
31 tristate "Tegra20 I2S interface"
32 select SND_SOC_TEGRA20_DAS
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.
38 config SND_SOC_TEGRA20_SPDIF
39 tristate "Tegra20 SPDIF interface"
41 Say Y or M if you want to add support for the Tegra20 SPDIF interface.
42 You will also need to select the individual machine drivers to support
45 config SND_SOC_TEGRA30_AHUB
46 tristate "Tegra30 AHUB module"
48 Say Y or M if you want to add support for the Tegra30 AHUB module.
49 You will also need to select the individual machine drivers to
52 config SND_SOC_TEGRA30_I2S
53 tristate "Tegra30 I2S interface"
54 select SND_SOC_TEGRA30_AHUB
56 Say Y or M if you want to add support for codecs attached to the
57 Tegra30 I2S interface. You will also need to select the individual
58 machine drivers to support below.
60 config SND_SOC_TEGRA210_AHUB
61 tristate "Tegra210 AHUB module"
63 Config to enable Audio Hub (AHUB) module, which comprises of a
64 switch called Audio Crossbar (AXBAR) used to configure or modify
65 the audio routing path between various HW accelerators present in
67 Say Y or M if you want to add support for Tegra210 AHUB module.
69 config SND_SOC_TEGRA210_DMIC
70 tristate "Tegra210 DMIC module"
72 Config to enable the Digital MIC (DMIC) controller which is used
73 to interface with Pulse Density Modulation (PDM) input devices.
74 The DMIC controller implements a converter to convert PDM signals
75 to Pulse Code Modulation (PCM) signals. This can be viewed as a
77 Say Y or M if you want to add support for Tegra210 DMIC module.
79 config SND_SOC_TEGRA210_I2S
80 tristate "Tegra210 I2S module"
82 Config to enable the Inter-IC Sound (I2S) Controller which
83 implements full-duplex and bidirectional and single direction
84 point-to-point serial interfaces. It can interface with I2S
86 Say Y or M if you want to add support for Tegra210 I2S module.
88 config SND_SOC_TEGRA186_DSPK
89 tristate "Tegra186 DSPK module"
91 Config to enable the Digital Speaker Controller (DSPK) which
92 converts the multi-bit Pulse Code Modulation (PCM) audio input to
93 oversampled 1-bit Pulse Density Modulation (PDM) output. From the
94 signal flow perspective DSPK can be viewed as a PDM transmitter
95 that up-samples the input to the desired sampling rate by
96 interpolation and then converts the oversampled PCM input to
97 the desired 1-bit output via Delta Sigma Modulation (DSM).
98 Say Y or M if you want to add support for Tegra186 DSPK module.
100 config SND_SOC_TEGRA210_ADMAIF
101 tristate "Tegra210 ADMAIF module"
103 Config to enable ADMAIF which is the interface between ADMA and
104 Audio Hub (AHUB). Each ADMA channel that sends/receives data to/
105 from AHUB must interface through an ADMAIF channel. ADMA channel
106 sending data to AHUB pairs with an ADMAIF Tx channel, where as
107 ADMA channel receiving data from AHUB pairs with an ADMAIF Rx
108 channel. Buffer size is configurable for each ADMAIIF channel.
109 Say Y or M if you want to add support for Tegra210 ADMAIF module.
111 config SND_SOC_TEGRA_AUDIO_GRAPH_CARD
112 tristate "Audio Graph Card based Tegra driver"
113 depends on SND_AUDIO_GRAPH_CARD
115 Config to enable Tegra audio machine driver based on generic
116 audio graph driver. It is a thin driver written to customize
117 few things for Tegra audio. Most of the code is re-used from
118 audio graph driver and the same DT bindings are used.
120 config SND_SOC_TEGRA_RT5640
121 tristate "SoC Audio support for Tegra boards using an RT5640 codec"
122 depends on I2C && GPIOLIB
123 select SND_SOC_RT5640
125 Say Y or M here if you want to add support for SoC audio on Tegra
126 boards using the RT5640 codec, such as Dalmore.
128 config SND_SOC_TEGRA_WM8753
129 tristate "SoC Audio support for Tegra boards using a WM8753 codec"
130 depends on I2C && GPIOLIB
131 select SND_SOC_WM8753
133 Say Y or M here if you want to add support for SoC audio on Tegra
134 boards using the WM8753 codec, such as Whistler.
136 config SND_SOC_TEGRA_WM8903
137 tristate "SoC Audio support for Tegra boards using a WM8903 codec"
138 depends on I2C && GPIOLIB
139 select SND_SOC_WM8903
141 Say Y or M here if you want to add support for SoC audio on Tegra
142 boards using the WM8093 codec. Currently, the supported boards are
143 Harmony, Ventana, Seaboard, Kaen, and Aebl.
145 config SND_SOC_TEGRA_WM9712
146 tristate "SoC Audio support for Tegra boards using a WM9712 codec"
148 select SND_SOC_TEGRA20_AC97
149 select SND_SOC_WM9712
151 Say Y or M here if you want to add support for SoC audio on Tegra
152 boards using the WM9712 (or compatible) codec.
154 config SND_SOC_TEGRA_TRIMSLICE
155 tristate "SoC Audio support for TrimSlice board"
157 select SND_SOC_TLV320AIC23_I2C
159 Say Y or M here if you want to add support for SoC audio on the
162 config SND_SOC_TEGRA_ALC5632
163 tristate "SoC Audio support for Tegra boards using an ALC5632 codec"
164 depends on I2C && GPIOLIB
165 select SND_SOC_ALC5632
167 Say Y or M here if you want to add support for SoC audio on the
168 Toshiba AC100 netbook.
170 config SND_SOC_TEGRA_MAX98090
171 tristate "SoC Audio support for Tegra boards using a MAX98090 codec"
172 depends on I2C && GPIOLIB
173 select SND_SOC_MAX98090
175 Say Y or M here if you want to add support for SoC audio on Tegra
176 boards using the MAX98090 codec, such as Venice2.
178 config SND_SOC_TEGRA_RT5677
179 tristate "SoC Audio support for Tegra boards using a RT5677 codec"
180 depends on I2C && GPIOLIB
181 select SND_SOC_RT5677
183 Say Y or M here if you want to add support for SoC audio on Tegra
184 boards using the RT5677 codec, such as Ryu.
186 config SND_SOC_TEGRA_SGTL5000
187 tristate "SoC Audio support for Tegra boards using a SGTL5000 codec"
188 depends on I2C && GPIOLIB
189 select SND_SOC_SGTL5000
191 Say Y or M here if you want to add support for SoC audio on Tegra
192 boards using the SGTL5000 codec, such as Apalis T30, Apalis TK1 or