Skip to contentSkip to conversation

davinci: ASoC support for Omapl138-Hawkboard

PATCH In review [email protected] 4 participants 5 messages Nov 3, 2010 – Nov 12, 2010 2 messages not in the archive

Subsystems (2)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): 1288808115-2661-1-git-send-email-vm.rod25-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org

#2 lore raw

PATCH v7 3/9 davinci: ASoC support for Omapl138-Hawkboard

From: Victor Rodriguez <[email protected]>

This patch adds ASoC support for the Hawkboard-L138 system

---
 sound/soc/davinci/Kconfig       |    5 +++--
 sound/soc/davinci/davinci-evm.c |    6 ++++--
 2 files changed, 7 insertions(+), 4 deletions(-)
sound/soc/davinci/Kconfig +3 -2
index 6bbf001..72c6752 100644
@@ -76,8 +76,9 @@ config  SND_DA830_SOC_EVM
 	  DA830/OMAP-L137 EVM
 
 config  SND_DA850_SOC_EVM
-	tristate "SoC Audio support for DA850/OMAP-L138 EVM"
-	depends on SND_DAVINCI_SOC && MACH_DAVINCI_DA850_EVM
+	tristate "SoC Audio support for DA850/OMAP-L138 EVM/Hawkboard"
+	depends on SND_DAVINCI_SOC && (MACH_DAVINCI_DA850_EVM || \
+			MACH_OMAPL138_HAWKBOARD)
 	select SND_DAVINCI_SOC_MCASP
 	select SND_SOC_TLV320AIC3X
 	help
sound/soc/davinci/davinci-evm.c +4 -2
index 97f74d6..73093eb 100644
@@ -59,7 +59,8 @@ static int evm_hw_params(struct snd_pcm_substream *substream,
 		sysclk = 12288000;
 
 	else if (machine_is_davinci_da830_evm() ||
-				machine_is_davinci_da850_evm())
+				machine_is_davinci_da850_evm() ||
+				machine_is_omapl138_hawkboard())
 		sysclk = 24576000;
 
 	else
@@ -311,7 +312,8 @@ static int __init evm_init(void)
 	} else if (machine_is_davinci_da830_evm()) {
 		evm_snd_dev_data = &da830_evm_snd_devdata;
 		index = 1;
-	} else if (machine_is_davinci_da850_evm()) {
+	} else if (machine_is_davinci_da850_evm() ||
+			machine_is_omapl138_hawkboard()) {
 		evm_snd_dev_data = &da850_evm_snd_devdata;
 		index = 0;
 	} else
Signature · 1 line
1.7.0.4
#3 lore raw
Quoted 5 lines · <[email protected]> writes:

From: Victor Rodriguez <[email protected]>

This patch adds ASoC support for the Hawkboard-L138 system

I believe Mark Brown ack'd and earlier version of this patch.

When you repost the series, you should collect any acks, sign-offs, tested-by etc. tags that others have reported.

Mark, I assume you're OK with me merging this ASoC change via the davinci tree?

Kevin

Quoted 45 lines
---
 sound/soc/davinci/Kconfig       |    5 +++--
 sound/soc/davinci/davinci-evm.c |    6 ++++--
 2 files changed, 7 insertions(+), 4 deletions(-)
sound/soc/davinci/Kconfig +3 -2
index 6bbf001..72c6752 100644
@@ -76,8 +76,9 @@ config  SND_DA830_SOC_EVM
 	  DA830/OMAP-L137 EVM
 
 config  SND_DA850_SOC_EVM
-	tristate "SoC Audio support for DA850/OMAP-L138 EVM"
-	depends on SND_DAVINCI_SOC && MACH_DAVINCI_DA850_EVM
+	tristate "SoC Audio support for DA850/OMAP-L138 EVM/Hawkboard"
+	depends on SND_DAVINCI_SOC && (MACH_DAVINCI_DA850_EVM || \
+			MACH_OMAPL138_HAWKBOARD)
 	select SND_DAVINCI_SOC_MCASP
 	select SND_SOC_TLV320AIC3X
 	help
sound/soc/davinci/davinci-evm.c +4 -2
index 97f74d6..73093eb 100644
@@ -59,7 +59,8 @@ static int evm_hw_params(struct snd_pcm_substream *substream,
 		sysclk = 12288000;
 
 	else if (machine_is_davinci_da830_evm() ||
-				machine_is_davinci_da850_evm())
+				machine_is_davinci_da850_evm() ||
+				machine_is_omapl138_hawkboard())
 		sysclk = 24576000;
 
 	else
@@ -311,7 +312,8 @@ static int __init evm_init(void)
 	} else if (machine_is_davinci_da830_evm()) {
 		evm_snd_dev_data = &da830_evm_snd_devdata;
 		index = 1;
-	} else if (machine_is_davinci_da850_evm()) {
+	} else if (machine_is_davinci_da850_evm() ||
+			machine_is_omapl138_hawkboard()) {
 		evm_snd_dev_data = &da850_evm_snd_devdata;
 		index = 0;
 	} else
#4 lore raw
Quoted 2 lines · Kevin Hilman

Mark, I assume you're OK with me merging this ASoC change via the davinci tree?

Yes.

#5 lore raw
In reply to Kevin Hilman
Quoted 10 lines · Kevin Hilman
Quoted 5 lines · <[email protected]> writes:

From: Victor Rodriguez <[email protected]>

This patch adds ASoC support for the Hawkboard-L138 system

I believe Mark Brown ack'd and earlier version of this patch.

Quoted 7 lines

When you repost the series, you should collect any acks, sign-offs, tested-by etc. tags that others have reported.

Mark, I assume you're OK with me merging this ASoC change via the davinci tree?

Kevin

Sorry for that Would you like that I resend the patches again with all the acks , sign offs and tested by tags ?

Regards

Victor Rodriguez

Quoted 46 lines
Quoted 45 lines

---
 sound/soc/davinci/Kconfig       |    5 +++--
 sound/soc/davinci/davinci-evm.c |    6 ++++--

 2 files changed, 7 insertions(+), 4 deletions(-)
sound/soc/davinci/Kconfig +0 -0
index 6bbf001..72c6752 100644
@@ -76,8 +76,9 @@ config  SND_DA830_SOC_EVM

        DA830/OMAP-L137 EVM

 config  SND_DA850_SOC_EVM
-     tristate "SoC Audio support for DA850/OMAP-L138 EVM"
-     depends on SND_DAVINCI_SOC && MACH_DAVINCI_DA850_EVM
+     tristate "SoC Audio support for DA850/OMAP-L138 EVM/Hawkboard"
+     depends on SND_DAVINCI_SOC && (MACH_DAVINCI_DA850_EVM || \
+                     MACH_OMAPL138_HAWKBOARD)
      select SND_DAVINCI_SOC_MCASP
      select SND_SOC_TLV320AIC3X
      help

sound/soc/davinci/davinci-evm.c +0 -0
index 97f74d6..73093eb 100644
@@ -59,7 +59,8 @@ static int evm_hw_params(struct snd_pcm_substream *substream,
               sysclk = 12288000;
 

      else if (machine_is_davinci_da830_evm() ||
-                             machine_is_davinci_da850_evm())
+                             machine_is_davinci_da850_evm() ||
+                             machine_is_omapl138_hawkboard()) sysclk = 24576000;

      else

sound/soc/davinci/davinci-evm.c +2 -1
@@ -311,7 +312,8 @@ static int __init evm_init(void)
       } else if (machine_is_davinci_da830_evm()) {
               evm_snd_dev_data = &da830_evm_snd_devdata;
               index = 1;
-     } else if (machine_is_davinci_da850_evm()) {
+     } else if (machine_is_davinci_da850_evm() ||
+                     machine_is_omapl138_hawkboard()) {
               evm_snd_dev_data = &da850_evm_snd_devdata;
               index = 0;
       } else
#6 lore raw
Quoted 15 lines · Victor Rodriguez
Quoted 13 lines · Kevin Hilman
Quoted 5 lines · <[email protected]> writes:

From: Victor Rodriguez <[email protected]>

This patch adds ASoC support for the Hawkboard-L138 system

I believe Mark Brown ack'd and earlier version of this patch.

When you repost the series, you should collect any acks, sign-offs, tested-by etc. tags that others have reported.

Quoted 9 lines
Quoted 4 lines

Mark, I assume you're OK with me merging this ASoC change via the davinci tree?

Kevin

Sorry for that Would you like that I resend the patches again with all the acks , sign offs and tested by tags ?

Yes please.

Thanks,

Kevin