Skip to contentSkip to conversation

ARM: DaVinci: ASoC: Adds ALSA PCM interface for the TI DM646X processor

PATCH In review Naresh Medisetty 1 participant 1 message Mar 16, 2009

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

PATCH 4/9 ARM: DaVinci: ASoC: Adds ALSA PCM interface for the TI DM646X processor

Adds ALSA PCM interface for the TI DM646X processor

---
This patch applies on the ASoC tree available at http://opensource.wolfsonmicro.com/cgi-bin/gitweb.cgi?p=linux-2.6-asoc.git;a=commit;h=168776ef58d38503f8ac4f8a7eb1039137208032.

 sound/soc/davinci/davinci-pcm.h |   22 ++++++++++++++++++----
 1 files changed, 18 insertions(+), 4 deletions(-)
sound/soc/davinci/davinci-pcm.h +18 -4
index 62cb4eb..c7d8711 100644
@@ -12,16 +12,30 @@
 #ifndef _DAVINCI_PCM_H
 #define _DAVINCI_PCM_H
 
+#include <mach/edma.h>
+
 struct davinci_pcm_dma_params {
-	char *name;		/* stream identifier */
-	int channel;		/* sync dma channel ID */
-	dma_addr_t dma_addr;	/* device physical address for DMA */
-	unsigned int data_type;	/* xfer data type */
+	char *name;			/* stream identifier */
+	int channel;			/* sync dma channel ID */
+	dma_addr_t dma_addr;		/* device physical address for DMA */
+	unsigned int data_type;		/* xfer data type */
+	enum dma_event_q eventq_no;	/* event queue number */
 };
 
 struct evm_snd_platform_data {
+	char *clk_name;
 	int tx_dma_ch;
 	int rx_dma_ch;
+	u32 tx_dma_offset;
+	u32 rx_dma_offset;
+	enum dma_event_q eventq_no;	/* event queue number */
+	unsigned int codec_fmt;
+
+	/* McASP specific fields */
+	int tdm_slots;
+	u8 op_mode;
+	u8 num_serializer;
+	u8 *serial_dir;
 };
 
 extern struct snd_soc_platform davinci_soc_platform;
Signature · 1 line
1.5.6