summaryrefslogtreecommitdiffstats
path: root/sound/soc/blackfin/bf5xx-ac97-pcm.h
diff options
context:
space:
mode:
authorCliff Cai <cliff.cai@analog.com>2008-09-05 18:21:36 +0800
committerJaroslav Kysela <perex@perex.cz>2008-09-09 09:11:18 +0200
commitaff0510c00523bfd9fab20923a493ce8a6f27cda (patch)
tree599ff195c5f0a56fad18d01e7d356ea0c2d8fe39 /sound/soc/blackfin/bf5xx-ac97-pcm.h
parent8c9c198347e39b5bcf52399989885991a5cdbaff (diff)
downloadlinux-aff0510c00523bfd9fab20923a493ce8a6f27cda.tar.bz2
sound: ASoC: Blackfin: DMA Driver for AC97 sound chip
[Additional coding standards fixes by Mark Brown.] Signed-off-by: Bryan Wu <cooloney@kernel.org> Signed-off-by: Cliff Cai <cliff.cai@analog.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/soc/blackfin/bf5xx-ac97-pcm.h')
-rw-r--r--sound/soc/blackfin/bf5xx-ac97-pcm.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/sound/soc/blackfin/bf5xx-ac97-pcm.h b/sound/soc/blackfin/bf5xx-ac97-pcm.h
new file mode 100644
index 000000000000..350125a0ae21
--- /dev/null
+++ b/sound/soc/blackfin/bf5xx-ac97-pcm.h
@@ -0,0 +1,29 @@
+/*
+ * linux/sound/arm/bf5xx-ac97-pcm.h -- ALSA PCM interface for the Blackfin
+ *
+ * Copyright 2007 Analog Device Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#ifndef _BF5XX_AC97_PCM_H
+#define _BF5XX_AC97_PCM_H
+
+struct bf5xx_pcm_dma_params {
+ char *name; /* stream identifier */
+};
+
+struct bf5xx_gpio {
+ u32 sys;
+ u32 rx;
+ u32 tx;
+ u32 clk;
+ u32 frm;
+};
+
+/* platform data */
+extern struct snd_soc_platform bf5xx_ac97_soc_platform;
+
+#endif