mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2025-01-02 03:44:36 +08:00
c0af14d321
Create devices for the MSP-blocks (MSP0, MSP1, MSP2 and MSP3) and associate it with the correct clocks in the clock-framework. Signed-off-by: Ola Lilja <ola.o.lilja@stericsson.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
30 lines
577 B
C
30 lines
577 B
C
/*
|
|
* 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 <plat/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;
|
|
int (*msp_i2s_init) (void);
|
|
int (*msp_i2s_exit) (void);
|
|
};
|
|
|
|
#endif
|