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 | |
Ola Lilja | c0af14d | 2012-04-20 11:32:59 +0200 | [diff] [blame] | 13 | /* Platform data structure for a MSP I2S-device */ |
| 14 | struct msp_i2s_platform_data { |
Lee Jones | 0475680 | 2013-12-19 15:54:58 +0000 | [diff] [blame] | 15 | int id; |
Ola Lilja | c0af14d | 2012-04-20 11:32:59 +0200 | [diff] [blame] | 16 | struct stedma40_chan_cfg *msp_i2s_dma_rx; |
| 17 | struct stedma40_chan_cfg *msp_i2s_dma_tx; |
Ola Lilja | c0af14d | 2012-04-20 11:32:59 +0200 | [diff] [blame] | 18 | }; |
| 19 | |
| 20 | #endif |