15 #include <mach/devices.h>
16 #include <mach/hardware.h>
17 #include <mach/irqs.h>
26 .high_priority =
true,
39 .high_priority =
true,
53 .msp_i2s_dma_rx = &msp0_dma_rx,
54 .msp_i2s_dma_tx = &msp0_dma_tx,
58 .high_priority =
true,
71 .high_priority =
true,
85 .msp_i2s_dma_rx =
NULL,
86 .msp_i2s_dma_tx = &msp1_dma_tx,
90 .high_priority =
true,
104 .high_priority =
true,
113 .use_fixed_channel =
true,
130 pr_info(
"Register platform-device 'ux500-msp-i2s', id %d, irq %d\n",
132 pdev = platform_device_register_resndata(parent,
"ux500-msp-i2s",
id,
134 pdata,
sizeof(*pdata));
136 pr_err(
"Failed to register platform-device 'ux500-msp-i2s.%d'!\n",
146 .name =
"snd-soc-mop500",
149 .platform_data =
NULL,
158 .platform_data =
NULL,
164 .msp_i2s_dma_rx = &msp2_dma_rx,
165 .msp_i2s_dma_tx = &msp2_dma_tx,
170 .msp_i2s_dma_rx = &msp1_dma_rx,
171 .msp_i2s_dma_tx =
NULL,
176 pr_info(
"%s: Register platform-device 'snd-soc-mop500'.\n", __func__);
179 pr_info(
"Initialize MSP I2S-devices.\n");
181 &msp0_platform_data);
183 &msp1_platform_data);
185 &msp2_platform_data);
187 &msp3_platform_data);
193 pr_info(
"%s: Register platform-device 'ux500-pcm'\n", __func__);