2 * ALSA SoC McASP Audio Layer for TI DAVINCI processor
4 * MCASP related definitions
6 * Author: Nirmal Pandey <n-pandey@ti.com>,
7 * Suresh Rajashekara <suresh.r@ti.com>
8 * Steve Chen <schen@.mvista.com>
10 * Copyright: (C) 2009 MontaVista Software, Inc., <source@mvista.com>
11 * Copyright: (C) 2009 Texas Instruments, India
13 * This program is free software; you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License version 2 as
15 * published by the Free Software Foundation.
18 #ifndef DAVINCI_MCASP_H
19 #define DAVINCI_MCASP_H
22 #include <linux/platform_data/davinci_asp.h>
24 #include "davinci-pcm.h"
26 #define DAVINCI_MCASP_RATES SNDRV_PCM_RATE_8000_192000
27 #define DAVINCI_MCASP_I2S_DAI 0
28 #define DAVINCI_MCASP_DIT_DAI 1
30 struct davinci_audio_dev
{
31 struct davinci_pcm_dma_params dma_params
[2];
35 /* McASP specific data */
43 /* McASP FIFO related */
48 #endif /* DAVINCI_MCASP_H */