diff options
author | Stephen Warren <swarren@nvidia.com> | 2011-01-08 00:36:17 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-01-10 17:21:09 -0500 |
commit | 8b75d714a6ae6445841006ae2074dae095608c36 (patch) | |
tree | f2d2d6522daff0468f74ddf1588b21eb0c77bd67 /sound | |
parent | a8bf1ba1c803d63311a2fb3c38c172df6a606faa (diff) |
ASoC: tegra: Kconfig and Makefile
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/Kconfig | 1 | ||||
-rw-r--r-- | sound/soc/Makefile | 1 | ||||
-rw-r--r-- | sound/soc/tegra/Kconfig | 27 | ||||
-rw-r--r-- | sound/soc/tegra/Makefile | 14 |
4 files changed, 43 insertions, 0 deletions
diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig index 821ab0b759bb..8224db5f0434 100644 --- a/sound/soc/Kconfig +++ b/sound/soc/Kconfig | |||
@@ -55,6 +55,7 @@ source "sound/soc/pxa/Kconfig" | |||
55 | source "sound/soc/samsung/Kconfig" | 55 | source "sound/soc/samsung/Kconfig" |
56 | source "sound/soc/s6000/Kconfig" | 56 | source "sound/soc/s6000/Kconfig" |
57 | source "sound/soc/sh/Kconfig" | 57 | source "sound/soc/sh/Kconfig" |
58 | source "sound/soc/tegra/Kconfig" | ||
58 | source "sound/soc/txx9/Kconfig" | 59 | source "sound/soc/txx9/Kconfig" |
59 | 60 | ||
60 | # Supported codecs | 61 | # Supported codecs |
diff --git a/sound/soc/Makefile b/sound/soc/Makefile index df83d2143afb..1ed61c5df2c5 100644 --- a/sound/soc/Makefile +++ b/sound/soc/Makefile | |||
@@ -18,4 +18,5 @@ obj-$(CONFIG_SND_SOC) += pxa/ | |||
18 | obj-$(CONFIG_SND_SOC) += samsung/ | 18 | obj-$(CONFIG_SND_SOC) += samsung/ |
19 | obj-$(CONFIG_SND_SOC) += s6000/ | 19 | obj-$(CONFIG_SND_SOC) += s6000/ |
20 | obj-$(CONFIG_SND_SOC) += sh/ | 20 | obj-$(CONFIG_SND_SOC) += sh/ |
21 | obj-$(CONFIG_SND_SOC) += tegra/ | ||
21 | obj-$(CONFIG_SND_SOC) += txx9/ | 22 | obj-$(CONFIG_SND_SOC) += txx9/ |
diff --git a/sound/soc/tegra/Kconfig b/sound/soc/tegra/Kconfig new file mode 100644 index 000000000000..5514f1c7ca25 --- /dev/null +++ b/sound/soc/tegra/Kconfig | |||
@@ -0,0 +1,27 @@ | |||
1 | config SND_TEGRA_SOC | ||
2 | tristate "SoC Audio for the Tegra System-on-Chip" | ||
3 | depends on ARCH_TEGRA && TEGRA_SYSTEM_DMA | ||
4 | default m | ||
5 | help | ||
6 | Say Y or M here if you want support for SoC audio on Tegra. | ||
7 | |||
8 | config SND_TEGRA_SOC_I2S | ||
9 | tristate | ||
10 | depends on SND_TEGRA_SOC | ||
11 | depends on !TEGRA_I2S_AUDIO | ||
12 | default m | ||
13 | help | ||
14 | Say Y or M if you want to add support for codecs attached to the | ||
15 | Tegra I2S interface. You will also need to select the individual | ||
16 | machine drivers to support below. | ||
17 | |||
18 | config SND_TEGRA_SOC_HARMONY | ||
19 | tristate "SoC Audio support for Tegra Harmony reference board" | ||
20 | depends on SND_TEGRA_SOC && MACH_HARMONY && I2C | ||
21 | default m | ||
22 | select SND_TEGRA_SOC_I2S | ||
23 | select SND_SOC_WM8903 | ||
24 | help | ||
25 | Say Y or M here if you want to add support for SoC audio on the | ||
26 | Tegra Harmony reference board. | ||
27 | |||
diff --git a/sound/soc/tegra/Makefile b/sound/soc/tegra/Makefile new file mode 100644 index 000000000000..dfd2ab9d975c --- /dev/null +++ b/sound/soc/tegra/Makefile | |||
@@ -0,0 +1,14 @@ | |||
1 | # Tegra platform Support | ||
2 | snd-soc-tegra-das-objs := tegra_das.o | ||
3 | snd-soc-tegra-pcm-objs := tegra_pcm.o | ||
4 | snd-soc-tegra-i2s-objs := tegra_i2s.o | ||
5 | |||
6 | obj-$(CONFIG_SND_TEGRA_SOC) += snd-soc-tegra-das.o | ||
7 | obj-$(CONFIG_SND_TEGRA_SOC) += snd-soc-tegra-pcm.o | ||
8 | obj-$(CONFIG_SND_TEGRA_SOC_I2S) += snd-soc-tegra-i2s.o | ||
9 | |||
10 | # Tegra machine Support | ||
11 | snd-soc-tegra-harmony-objs := harmony.o | ||
12 | snd-soc-tegra-harmony-objs += tegra_asoc_utils.o | ||
13 | |||
14 | obj-$(CONFIG_SND_TEGRA_SOC_HARMONY) += snd-soc-tegra-harmony.o | ||