2019-05-19 15:07:45 +03:00
|
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
2011-04-12 21:40:37 +04:00
|
|
|
config SND_SOC_TEGRA
|
2011-01-08 08:36:17 +03:00
|
|
|
tristate "SoC Audio for the Tegra System-on-Chip"
|
2013-07-15 20:09:40 +04:00
|
|
|
depends on (ARCH_TEGRA && TEGRA20_APB_DMA) || COMPILE_TEST
|
2013-11-07 02:18:22 +04:00
|
|
|
depends on COMMON_CLK
|
|
|
|
depends on RESET_CONTROLLER
|
2012-04-13 21:23:36 +04:00
|
|
|
select REGMAP_MMIO
|
2013-07-17 13:18:33 +04:00
|
|
|
select SND_SOC_GENERIC_DMAENGINE_PCM
|
2011-01-08 08:36:17 +03:00
|
|
|
help
|
|
|
|
Say Y or M here if you want support for SoC audio on Tegra.
|
|
|
|
|
2021-01-29 15:59:15 +03:00
|
|
|
if SND_SOC_TEGRA
|
|
|
|
|
2013-01-05 05:18:43 +04:00
|
|
|
config SND_SOC_TEGRA20_AC97
|
2017-08-17 22:05:52 +03:00
|
|
|
tristate "Tegra20 AC97 interface"
|
2013-01-05 05:18:43 +04:00
|
|
|
select SND_SOC_AC97_BUS
|
|
|
|
select SND_SOC_TEGRA20_DAS
|
|
|
|
help
|
|
|
|
Say Y or M if you want to add support for codecs attached to the
|
|
|
|
Tegra20 AC97 interface. You will also need to select the individual
|
|
|
|
machine drivers to support below.
|
|
|
|
|
2012-04-06 20:30:52 +04:00
|
|
|
config SND_SOC_TEGRA20_DAS
|
2017-08-17 22:05:52 +03:00
|
|
|
tristate "Tegra20 DAS module"
|
2012-03-31 03:07:22 +04:00
|
|
|
help
|
2012-04-06 20:30:52 +04:00
|
|
|
Say Y or M if you want to add support for the Tegra20 DAS module.
|
2012-03-31 03:07:22 +04:00
|
|
|
You will also need to select the individual machine drivers to
|
|
|
|
support below.
|
|
|
|
|
2012-04-06 20:30:52 +04:00
|
|
|
config SND_SOC_TEGRA20_I2S
|
2017-08-17 22:05:52 +03:00
|
|
|
tristate "Tegra20 I2S interface"
|
2012-04-06 20:30:52 +04:00
|
|
|
select SND_SOC_TEGRA20_DAS
|
2011-01-08 08:36:17 +03:00
|
|
|
help
|
|
|
|
Say Y or M if you want to add support for codecs attached to the
|
2012-04-06 20:30:52 +04:00
|
|
|
Tegra20 I2S interface. You will also need to select the individual
|
2011-01-08 08:36:17 +03:00
|
|
|
machine drivers to support below.
|
|
|
|
|
2012-04-06 20:30:52 +04:00
|
|
|
config SND_SOC_TEGRA20_SPDIF
|
2017-08-17 22:05:52 +03:00
|
|
|
tristate "Tegra20 SPDIF interface"
|
2011-07-05 20:55:27 +04:00
|
|
|
help
|
2012-04-06 20:30:52 +04:00
|
|
|
Say Y or M if you want to add support for the Tegra20 SPDIF interface.
|
2011-07-05 20:55:27 +04:00
|
|
|
You will also need to select the individual machine drivers to support
|
|
|
|
below.
|
|
|
|
|
2012-04-11 02:32:01 +04:00
|
|
|
config SND_SOC_TEGRA30_AHUB
|
2017-08-17 22:05:52 +03:00
|
|
|
tristate "Tegra30 AHUB module"
|
2012-04-11 02:32:01 +04:00
|
|
|
help
|
2017-08-17 22:05:52 +03:00
|
|
|
Say Y or M if you want to add support for the Tegra30 AHUB module.
|
2012-04-11 02:32:01 +04:00
|
|
|
You will also need to select the individual machine drivers to
|
|
|
|
support below.
|
|
|
|
|
|
|
|
config SND_SOC_TEGRA30_I2S
|
2017-08-17 22:05:52 +03:00
|
|
|
tristate "Tegra30 I2S interface"
|
2012-04-11 02:32:01 +04:00
|
|
|
select SND_SOC_TEGRA30_AHUB
|
|
|
|
help
|
|
|
|
Say Y or M if you want to add support for codecs attached to the
|
|
|
|
Tegra30 I2S interface. You will also need to select the individual
|
|
|
|
machine drivers to support below.
|
|
|
|
|
2020-07-19 08:01:24 +03:00
|
|
|
config SND_SOC_TEGRA210_AHUB
|
|
|
|
tristate "Tegra210 AHUB module"
|
|
|
|
help
|
|
|
|
Config to enable Audio Hub (AHUB) module, which comprises of a
|
|
|
|
switch called Audio Crossbar (AXBAR) used to configure or modify
|
|
|
|
the audio routing path between various HW accelerators present in
|
|
|
|
AHUB.
|
|
|
|
Say Y or M if you want to add support for Tegra210 AHUB module.
|
|
|
|
|
2020-07-19 08:01:22 +03:00
|
|
|
config SND_SOC_TEGRA210_DMIC
|
|
|
|
tristate "Tegra210 DMIC module"
|
|
|
|
help
|
|
|
|
Config to enable the Digital MIC (DMIC) controller which is used
|
|
|
|
to interface with Pulse Density Modulation (PDM) input devices.
|
|
|
|
The DMIC controller implements a converter to convert PDM signals
|
|
|
|
to Pulse Code Modulation (PCM) signals. This can be viewed as a
|
|
|
|
PDM receiver.
|
|
|
|
Say Y or M if you want to add support for Tegra210 DMIC module.
|
|
|
|
|
2020-07-19 08:01:23 +03:00
|
|
|
config SND_SOC_TEGRA210_I2S
|
|
|
|
tristate "Tegra210 I2S module"
|
|
|
|
help
|
|
|
|
Config to enable the Inter-IC Sound (I2S) Controller which
|
|
|
|
implements full-duplex and bidirectional and single direction
|
|
|
|
point-to-point serial interfaces. It can interface with I2S
|
|
|
|
compatible devices.
|
|
|
|
Say Y or M if you want to add support for Tegra210 I2S module.
|
|
|
|
|
2020-07-19 08:01:25 +03:00
|
|
|
config SND_SOC_TEGRA186_DSPK
|
|
|
|
tristate "Tegra186 DSPK module"
|
|
|
|
help
|
|
|
|
Config to enable the Digital Speaker Controller (DSPK) which
|
|
|
|
converts the multi-bit Pulse Code Modulation (PCM) audio input to
|
|
|
|
oversampled 1-bit Pulse Density Modulation (PDM) output. From the
|
|
|
|
signal flow perspective DSPK can be viewed as a PDM transmitter
|
|
|
|
that up-samples the input to the desired sampling rate by
|
|
|
|
interpolation and then converts the oversampled PCM input to
|
|
|
|
the desired 1-bit output via Delta Sigma Modulation (DSM).
|
|
|
|
Say Y or M if you want to add support for Tegra186 DSPK module.
|
|
|
|
|
2020-07-19 08:01:26 +03:00
|
|
|
config SND_SOC_TEGRA210_ADMAIF
|
|
|
|
tristate "Tegra210 ADMAIF module"
|
|
|
|
help
|
|
|
|
Config to enable ADMAIF which is the interface between ADMA and
|
|
|
|
Audio Hub (AHUB). Each ADMA channel that sends/receives data to/
|
|
|
|
from AHUB must interface through an ADMAIF channel. ADMA channel
|
|
|
|
sending data to AHUB pairs with an ADMAIF Tx channel, where as
|
|
|
|
ADMA channel receiving data from AHUB pairs with an ADMAIF Rx
|
|
|
|
channel. Buffer size is configurable for each ADMAIIF channel.
|
|
|
|
Say Y or M if you want to add support for Tegra210 ADMAIF module.
|
|
|
|
|
2021-01-19 12:28:13 +03:00
|
|
|
config SND_SOC_TEGRA_AUDIO_GRAPH_CARD
|
|
|
|
tristate "Audio Graph Card based Tegra driver"
|
|
|
|
depends on SND_AUDIO_GRAPH_CARD
|
|
|
|
help
|
|
|
|
Config to enable Tegra audio machine driver based on generic
|
|
|
|
audio graph driver. It is a thin driver written to customize
|
|
|
|
few things for Tegra audio. Most of the code is re-used from
|
|
|
|
audio graph driver and the same DT bindings are used.
|
|
|
|
|
2021-05-29 18:46:47 +03:00
|
|
|
config SND_SOC_TEGRA_MACHINE_DRV
|
|
|
|
tristate
|
|
|
|
|
2013-06-12 21:35:34 +04:00
|
|
|
config SND_SOC_TEGRA_RT5640
|
|
|
|
tristate "SoC Audio support for Tegra boards using an RT5640 codec"
|
2021-01-29 15:59:15 +03:00
|
|
|
depends on I2C && GPIOLIB
|
2021-05-29 18:46:47 +03:00
|
|
|
select SND_SOC_TEGRA_MACHINE_DRV
|
2013-06-12 21:35:34 +04:00
|
|
|
select SND_SOC_RT5640
|
|
|
|
help
|
|
|
|
Say Y or M here if you want to add support for SoC audio on Tegra
|
|
|
|
boards using the RT5640 codec, such as Dalmore.
|
|
|
|
|
2012-05-18 02:59:51 +04:00
|
|
|
config SND_SOC_TEGRA_WM8753
|
|
|
|
tristate "SoC Audio support for Tegra boards using a WM8753 codec"
|
2021-01-29 15:59:15 +03:00
|
|
|
depends on I2C && GPIOLIB
|
2021-05-29 18:46:47 +03:00
|
|
|
select SND_SOC_TEGRA_MACHINE_DRV
|
2012-05-18 02:59:51 +04:00
|
|
|
select SND_SOC_WM8753
|
|
|
|
help
|
|
|
|
Say Y or M here if you want to add support for SoC audio on Tegra
|
|
|
|
boards using the WM8753 codec, such as Whistler.
|
|
|
|
|
2011-04-12 21:40:37 +04:00
|
|
|
config SND_SOC_TEGRA_WM8903
|
2011-04-12 21:40:36 +04:00
|
|
|
tristate "SoC Audio support for Tegra boards using a WM8903 codec"
|
2021-01-29 15:59:15 +03:00
|
|
|
depends on I2C && GPIOLIB
|
2021-05-29 18:46:47 +03:00
|
|
|
select SND_SOC_TEGRA_MACHINE_DRV
|
2011-01-08 08:36:17 +03:00
|
|
|
select SND_SOC_WM8903
|
|
|
|
help
|
2011-04-12 21:40:36 +04:00
|
|
|
Say Y or M here if you want to add support for SoC audio on Tegra
|
2011-04-12 21:40:39 +04:00
|
|
|
boards using the WM8093 codec. Currently, the supported boards are
|
|
|
|
Harmony, Ventana, Seaboard, Kaen, and Aebl.
|
2011-01-08 08:36:17 +03:00
|
|
|
|
2013-01-16 16:05:12 +04:00
|
|
|
config SND_SOC_TEGRA_WM9712
|
|
|
|
tristate "SoC Audio support for Tegra boards using a WM9712 codec"
|
2021-01-29 15:59:15 +03:00
|
|
|
depends on GPIOLIB
|
2021-05-29 18:46:47 +03:00
|
|
|
select SND_SOC_TEGRA_MACHINE_DRV
|
2013-01-16 16:05:12 +04:00
|
|
|
select SND_SOC_TEGRA20_AC97
|
|
|
|
select SND_SOC_WM9712
|
|
|
|
help
|
|
|
|
Say Y or M here if you want to add support for SoC audio on Tegra
|
|
|
|
boards using the WM9712 (or compatible) codec.
|
|
|
|
|
2011-04-26 12:52:42 +04:00
|
|
|
config SND_SOC_TEGRA_TRIMSLICE
|
|
|
|
tristate "SoC Audio support for TrimSlice board"
|
2021-01-29 15:59:15 +03:00
|
|
|
depends on I2C
|
2021-05-29 18:46:47 +03:00
|
|
|
select SND_SOC_TEGRA_MACHINE_DRV
|
2014-03-06 14:04:42 +04:00
|
|
|
select SND_SOC_TLV320AIC23_I2C
|
2011-04-26 12:52:42 +04:00
|
|
|
help
|
|
|
|
Say Y or M here if you want to add support for SoC audio on the
|
|
|
|
TrimSlice platform.
|
2011-12-19 23:51:52 +04:00
|
|
|
|
|
|
|
config SND_SOC_TEGRA_ALC5632
|
2012-03-31 03:07:20 +04:00
|
|
|
tristate "SoC Audio support for Tegra boards using an ALC5632 codec"
|
2021-01-29 15:59:15 +03:00
|
|
|
depends on I2C && GPIOLIB
|
2021-05-29 18:46:47 +03:00
|
|
|
select SND_SOC_TEGRA_MACHINE_DRV
|
2012-03-31 03:07:20 +04:00
|
|
|
select SND_SOC_ALC5632
|
|
|
|
help
|
|
|
|
Say Y or M here if you want to add support for SoC audio on the
|
|
|
|
Toshiba AC100 netbook.
|
2013-12-05 02:19:27 +04:00
|
|
|
|
|
|
|
config SND_SOC_TEGRA_MAX98090
|
|
|
|
tristate "SoC Audio support for Tegra boards using a MAX98090 codec"
|
2021-01-29 15:59:15 +03:00
|
|
|
depends on I2C && GPIOLIB
|
2021-05-29 18:46:47 +03:00
|
|
|
select SND_SOC_TEGRA_MACHINE_DRV
|
2013-12-05 02:19:27 +04:00
|
|
|
select SND_SOC_MAX98090
|
|
|
|
help
|
|
|
|
Say Y or M here if you want to add support for SoC audio on Tegra
|
|
|
|
boards using the MAX98090 codec, such as Venice2.
|
2014-12-30 22:12:35 +03:00
|
|
|
|
|
|
|
config SND_SOC_TEGRA_RT5677
|
|
|
|
tristate "SoC Audio support for Tegra boards using a RT5677 codec"
|
2021-01-29 15:59:15 +03:00
|
|
|
depends on I2C && GPIOLIB
|
2021-05-29 18:46:47 +03:00
|
|
|
select SND_SOC_TEGRA_MACHINE_DRV
|
2014-12-30 22:12:35 +03:00
|
|
|
select SND_SOC_RT5677
|
|
|
|
help
|
|
|
|
Say Y or M here if you want to add support for SoC audio on Tegra
|
|
|
|
boards using the RT5677 codec, such as Ryu.
|
2016-06-19 04:00:00 +03:00
|
|
|
|
|
|
|
config SND_SOC_TEGRA_SGTL5000
|
|
|
|
tristate "SoC Audio support for Tegra boards using a SGTL5000 codec"
|
2021-01-29 15:59:15 +03:00
|
|
|
depends on I2C && GPIOLIB
|
2021-05-29 18:46:47 +03:00
|
|
|
select SND_SOC_TEGRA_MACHINE_DRV
|
2016-06-19 04:00:00 +03:00
|
|
|
select SND_SOC_SGTL5000
|
|
|
|
help
|
|
|
|
Say Y or M here if you want to add support for SoC audio on Tegra
|
|
|
|
boards using the SGTL5000 codec, such as Apalis T30, Apalis TK1 or
|
|
|
|
Colibri T30.
|
2021-01-29 15:59:15 +03:00
|
|
|
|
|
|
|
endif
|