Skip to contentSkip to conversation

McBSP: Sidetone functionality

PATCH In review [email protected] 1 participant 2 messages Jan 13, 2009

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 McBSP: Sidetone functionality

From: Eero Nurkkala <[email protected]>

This provides full support for the sidetone functionality in 3430 OMAPs. Please note that TDM mode audio should be used to take full advantage of the sidetone functionalities.

This patch is built on top of commits:

Stanley.Miao:
[PATCH] OMAP: Fix McBSP spin_lock deadlock.

Eero Nurkkala:
McBSP: Provide functions for ASoC frame syncronization

---
 arch/arm/mach-omap2/mcbsp.c             |    4 +
 arch/arm/plat-omap/include/mach/mcbsp.h |   66 +++++++-
 arch/arm/plat-omap/mcbsp.c              |  307 +++++++++++++++++++++++++++++++
 3 files changed, 375 insertions(+), 2 deletions(-)
arch/arm/mach-omap2/mcbsp.c +4 -0
index cae3ebe..6ddb01f 100644
@@ -239,19 +239,23 @@ static struct omap_mcbsp_platform_data omap34xx_mcbsp_pdata[] = {
 	},
 	{
 		.phys_base	= OMAP34XX_MCBSP2_BASE,
+		.phys_base_st	= OMAP34XX_MCBSP2_ST_BASE,
 		.dma_rx_sync	= OMAP24XX_DMA_MCBSP2_RX,
 		.dma_tx_sync	= OMAP24XX_DMA_MCBSP2_TX,
 		.rx_irq		= INT_24XX_MCBSP2_IRQ_RX,
 		.tx_irq		= INT_24XX_MCBSP2_IRQ_TX,
+		.st_irq		= INT_34XX_ST_MCBSP2_IRQ,
 		.ops		= &omap2_mcbsp_ops,
 		.clk_name	= "mcbsp_clk",
 	},
 	{
 		.phys_base	= OMAP34XX_MCBSP3_BASE,
+		.phys_base_st	= OMAP34XX_MCBSP3_ST_BASE,
 		.dma_rx_sync	= OMAP24XX_DMA_MCBSP3_RX,
 		.dma_tx_sync	= OMAP24XX_DMA_MCBSP3_TX,
 		.rx_irq		= INT_24XX_MCBSP3_IRQ_RX,
 		.tx_irq		= INT_24XX_MCBSP3_IRQ_TX,
+		.st_irq		= INT_34XX_ST_MCBSP3_IRQ,
 		.ops		= &omap2_mcbsp_ops,
 		.clk_name	= "mcbsp_clk",
 	},
arch/arm/plat-omap/include/mach/mcbsp.h +64 -2

117 lines not on this page · raw message

arch/arm/plat-omap/mcbsp.c +307 -0

343 lines not on this page · raw message

Signature · 1 line
1.5.2
#1 lore raw
Quoted 4 lines · On Tue, 2009-01-13 at 14:41 +0200, [email protected] wrote:

This patch is built on top of commits:

Stanley.Miao:
[PATCH] OMAP: Fix McBSP spin_lock deadlock.

I'm sorry, this patch was not applied. I can repost the stuff when this is taken.