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 11 #include <linux/platform_data/dma-ste-dma40.h> 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; 25 }; 26 27 #endif 28