mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
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>
This commit is contained in:
parent
8994a5e1d2
commit
7a824e214e
4 changed files with 330 additions and 0 deletions
22
include/linux/platform_data/mmp_audio.h
Normal file
22
include/linux/platform_data/mmp_audio.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
/*
|
||||
* MMP Platform AUDIO Management
|
||||
*
|
||||
* Copyright (c) 2011 Marvell Semiconductors 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 MMP_AUDIO_H
|
||||
#define MMP_AUDIO_H
|
||||
|
||||
struct mmp_audio_platdata {
|
||||
u32 period_max_capture;
|
||||
u32 buffer_max_capture;
|
||||
u32 period_max_playback;
|
||||
u32 buffer_max_playback;
|
||||
};
|
||||
|
||||
#endif /* MMP_AUDIO_H */
|
Loading…
Add table
Add a link
Reference in a new issue