License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-block.git] / include / linux / platform_data / asoc-imx-ssi.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
d9e557e5
SH
2#ifndef __MACH_SSI_H
3#define __MACH_SSI_H
4
5struct snd_ac97;
6
7extern unsigned char imx_ssi_fiq_start, imx_ssi_fiq_end;
8extern unsigned long imx_ssi_fiq_base, imx_ssi_fiq_tx_buffer, imx_ssi_fiq_rx_buffer;
9
10struct imx_ssi_platform_data {
11 unsigned int flags;
12#define IMX_SSI_DMA (1 << 0)
13#define IMX_SSI_USE_AC97 (1 << 1)
0e796120
EB
14#define IMX_SSI_NET (1 << 2)
15#define IMX_SSI_SYN (1 << 3)
16#define IMX_SSI_USE_I2S_SLAVE (1 << 4)
d9e557e5
SH
17 void (*ac97_reset) (struct snd_ac97 *ac97);
18 void (*ac97_warm_reset)(struct snd_ac97 *ac97);
19};
20
1e66210a
SG
21extern int mxc_set_irq_fiq(unsigned int irq, unsigned int type);
22
d9e557e5
SH
23#endif /* __MACH_SSI_H */
24