blob: 9991aea3d577d7dff57481f823b25f521af34903 [file] [log] [blame]
Ola Liljac0af14d2012-04-20 11:32:59 +02001/*
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 Walleij865fab62012-10-18 14:20:16 +020011#include <linux/platform_data/dma-ste-dma40.h>
Ola Liljac0af14d2012-04-20 11:32:59 +020012
13enum 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 */
21struct 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 Liljac0af14d2012-04-20 11:32:59 +020025};
26
27#endif