Ola Lilja | c0af14d | 2012-04-20 11:32:59 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) ST-Ericsson SA 2010 |
| 3 | * |
| 4 | * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson |
| 5 | * License terms: GNU General Public License (GPL), version 2. |
| 6 | */ |
| 7 | |
| 8 | #ifndef __MSP_H |
| 9 | #define __MSP_H |
| 10 | |
Linus Walleij | 865fab6 | 2012-10-18 14:20:16 +0200 | [diff] [blame] | 11 | #include <linux/platform_data/dma-ste-dma40.h> |
Ola Lilja | c0af14d | 2012-04-20 11:32:59 +0200 | [diff] [blame] | 12 | |
| 13 | enum msp_i2s_id { |
| 14 | MSP_I2S_0 = 0, |
| 15 | MSP_I2S_1, |
| 16 | MSP_I2S_2, |
| 17 | MSP_I2S_3, |
| 18 | }; |
| 19 | |
| 20 | /* Platform data structure for a MSP I2S-device */ |
| 21 | struct msp_i2s_platform_data { |
| 22 | enum msp_i2s_id id; |
| 23 | struct stedma40_chan_cfg *msp_i2s_dma_rx; |
| 24 | struct stedma40_chan_cfg *msp_i2s_dma_tx; |
Ola Lilja | c0af14d | 2012-04-20 11:32:59 +0200 | [diff] [blame] | 25 | }; |
| 26 | |
| 27 | #endif |