| * ALSA SoC McASP Audio Layer for TI DAVINCI processor |
| * MCASP related definitions |
| * Author: Nirmal Pandey <n-pandey@ti.com>, |
| * Suresh Rajashekara <suresh.r@ti.com> |
| * Steve Chen <schen@.mvista.com> |
| * Copyright: (C) 2009 MontaVista Software, Inc., <source@mvista.com> |
| * Copyright: (C) 2009 Texas Instruments, India |
| * 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. |
| extern struct snd_soc_dai davinci_mcasp_dai[]; |
| #define DAVINCI_MCASP_RATES SNDRV_PCM_RATE_8000_96000 |
| #define DAVINCI_MCASP_I2S_DAI 0 |
| #define DAVINCI_MCASP_DIT_DAI 1 |
| DAVINCI_AUDIO_WORD_8 = 0, |
| DAVINCI_AUDIO_WORD_28, /* This is only valid for McASP */ |
| struct davinci_audio_dev { |
| struct davinci_pcm_dma_params dma_params[2]; |
| /* McASP specific data */ |
| #endif /* DAVINCI_MCASP_H */ |