All of lore.kernel.org
 help / color / mirror / Atom feed
From: "A. Porodko" <panda@chelcom.ru>
To: Liam Girdwood <lrg@slimlogic.co.uk>,
	Mark Brown <broonie@opensource.wolfsonmicro.com>,
	Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.de>,
	Chaithrika U S <chaithrika@ti.com>,
	Troy Kisky <troy.kisky@boundarydevices.com>,
	David Brownell <dbrownell@users.sourceforge.net>,
	Kevin Hilman <khilman@deeprootsystems.com>,
	alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org
Subject: Sound support for Neuros OSD2 Davinci based board.
Date: Thu, 26 Nov 2009 18:06:38 +0500	[thread overview]
Message-ID: <4B0E7D5E.3080906@chelcom.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 204 bytes --]

Hello,

Here is a patch for Neuros OSD2 Davinci (DM6446) based board sound support.
Patch made against 2.6.32-rc6 kernel.
------------------------------------------

-- 
Best regards
Andrey A. Porodko
 


[-- Attachment #2: 0005-Davinci-sound-soc-driver-patch-for-Neuros-OSD2-board.patch --]
[-- Type: text/x-patch, Size: 1222 bytes --]

>From 72b5b0efa71d0ca0bbe3a0c3ab577ee365385a28 Mon Sep 17 00:00:00 2001
From: Andrey Porodko <panda@chelcom.ru>
Date: Mon, 23 Nov 2009 13:56:53 +0500
Subject: [PATCH] Davinci sound soc driver patch for Neuros OSD2 board support.

Signed-off-by: Andrey Porodko <panda@chelcom.ru>
---
 sound/soc/davinci/davinci-evm.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/sound/soc/davinci/davinci-evm.c b/sound/soc/davinci/davinci-evm.c
index 67414f6..ffdd30e 100644
--- a/sound/soc/davinci/davinci-evm.c
+++ b/sound/soc/davinci/davinci-evm.c
@@ -55,6 +55,9 @@ static int evm_hw_params(struct snd_pcm_substream *substream,
 	else if (machine_is_davinci_evm())
 		sysclk = 12288000;
 
+	else if (machine_is_neuros_osd2())
+		sysclk = 27000000;
+
 	else if (machine_is_davinci_da830_evm() ||
 				machine_is_davinci_da850_evm())
 		sysclk = 24576000;
@@ -246,6 +249,9 @@ static int __init evm_init(void)
 	if (machine_is_davinci_evm()) {
 		evm_snd_dev_data = &evm_snd_devdata;
 		index = 0;
+	} else if (machine_is_neuros_osd2()) {
+		evm_snd_dev_data = &evm_snd_devdata;
+		index = 0;
 	} else if (machine_is_davinci_dm355_evm()) {
 		evm_snd_dev_data = &evm_snd_devdata;
 		index = 1;
-- 
1.5.6.5


             reply	other threads:[~2009-11-26 13:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-26 13:06 A. Porodko [this message]
2009-11-26 13:27 ` Sound support for Neuros OSD2 Davinci based board Chaithrika U S
2009-11-26 13:27   ` Chaithrika U S
2009-11-27 11:12   ` Mark Brown
2009-11-27 11:12     ` [alsa-devel] " Mark Brown
2009-11-27 13:14     ` A. Porodko
2009-11-27 13:28       ` Mark Brown
2009-11-27 13:28         ` [alsa-devel] " Mark Brown
2009-11-27 16:47 ` Mark Brown
2009-11-27 16:47   ` Mark Brown
2009-11-28 15:07   ` Andrey A. Porodko
2009-11-30  6:47   ` Andrey A. Porodko
2009-11-30  6:52     ` Andrey A. Porodko
  -- strict thread matches above, loose matches on Subject: below --
2009-11-26 13:06 A. Porodko

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=4B0E7D5E.3080906@chelcom.ru \
    --to=panda@chelcom.ru \
    --cc=alsa-devel@alsa-project.org \
    --cc=broonie@opensource.wolfsonmicro.com \
    --cc=chaithrika@ti.com \
    --cc=dbrownell@users.sourceforge.net \
    --cc=khilman@deeprootsystems.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lrg@slimlogic.co.uk \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.de \
    --cc=troy.kisky@boundarydevices.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.