summaryrefslogtreecommitdiff
path: root/sound/soc/blackfin/bf5xx-i2s-pcm.h
diff options
context:
space:
mode:
authorCliff Cai <cliff.cai@analog.com>2008-09-05 18:21:38 +0800
committerJaroslav Kysela <perex@perex.cz>2008-09-09 09:11:20 +0200
commit88740da15c3ff9d22dddfb5bc4b9fb7161cf3373 (patch)
tree73ec2af67204d9ac2b4f2ccb61752c10ee00d75d /sound/soc/blackfin/bf5xx-i2s-pcm.h
parentf2028623f2b14bdd3daeb0873a16cab0dc4050c4 (diff)
sound: ASoC: Blackfin: DMA Driver for I2S sound chip
Signed-off-by: Cliff Cai <cliff.cai@analog.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/soc/blackfin/bf5xx-i2s-pcm.h')
-rw-r--r--sound/soc/blackfin/bf5xx-i2s-pcm.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/sound/soc/blackfin/bf5xx-i2s-pcm.h b/sound/soc/blackfin/bf5xx-i2s-pcm.h
new file mode 100644
index 000000000000..4d4609a97c59
--- /dev/null
+++ b/sound/soc/blackfin/bf5xx-i2s-pcm.h
@@ -0,0 +1,29 @@
+/*
+ * linux/sound/arm/bf5xx-i2s-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_I2S_PCM_H
+#define _BF5XX_I2S_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_i2s_soc_platform;
+
+#endif