alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Warren <swarren@nvidia.com>
To: alsa-devel@alsa-project.org
Cc: Stephen Warren <swarren@nvidia.com>
Subject: [PATCH 7/7] ASoC: tegra: Kconfig and Makefile
Date: Fri,  7 Jan 2011 22:36:17 -0700	[thread overview]
Message-ID: <1294464977-25814-8-git-send-email-swarren@nvidia.com> (raw)
In-Reply-To: <1294464977-25814-1-git-send-email-swarren@nvidia.com>

Signed-off-by: Stephen Warren <swarren@nvidia.com>
---
 sound/soc/Kconfig        |    1 +
 sound/soc/Makefile       |    1 +
 sound/soc/tegra/Kconfig  |   27 +++++++++++++++++++++++++++
 sound/soc/tegra/Makefile |   14 ++++++++++++++
 4 files changed, 43 insertions(+), 0 deletions(-)
 create mode 100644 sound/soc/tegra/Kconfig
 create mode 100644 sound/soc/tegra/Makefile

diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig
index a3efc52..2cdbdad 100644
--- a/sound/soc/Kconfig
+++ b/sound/soc/Kconfig
@@ -54,6 +54,7 @@ source "sound/soc/pxa/Kconfig"
 source "sound/soc/samsung/Kconfig"
 source "sound/soc/s6000/Kconfig"
 source "sound/soc/sh/Kconfig"
+source "sound/soc/tegra/Kconfig"
 source "sound/soc/txx9/Kconfig"
 
 # Supported codecs
diff --git a/sound/soc/Makefile b/sound/soc/Makefile
index ce913bf..3141c4d 100644
--- a/sound/soc/Makefile
+++ b/sound/soc/Makefile
@@ -17,4 +17,5 @@ obj-$(CONFIG_SND_SOC)	+= pxa/
 obj-$(CONFIG_SND_SOC)	+= samsung/
 obj-$(CONFIG_SND_SOC)	+= s6000/
 obj-$(CONFIG_SND_SOC)	+= sh/
+obj-$(CONFIG_SND_SOC)	+= tegra/
 obj-$(CONFIG_SND_SOC)	+= txx9/
diff --git a/sound/soc/tegra/Kconfig b/sound/soc/tegra/Kconfig
new file mode 100644
index 0000000..5514f1c
--- /dev/null
+++ b/sound/soc/tegra/Kconfig
@@ -0,0 +1,27 @@
+config SND_TEGRA_SOC
+	tristate "SoC Audio for the Tegra System-on-Chip"
+	depends on ARCH_TEGRA && TEGRA_SYSTEM_DMA
+	default m
+	help
+	  Say Y or M here if you want support for SoC audio on Tegra.
+
+config SND_TEGRA_SOC_I2S
+	tristate
+	depends on SND_TEGRA_SOC
+	depends on !TEGRA_I2S_AUDIO
+	default m
+	help
+	  Say Y or M if you want to add support for codecs attached to the
+	  Tegra I2S interface. You will also need to select the individual
+	  machine drivers to support below.
+
+config SND_TEGRA_SOC_HARMONY
+	tristate "SoC Audio support for Tegra Harmony reference board"
+	depends on SND_TEGRA_SOC && MACH_HARMONY && I2C
+	default m
+	select SND_TEGRA_SOC_I2S
+	select SND_SOC_WM8903
+	help
+	  Say Y or M here if you want to add support for SoC audio on the
+	  Tegra Harmony reference board.
+
diff --git a/sound/soc/tegra/Makefile b/sound/soc/tegra/Makefile
new file mode 100644
index 0000000..dfd2ab9
--- /dev/null
+++ b/sound/soc/tegra/Makefile
@@ -0,0 +1,14 @@
+# Tegra platform Support
+snd-soc-tegra-das-objs := tegra_das.o
+snd-soc-tegra-pcm-objs := tegra_pcm.o
+snd-soc-tegra-i2s-objs := tegra_i2s.o
+
+obj-$(CONFIG_SND_TEGRA_SOC) += snd-soc-tegra-das.o
+obj-$(CONFIG_SND_TEGRA_SOC) += snd-soc-tegra-pcm.o
+obj-$(CONFIG_SND_TEGRA_SOC_I2S) += snd-soc-tegra-i2s.o
+
+# Tegra machine Support
+snd-soc-tegra-harmony-objs := harmony.o
+snd-soc-tegra-harmony-objs += tegra_asoc_utils.o
+
+obj-$(CONFIG_SND_TEGRA_SOC_HARMONY) += snd-soc-tegra-harmony.o
-- 
1.7.0.4

  parent reply	other threads:[~2011-01-08  5:36 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1294450353-25076-1-git-send-email-swarren@wwwdotorg.org>
2011-01-08  5:36 ` [PATCH 0/7] Tegra ALSA/ASoC driver Stephen Warren
2011-01-08  5:36   ` [PATCH 1/7] ASoC: Export debugfs root dentry Stephen Warren
2011-01-10 11:57     ` Mark Brown
2011-01-08  5:36   ` [PATCH 2/7] ASoC: tegra: Add tegra-das driver Stephen Warren
2011-01-08  5:36   ` [PATCH 3/7] ASoC: tegra: Add tegra-pcm driver Stephen Warren
2011-01-11  7:59     ` Peter Ujfalusi
2011-01-11 16:34       ` Stephen Warren
2011-01-08  5:36   ` [PATCH 4/7] ASoC: tegra: Add tegra-i2s driver Stephen Warren
2011-01-08  5:36   ` [PATCH 5/7] ASoC: tegra: Machine utility code Stephen Warren
2011-01-08  5:36   ` [PATCH 6/7] ASoC: tegra: Harmony machine support Stephen Warren
2011-01-08  5:36   ` Stephen Warren [this message]
2011-01-09 13:59   ` [PATCH 0/7] Tegra ALSA/ASoC driver Mark Brown
2011-01-10 18:35   ` Mark Brown
2011-01-10 21:47     ` Liam Girdwood
2011-01-10 22:27       ` Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1294464977-25814-8-git-send-email-swarren@nvidia.com \
    --to=swarren@nvidia.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).