diff options
| author | Zhangfei Gao <zhangfei.gao@marvell.com> | 2012-06-11 06:04:38 -0400 |
|---|---|---|
| committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-06-13 08:13:37 -0400 |
| commit | 7a824e214e25a49442fe868dac0af8a904b24f58 (patch) | |
| tree | d7b1b3f102f709595c1e5fa11039adaf99ac3123 /include/linux/platform_data | |
| parent | 8994a5e1d2443511e677d62e97d7de3718b71325 (diff) | |
ASoC: mmp: add audio dma support
mmp-pcm handle audio dma based on soc-dmaengine
Support mmp and pxa910
Signed-off-by: Zhangfei Gao <zhangfei.gao@marvell.com>
Signed-off-by: Leo Yan <leoy@marvell.com>
Signed-off-by: Qiao Zhou <zhouqiao@marvell.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/mmp_audio.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/include/linux/platform_data/mmp_audio.h b/include/linux/platform_data/mmp_audio.h new file mode 100644 index 000000000000..0f25d165abd6 --- /dev/null +++ b/include/linux/platform_data/mmp_audio.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | /* | ||
| 2 | * MMP Platform AUDIO Management | ||
| 3 | * | ||
| 4 | * Copyright (c) 2011 Marvell Semiconductors Inc. | ||
| 5 | * | ||
| 6 | * This program is free software; you can redistribute it and/or modify | ||
| 7 | * it under the terms of the GNU General Public License version 2 as | ||
| 8 | * published by the Free Software Foundation. | ||
| 9 | * | ||
| 10 | */ | ||
| 11 | |||
| 12 | #ifndef MMP_AUDIO_H | ||
| 13 | #define MMP_AUDIO_H | ||
| 14 | |||
| 15 | struct mmp_audio_platdata { | ||
| 16 | u32 period_max_capture; | ||
| 17 | u32 buffer_max_capture; | ||
| 18 | u32 period_max_playback; | ||
| 19 | u32 buffer_max_playback; | ||
| 20 | }; | ||
| 21 | |||
| 22 | #endif /* MMP_AUDIO_H */ | ||
