xref: /linux/sound/soc/tegra/Kconfig (revision df79f55df3992fdd5dd206de6aa9af6a8ec1f86f)
12ba9471bSStephen Warrenconfig SND_SOC_TEGRA
28b75d714SStephen Warren	tristate "SoC Audio for the Tegra System-on-Chip"
3*df79f55dSLaxman Dewangan	depends on ARCH_TEGRA && (TEGRA_SYSTEM_DMA || TEGRA20_APB_DMA)
4d19e779bSStephen Warren	select REGMAP_MMIO
5*df79f55dSLaxman Dewangan	select SND_SOC_DMAENGINE_PCM if TEGRA20_APB_DMA
68b75d714SStephen Warren	help
78b75d714SStephen Warren	  Say Y or M here if you want support for SoC audio on Tegra.
88b75d714SStephen Warren
9896637acSStephen Warrenconfig SND_SOC_TEGRA20_DAS
10063dd9d4SStephen Warren	tristate
11a7fda2baSStephen Warren	depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC
12d9bba496SStephen Warren	help
13896637acSStephen Warren	  Say Y or M if you want to add support for the Tegra20 DAS module.
14d9bba496SStephen Warren	  You will also need to select the individual machine drivers to
15d9bba496SStephen Warren	  support below.
16d9bba496SStephen Warren
17896637acSStephen Warrenconfig SND_SOC_TEGRA20_I2S
188b75d714SStephen Warren	tristate
19a7fda2baSStephen Warren	depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC
20896637acSStephen Warren	select SND_SOC_TEGRA20_DAS
218b75d714SStephen Warren	help
228b75d714SStephen Warren	  Say Y or M if you want to add support for codecs attached to the
23896637acSStephen Warren	  Tegra20 I2S interface. You will also need to select the individual
248b75d714SStephen Warren	  machine drivers to support below.
258b75d714SStephen Warren
26896637acSStephen Warrenconfig SND_SOC_TEGRA20_SPDIF
27774fec33SStephen Warren	tristate
28a7fda2baSStephen Warren	depends on SND_SOC_TEGRA && ARCH_TEGRA_2x_SOC
29774fec33SStephen Warren	default m
30774fec33SStephen Warren	help
31896637acSStephen Warren	  Say Y or M if you want to add support for the Tegra20 SPDIF interface.
32774fec33SStephen Warren	  You will also need to select the individual machine drivers to support
33774fec33SStephen Warren	  below.
34774fec33SStephen Warren
35cdc04fd1SStephen Warrenconfig SND_SOC_TEGRA30_AHUB
36cdc04fd1SStephen Warren	tristate
37cdc04fd1SStephen Warren	depends on SND_SOC_TEGRA && ARCH_TEGRA_3x_SOC
38cdc04fd1SStephen Warren	help
39cdc04fd1SStephen Warren	  Say Y or M if you want to add support for the Tegra20 AHUB module.
40cdc04fd1SStephen Warren	  You will also need to select the individual machine drivers to
41cdc04fd1SStephen Warren	  support below.
42cdc04fd1SStephen Warren
43cdc04fd1SStephen Warrenconfig SND_SOC_TEGRA30_I2S
44cdc04fd1SStephen Warren	tristate
45cdc04fd1SStephen Warren	depends on SND_SOC_TEGRA && ARCH_TEGRA_3x_SOC
46cdc04fd1SStephen Warren	select SND_SOC_TEGRA30_AHUB
47cdc04fd1SStephen Warren	help
48cdc04fd1SStephen Warren	  Say Y or M if you want to add support for codecs attached to the
49cdc04fd1SStephen Warren	  Tegra30 I2S interface. You will also need to select the individual
50cdc04fd1SStephen Warren	  machine drivers to support below.
51cdc04fd1SStephen Warren
52d8259ca5SStephen Warrenconfig SND_SOC_TEGRA_WM8753
53d8259ca5SStephen Warren	tristate "SoC Audio support for Tegra boards using a WM8753 codec"
54d8259ca5SStephen Warren	depends on SND_SOC_TEGRA && I2C
55d8259ca5SStephen Warren	select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
56d8259ca5SStephen Warren	select SND_SOC_TEGRA30_I2S if ARCH_TEGRA_3x_SOC
57d8259ca5SStephen Warren	select SND_SOC_WM8753
58d8259ca5SStephen Warren	help
59d8259ca5SStephen Warren	  Say Y or M here if you want to add support for SoC audio on Tegra
60d8259ca5SStephen Warren	  boards using the WM8753 codec, such as Whistler.
61d8259ca5SStephen Warren
6247912a65SStephen Warrenconfig MACH_HAS_SND_SOC_TEGRA_WM8903
6347912a65SStephen Warren	bool
6447912a65SStephen Warren	help
6547912a65SStephen Warren	  Machines that use the SND_SOC_TEGRA_WM8903 driver should select
6647912a65SStephen Warren	  this config option, in order to allow the user to enable
6747912a65SStephen Warren	  SND_SOC_TEGRA_WM8903.
6847912a65SStephen Warren
692ba9471bSStephen Warrenconfig SND_SOC_TEGRA_WM8903
70dc0a50afSStephen Warren	tristate "SoC Audio support for Tegra boards using a WM8903 codec"
71773b1d3dSStephen Warren	depends on SND_SOC_TEGRA && I2C
72a9e3de6fSMark Brown	depends on MACH_HAS_SND_SOC_TEGRA_WM8903
73896637acSStephen Warren	select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
74cdc04fd1SStephen Warren	select SND_SOC_TEGRA30_I2S if ARCH_TEGRA_3x_SOC
758b75d714SStephen Warren	select SND_SOC_WM8903
768b75d714SStephen Warren	help
77dc0a50afSStephen Warren	  Say Y or M here if you want to add support for SoC audio on Tegra
78773b1d3dSStephen Warren	  boards using the WM8093 codec. Currently, the supported boards are
79773b1d3dSStephen Warren	  Harmony, Ventana, Seaboard, Kaen, and Aebl.
808b75d714SStephen Warren
811307394aSMike Rapoportconfig SND_SOC_TEGRA_TRIMSLICE
821307394aSMike Rapoport	tristate "SoC Audio support for TrimSlice board"
831307394aSMike Rapoport	depends on SND_SOC_TEGRA && MACH_TRIMSLICE && I2C
84896637acSStephen Warren	select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
851307394aSMike Rapoport	select SND_SOC_TLV320AIC23
861307394aSMike Rapoport	help
871307394aSMike Rapoport	  Say Y or M here if you want to add support for SoC audio on the
881307394aSMike Rapoport	  TrimSlice platform.
8958783fafSLeon Romanovsky
9058783fafSLeon Romanovskyconfig SND_SOC_TEGRA_ALC5632
9158783fafSLeon Romanovsky	tristate "SoC Audio support for Tegra boards using an ALC5632 codec"
9258783fafSLeon Romanovsky	depends on SND_SOC_TEGRA && I2C
93896637acSStephen Warren	select SND_SOC_TEGRA20_I2S if ARCH_TEGRA_2x_SOC
9458783fafSLeon Romanovsky	select SND_SOC_ALC5632
9558783fafSLeon Romanovsky	help
9658783fafSLeon Romanovsky	  Say Y or M here if you want to add support for SoC audio on the
9758783fafSLeon Romanovsky	  Toshiba AC100 netbook.
98