aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/jz4740/jz4740-pcm.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-06-19 10:50:37 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2010-06-22 19:08:06 -0400
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 000000000000..e3f221e2779c
--- /dev/null
+++ b/sound/soc/jz4740/jz4740-pcm.h
@@ -0,0 +1,22 @@
1/*
2 *
3 * This program is free software; you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License version 2 as
5 * published by the Free Software Foundation.
6 */
7
8#ifndef _JZ4740_PCM_H
9#define _JZ4740_PCM_H
10
11#include <linux/dma-mapping.h>
12#include <asm/mach-jz4740/dma.h>
13
14/* platform data */
15extern struct snd_soc_platform jz4740_soc_platform;
16
17struct jz4740_pcm_config {
18 struct jz4740_dma_config dma_config;
19 phys_addr_t fifo_addr;
20};
21
22#endif