blob: 3aa918f9ed3eeff4d5c554ce8fe261eb4576aa33 [file] [log] [blame]
Dong Aishenged6e1d02011-07-21 12:36:55 +08001/*
2 * Copyright (C) 2011 Freescale Semiconductor, Inc. All Rights Reserved.
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License along
15 * with this program; if not, write to the Free Software Foundation, Inc.,
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
17 */
18
19#ifndef _MXS_PCM_H
20#define _MXS_PCM_H
21
Lars-Peter Clausenb7e5e912013-03-22 14:12:13 +010022#include <linux/fsl/mxs-dma.h>
23
Dong Aishenged6e1d02011-07-21 12:36:55 +080024struct mxs_pcm_dma_params {
Lars-Peter Clausenb7e5e912013-03-22 14:12:13 +010025 struct mxs_dma_data dma_data;
Dong Aishenged6e1d02011-07-21 12:36:55 +080026 int chan_num;
27};
28
Shawn Guo4da3fe72012-05-11 22:24:16 +080029int mxs_pcm_platform_register(struct device *dev);
30void mxs_pcm_platform_unregister(struct device *dev);
31
Dong Aishenged6e1d02011-07-21 12:36:55 +080032#endif