alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [RESEND][PATCHv2 3/4] Add ASoC support for Devkit8000
@ 2010-02-11 15:13 Thomas Weber
  2010-02-11 15:20 ` Liam Girdwood
  2010-02-11 18:26 ` Mark Brown
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Weber @ 2010-02-11 15:13 UTC (permalink / raw)
  Cc: Thomas Weber, jhnikula, lrg, broonie, perex, tiwai, jkrzyszt,
	anuj.aggarwal, x0052729, peter.ujfalusi, tony, jy0922.shim,
	linux-omap, alsa-devel, linux-kernel

This patch expands the omap3beagle sound soc for the
beagle board clone DevKit8000.

Signed-off-by: Thomas Weber <weber@corscience.de>
---
 sound/soc/omap/Kconfig       |    8 +++++---
 sound/soc/omap/omap3beagle.c |    6 +++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/sound/soc/omap/Kconfig b/sound/soc/omap/Kconfig
index 61952aa..18ebdc7 100644
--- a/sound/soc/omap/Kconfig
+++ b/sound/soc/omap/Kconfig
@@ -94,12 +94,14 @@ config SND_OMAP_SOC_OMAP3_PANDORA
 	  Say Y if you want to add support for SoC audio on the OMAP3 Pandora.
 
 config SND_OMAP_SOC_OMAP3_BEAGLE
-	tristate "SoC Audio support for OMAP3 Beagle"
-	depends on TWL4030_CORE && SND_OMAP_SOC && MACH_OMAP3_BEAGLE
+	tristate "SoC Audio support for OMAP3 Beagle and Devkit8000"
+	depends on TWL4030_CORE && SND_OMAP_SOC
+	depends on (MACH_OMAP3_BEAGLE || MACH_DEVKIT8000)
 	select SND_OMAP_SOC_MCBSP
 	select SND_SOC_TWL4030
 	help
-	  Say Y if you want to add support for SoC audio on the Beagleboard.
+	  Say Y if you want to add support for SoC audio on the Beagleboard or
+	  the clone Devkit8000.
 
 config SND_OMAP_SOC_ZOOM2
 	tristate "SoC Audio support for Zoom2"
diff --git a/sound/soc/omap/omap3beagle.c b/sound/soc/omap/omap3beagle.c
index d88ad5c..240e097 100644
--- a/sound/soc/omap/omap3beagle.c
+++ b/sound/soc/omap/omap3beagle.c
@@ -117,11 +117,11 @@ static int __init omap3beagle_soc_init(void)
 {
 	int ret;
 
-	if (!machine_is_omap3_beagle()) {
-		pr_debug("Not OMAP3 Beagle!\n");
+	if (!(machine_is_omap3_beagle() || machine_is_devkit8000())) {
+		pr_debug("Not OMAP3 Beagle or Devkit8000!\n");
 		return -ENODEV;
 	}
-	pr_info("OMAP3 Beagle SoC init\n");
+	pr_info("OMAP3 Beagle/Devkit8000 SoC init\n");
 
 	omap3beagle_snd_device = platform_device_alloc("soc-audio", -1);
 	if (!omap3beagle_snd_device) {
-- 
1.6.6.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [RESEND][PATCHv2 3/4] Add ASoC support for Devkit8000
  2010-02-11 15:13 [RESEND][PATCHv2 3/4] Add ASoC support for Devkit8000 Thomas Weber
@ 2010-02-11 15:20 ` Liam Girdwood
  2010-02-11 16:56   ` Jarkko Nikula
  2010-02-11 18:26 ` Mark Brown
  1 sibling, 1 reply; 4+ messages in thread
From: Liam Girdwood @ 2010-02-11 15:20 UTC (permalink / raw)
  To: Thomas Weber
  Cc: alsa-devel, jy0922.shim, jkrzyszt, tiwai, broonie, peter.ujfalusi,
	linux-kernel, tony, x0052729, anuj.aggarwal, linux-omap

On Thu, 2010-02-11 at 16:13 +0100, Thomas Weber wrote:
> This patch expands the omap3beagle sound soc for the
> beagle board clone DevKit8000.
> 
> Signed-off-by: Thomas Weber <weber@corscience.de>

Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>

-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RESEND][PATCHv2 3/4] Add ASoC support for Devkit8000
  2010-02-11 15:20 ` Liam Girdwood
@ 2010-02-11 16:56   ` Jarkko Nikula
  0 siblings, 0 replies; 4+ messages in thread
From: Jarkko Nikula @ 2010-02-11 16:56 UTC (permalink / raw)
  To: Liam Girdwood
  Cc: alsa-devel, jy0922.shim, jkrzyszt, tiwai, Thomas Weber, broonie,
	peter.ujfalusi, linux-kernel, tony, x0052729, anuj.aggarwal,
	linux-omap

On Thu, 11 Feb 2010 15:20:28 +0000
Liam Girdwood <lrg@slimlogic.co.uk> wrote:

> On Thu, 2010-02-11 at 16:13 +0100, Thomas Weber wrote:
> > This patch expands the omap3beagle sound soc for the
> > beagle board clone DevKit8000.
> > 
> > Signed-off-by: Thomas Weber <weber@corscience.de>
> 
> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
> 
Acked-by: Jarkko Nikula <jhnikula@gmail.com>

Note, this is safe to push even if this goes to mainline before the
basic board file and arch/arm/mach-omap2/Kconfig change from linux-omap.
The machine type and so machine_is_devkit8000() are already there.


-- 
Jarkko

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [RESEND][PATCHv2 3/4] Add ASoC support for Devkit8000
  2010-02-11 15:13 [RESEND][PATCHv2 3/4] Add ASoC support for Devkit8000 Thomas Weber
  2010-02-11 15:20 ` Liam Girdwood
@ 2010-02-11 18:26 ` Mark Brown
  1 sibling, 0 replies; 4+ messages in thread
From: Mark Brown @ 2010-02-11 18:26 UTC (permalink / raw)
  To: Thomas Weber
  Cc: alsa-devel, jy0922.shim, jkrzyszt, tiwai, peter.ujfalusi,
	linux-kernel, tony, x0052729, anuj.aggarwal, linux-omap, lrg

On Thu, Feb 11, 2010 at 04:13:59PM +0100, Thomas Weber wrote:
> This patch expands the omap3beagle sound soc for the
> beagle board clone DevKit8000.
> 
> Signed-off-by: Thomas Weber <weber@corscience.de>

Applied, thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-11 18:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-11 15:13 [RESEND][PATCHv2 3/4] Add ASoC support for Devkit8000 Thomas Weber
2010-02-11 15:20 ` Liam Girdwood
2010-02-11 16:56   ` Jarkko Nikula
2010-02-11 18:26 ` Mark Brown

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).