summaryrefslogtreecommitdiffstats
path: root/include/linux/platform_data/asoc-ux500-msp.h
blob: 9991aea3d577d7dff57481f823b25f521af34903 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
 * Copyright (C) ST-Ericsson SA 2010
 *
 * Author: Rabin Vincent <rabin.vincent@stericsson.com> for ST-Ericsson
 * License terms: GNU General Public License (GPL), version 2.
 */

#ifndef __MSP_H
#define __MSP_H

#include <linux/platform_data/dma-ste-dma40.h>

enum msp_i2s_id {
	MSP_I2S_0 = 0,
	MSP_I2S_1,
	MSP_I2S_2,
	MSP_I2S_3,
};

/* Platform data structure for a MSP I2S-device */
struct msp_i2s_platform_data {
	enum msp_i2s_id id;
	struct stedma40_chan_cfg *msp_i2s_dma_rx;
	struct stedma40_chan_cfg *msp_i2s_dma_tx;
};

#endif