Hi,
I want to enable mcasp5 in ti814x. I updated the resource structure as follows. But I found that TI81XX_DMA_MCASP5_AXEVT and TI81XX_DMA_MCASP5_AREVT is not part of the EDMA Default Synchronization Events and found as part of the the multiplexed events (26 & 27).
How can I set the TX event .start and .end in the resource struct for multiplexed events ?
static struct resource ti81xx_mcasp5_resource[] = {
{
.name = "mcasp5",
.start = TI81XX_ASP5_BASE,
.end = TI81XX_ASP5_BASE + (SZ_1K * 12) - 1,
.flags = IORESOURCE_MEM,
},
/* TX event */
{
.start = TI81XX_DMA_MCASP5_AXEVT,
.end = TI81XX_DMA_MCASP5_AXEVT,
.flags = IORESOURCE_DMA,
},
/* RX event */
{
.start = TI81XX_DMA_MCASP5_AREVT,
.end = TI81XX_DMA_MCASP5_AREVT,
.flags = IORESOURCE_DMA,
},
};
static struct platform_device ti81xx_mcasp5_device = {
.name = "davinci-mcasp",
.id = 5,
.num_resources = ARRAY_SIZE(ti81xx_mcasp5_resource),
.resource = ti81xx_mcasp5_resource,
};
Regards,
Ishaqe