* Re: Patch for Neuros OSD2 board sound support
[not found] ` <1259235615.3639.7.camel@odin>
@ 2009-11-26 11:43 ` A. Porodko
0 siblings, 0 replies; only message in thread
From: A. Porodko @ 2009-11-26 11:43 UTC (permalink / raw)
To: Liam Girdwood, alsa-devel
[-- Attachment #1: Type: text/plain, Size: 509 bytes --]
Sure.
Here it is.
Liam Girdwood wrote:
> Hi Andrey,
>
> Could you resend and also CC the alsa-devel mailing list.
>
> Thanks
>
> Liam
>
> On Thu, 2009-11-26 at 16:30 +0500, A. Porodko wrote:
>
>> Hello,
>>
>> I would like to propose a patch for Neuros OSD2 (davinci SOC DM6446)
>> based board.
>> Would you be so kind to consider it, please? Corresponded patch for
>> board code I've already submitted to davinci group.
>> Thank you in advance.
>>
>>
>
>
>
--
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
[-- Attachment #3: Type: text/plain, Size: 160 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply related [flat|nested] only message in thread