summaryrefslogtreecommitdiffstats
path: root/sound/soc/jz4740/jz4740-pcm.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-06-19 16:50:37 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-06-23 00:08:06 +0100
commit11bd3dd1b7c299815dbedef0982220f239425ae8 (patch)
tree967e3441cb36ebd56426fb7cf2d1c91724d7a13a /sound/soc/jz4740/jz4740-pcm.h
parentb45416656f55d880ab5a976be11bca720eff16c4 (diff)
ASoC: Add JZ4740 ASoC support
This patch adds ASoC support for JZ4740 SoCs I2S module. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/jz4740/jz4740-pcm.h')
-rw-r--r--sound/soc/jz4740/jz4740-pcm.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/sound/soc/jz4740/jz4740-pcm.h b/sound/soc/jz4740/jz4740-pcm.h
new file mode 100644
index 00000000000..e3f221e2779
--- /dev/null
+++ b/sound/soc/jz4740/jz4740-pcm.h
@@ -0,0 +1,22 @@
+/*
+ *
+ * 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 _JZ4740_PCM_H
+#define _JZ4740_PCM_H
+
+#include <linux/dma-mapping.h>
+#include <asm/mach-jz4740/dma.h>
+
+/* platform data */
+extern struct snd_soc_platform jz4740_soc_platform;
+
+struct jz4740_pcm_config {
+ struct jz4740_dma_config dma_config;
+ phys_addr_t fifo_addr;
+};
+
+#endif